Skip to content

Commit

Permalink
Version bump; prepare for gem push
Browse files Browse the repository at this point in the history
- Removed Jeweler and cleaned up gemspec
- Moved gem dependencies to gemspec
- Removed references to my previous employer :)
  • Loading branch information
adimichele committed Oct 20, 2016
1 parent 53e654d commit fe20659
Show file tree
Hide file tree
Showing 16 changed files with 1,168 additions and 306 deletions.
5 changes: 0 additions & 5 deletions .document

This file was deleted.

5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ doc
# bundler
.bundle

# jeweler generated
pkg

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
Expand Down
24 changes: 2 additions & 22 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"

gem "activesupport", ">=3.0.0"
gem "httparty", ">=0.10.0"

# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "rspec"
gem "rr"
gem "webmock", '< 1.10'
gem "vcr"
gem "rdoc"
gem "bundler"
gem "jeweler"
gem "simplecov"
gem "awesome_print"
gem "timecop"
gem "guard-rspec", require: false
end
# Add dependencies to hubspot-ruby.gemspec
gemspec
23 changes: 13 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
PATH
remote: .
specs:
hubspot-ruby (0.2.0)
activesupport (>= 3.0.0)
httparty (>= 0.10.0)

GEM
remote: http://rubygems.org/
specs:
Expand All @@ -14,7 +21,6 @@ GEM
diff-lcs (1.2.1)
ffi (1.9.6)
formatador (0.2.5)
git (1.2.5)
guard (2.6.1)
formatador (>= 0.2.4)
listen (~> 2.7)
Expand All @@ -29,11 +35,6 @@ GEM
multi_json (~> 1.0)
multi_xml (>= 0.5.2)
i18n (0.6.4)
jeweler (1.8.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.8.3)
listen (2.7.11)
celluloid (>= 0.15.2)
Expand All @@ -47,7 +48,7 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rake (10.0.3)
rake (10.4.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
Expand Down Expand Up @@ -81,16 +82,18 @@ PLATFORMS
ruby

DEPENDENCIES
activesupport (>= 3.0.0)
awesome_print
bundler
guard-rspec
httparty (>= 0.10.0)
jeweler
hubspot-ruby!
rake
rdoc
rr
rspec
simplecov
timecop
vcr
webmock (< 1.10)

BUNDLED WITH
1.13.2
2 changes: 0 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Copyright (c) 2013 Omada Health, Inc

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
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,3 @@ order to disable VCR.

This project and the code therein was not created by and is not supported by HubSpot, Inc or any of its affiliates.

## Copyright

Copyright (c) 2013 Omada Health Inc. See LICENSE.txt for further details.

9 changes: 4 additions & 5 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Releasing to Rubygems

1. Update version in `lib/hubspot/version.rb`.
2. Regenerate gemspec with `rake gemspec:generate`.
3. Commit & push `version.rb` and `hubspot-ruby.gemspec`.
4. Build the gem with `gem build hubspot-ruby.gemspec`.
5. Push the resulting .gem file to Rubygems with `gem push`
1. Update gemspec.
2. Push updates to github.
3. Build gem with `gem build hubspot-ruby.gemspec`.
4. Push the resulting .gem file to Rubygems with `gem push`
17 changes: 0 additions & 17 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,6 @@ rescue Bundler::BundlerError => e
end
require 'rake'

require 'jeweler'
require './lib/hubspot/version.rb'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "hubspot-ruby"
gem.homepage = "http://github.com/omadahealth/hubspot-ruby"
#gem.license = "MIT"
gem.summary = %Q{hubspot-ruby is a wrapper for the HubSpot REST API}
gem.description = %Q{hubspot-ruby is a wrapper for the HubSpot REST API}
gem.email = "[email protected]"
gem.authors = ["Andrew DiMichele"]
gem.version = Hubspot::Version::STRING

# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'

Expand Down
Loading

0 comments on commit fe20659

Please sign in to comment.