Project
Reverse Dependencies for rspec
The projects listed here declare rspec as a runtime or development dependency
0.0
addition of two numbers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A view layer helper which takes an object (such as an ActiveRecord instance from your database) and generates an "Add To Google Calendar" URL based on it's attributes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
A Rails gem that simplifies the process of creating and distributing digital wallet passes for Apple Wallet and Google Wallet
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Given a master vault token, issue short-lived, per-application tokens to each app in a docker-compose.yml file, restricting each app the to corresponding security policy.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
# Addy
Allows pretty summations. Instead of writing:
(1..5).inject(0) do |memo, num|
memo + (num**num)
end
You write:
sum(1..5) do |num|
num**num
end
Personally, I would rather write the latter.
## Usage
Install the gem:
gem install addy
Then use it!
require 'addy'
class MyClass
#include it in a class or in Object to get it everywhere
include Addy
def my_awesome_adder(range)
sum(range)
end
end
When you include addy on a class that implements inject, you don't even need to pass a value to it. Instead it calls sum on your class.
require 'addy'
class MyClass < Range
include Addy
def my_awesome_adder
sum
end
end
### Calling It
You can call either sum or summation. They're aliases for the same thing.
Note: The following assumes Addy is included into Range.
When you pass a block to sum it will execute the block on the current number before adding it to the sum.
sum(1..5) {|num| num + 1} #=> 20
(1..5).sum {|num| num + 1} #=> 20
You don't have to pass a block though!
#this
sum(1..5) #=> 15
#and
(1..5).sum #=> 15
#are equivalent to
sum(1..5) {|num| num} #=> 15
#and
(1..5).sum {|num| num} #=> 15
### Input
Ranges and numeric arrays both work well.
sum(1..5) #=> 15
sum([1,2,3,4,5]) #=> 15
## Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
## Copyright
Copyright (c) 2010 Allen Madsen. See LICENSE for details.
PS: Isn't it ridiculous how much documentation I wrote for one function?
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Adequate Json is a gem that simplifies the process of serializing JSON for API responses.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Easily create XML in ADF format to send by email.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Unofficial API Wrapper for adf.ly
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Bootstrap the GitHub Pages Jekyll environment locally.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.0
Interface with AdHawk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
This gem provides an Adhearsion plugin to handle the ActiveRecord and database integration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
An Adhearsion Plugin providing Asterisk-specific dialplan methods, AMI access, and access to Asterisk configuration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
A plugin for adding cpa to Adhearsion
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Adhearsion-cw is an open-source telephony development framework. This is a fork from the original Adhearsion project http://adhearsion.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
This gem is an Adhearsion plugin that handles the Drb related stuff
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
This provides helpers that manage internationalized audio prompts, both file-based and text-based
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Provides convenience methods when using Adhearsion with Rayo for IP Multimedia Subsystem (IMS) integration. Specifically ISC triggers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
This provides a consistent way of implementing Interactive Voice Response prompts, including reprompting and error handling
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
An Adhearsion Plugin providing LDAP configurability
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity
0.0
Descriptive configuration files for Ruby written in Ruby.
Loquacious provides a very open configuration system written in ruby and descriptions for each configuration attribute.
The attributes and descriptions can be iterated over allowing for helpful information about those attributes to be displayed to the user.
In the simple case we have a file something like:
Loquacious.configuration_for('app') {
name 'value', :desc => "Defines the name"
foo 'bar', :desc => "FooBar"
id 42, :desc => "Ara T. Howard"
}
Which can be loaded via the standard Ruby loading mechanisms
load 'config/app.rb'
The attributes and their descriptions can be printed by using a Help object
help = Loquacious.help_for('app')
help.show :values => true # show the values for the attributes, too
Descriptions are optional, and configurations can be nested arbitrarily deep.
Loquacious.configuration_for('nested') {
desc "The outermost level"
a {
desc "One more level in"
b {
desc "Finally, a real value"
c 'value'
}
}
}
config = Loquacious.configuration_for 'nested'
p config.a.b.c #=> "value"
And as you can see, descriptions can either be given inline after the value or they can appear above the attribute and value on their own line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Activity