Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade release infrastructure to latest version of Jeweler, implemen…
…t Bundler for dependency management, upgrade to rspec 2, create a .rvmrc file so that all contributors can be sure they are using the same environment.
- Loading branch information
Showing
14 changed files
with
128 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,15 @@ | |||
pkg/ | # rcov generated | ||
doc/ | coverage | ||
.idea/* |
|
||
# rdoc generated | |||
rdoc | |||
|
|||
# yard generated | |||
doc | |||
.yardoc | |||
|
|||
# bundler | |||
.bundle | |||
|
|||
# jeweler generated | |||
pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
export RUBYOPT="rubygems" | |||
export RUBYLIB="." | |||
rvm 1.9.2@sendgrid_toolkit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
source "http://rubygems.org" | |||
|
|||
gem "activesupport", ">= 2.3.5" | |||
gem "httparty", ">= 0.7.6" | |||
|
|||
group :development do | |||
gem "bundler", "~> 1.0.0" | |||
gem "fakeweb", "~> 1.3.0" | |||
gem "jeweler", "~> 1.6.4" | |||
gem "rspec", "~> 2.7.0" | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
GEM | |||
remote: http://rubygems.org/ | |||
specs: | |||
activesupport (3.1.1) | |||
multi_json (~> 1.0) | |||
diff-lcs (1.1.3) | |||
fakeweb (1.3.0) | |||
git (1.2.5) | |||
httparty (0.8.1) | |||
multi_json | |||
multi_xml | |||
jeweler (1.6.4) | |||
bundler (~> 1.0) | |||
git (>= 1.2.5) | |||
rake | |||
multi_json (1.0.3) | |||
multi_xml (0.4.1) | |||
rake (0.9.2.2) | |||
rspec (2.7.0) | |||
rspec-core (~> 2.7.0) | |||
rspec-expectations (~> 2.7.0) | |||
rspec-mocks (~> 2.7.0) | |||
rspec-core (2.7.1) | |||
rspec-expectations (2.7.0) | |||
diff-lcs (~> 1.1.2) | |||
rspec-mocks (2.7.0) | |||
|
|||
PLATFORMS | |||
ruby | |||
|
|||
DEPENDENCIES | |||
activesupport (>= 2.3.5) | |||
bundler (~> 1.0.0) | |||
fakeweb (~> 1.3.0) | |||
httparty (>= 0.7.6) | |||
jeweler (~> 1.6.4) | |||
rspec (~> 2.7.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,20 @@ | |||
Copyright (c) 2011 Robby Grossman | |||
|
|||
Permission is hereby granted, free of charge, to any person obtaining | |||
a copy of this software and associated documentation files (the | |||
"Software"), to deal in the Software without restriction, including | |||
without limitation the rights to use, copy, modify, merge, publish, | |||
distribute, sublicense, and/or sell copies of the Software, and to | |||
permit persons to whom the Software is furnished to do so, subject to | |||
the following conditions: | |||
|
|||
The above copyright notice and this permission notice shall be | |||
included in all copies or substantial portions of the Software. | |||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | |||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | |||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | |||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,22 +1,34 @@ | |||
require 'rubygems' | require 'rubygems' | ||
require 'bundler' | |||
begin | |||
Bundler.setup(:default, :development) | |||
rescue Bundler::BundlerError => e | |||
$stderr.puts e.message | |||
$stderr.puts "Run `bundle install` to install missing gems" | |||
exit e.status_code | |||
end | |||
require 'rake' | require 'rake' | ||
|
|
||
begin | require 'jeweler' | ||
require 'jeweler' | Jeweler::Tasks.new do |gem| | ||
Jeweler::Tasks.new do |gemspec| | # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options | ||
gemspec.name = "sendgrid_toolkit" | gem.name = "sendgrid_toolkit" | ||
gemspec.summary = "A Ruby wrapper and utility library for communicating with the Sendgrid API" | gem.homepage = "http://github.com/freerobby/sendgrid_toolkit" | ||
gemspec.description = "A Ruby wrapper and utility library for communicating with the Sendgrid API" | gem.license = "MIT" | ||
gemspec.email = "robby@freerobby.com" | gem.summary = "sendgrid_toolkit = Sendgrid + Ruby" | ||
gemspec.homepage = "http://github.com/freerobby/sendgrid_toolkit" | gem.description = "A Ruby wrapper and utility library for communicating with the Sendgrid API." | ||
gemspec.authors = ["Robby Grossman"] | gem.email = "robby@freerobby.com" | ||
|
gem.authors = ["Robby Grossman"] | ||
gemspec.add_dependency "httparty" | # dependencies defined in Gemfile | ||
# Development dependencies: fakeweb, rake, jeweler, rspec | |||
end | |||
Jeweler::GemcutterTasks.new | |||
rescue LoadError | |||
puts "Jeweler must be installed. Use 'sudo gem install jeweler'." | |||
end | end | ||
Jeweler::RubygemsDotOrgTasks.new | |||
|
|
||
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each {|ext| load ext} | require 'rake/rdoctask' | ||
Rake::RDocTask.new do |rdoc| | |||
version = File.exist?('VERSION') ? File.read('VERSION') : "" | |||
|
|||
rdoc.rdoc_dir = 'rdoc' | |||
rdoc.title = "testing1213 #{version}" | |||
rdoc.rdoc_files.include('README*') | |||
rdoc.rdoc_files.include('lib/**/*.rb') | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters