Skip to content

Commit

Permalink
Remove Gemfile.lock, built gem
Browse files Browse the repository at this point in the history
Move dependencies require calls to rubill.rb
  • Loading branch information
Chebotarev committed May 30, 2017
1 parent ca74199 commit 1125c9d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 45 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.env
Gemfile.lock
/rubill-*.gem

test.rb

37 changes: 0 additions & 37 deletions Gemfile.lock

This file was deleted.

5 changes: 5 additions & 0 deletions lib/rubill.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
require "rest-client"
require "json"
require "singleton"
require "tempfile"

module Rubill
attr_writer :configuration

Expand Down
5 changes: 0 additions & 5 deletions lib/rubill/session.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
require "rest-client"
require "json"
require "singleton"
require "tempfile"

module Rubill
class APIError < StandardError; end

Expand Down
Binary file removed rubill-0.2.1.gem
Binary file not shown.
7 changes: 4 additions & 3 deletions rubill.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ Gem::Specification.new do |spec|
spec.homepage = 'http://rubygems.org/gems/rubill'
spec.license = 'MIT'

spec.files = Dir['lib/*.rb']
spec.files = Dir['lib/**/*.rb']

spec.require_paths = ["lib"]

spec.add_runtime_dependency "rest-client", '~> 0'
spec.add_runtime_dependency "json", '~> 0'
spec.add_runtime_dependency "rest-client"
spec.add_runtime_dependency "json"

spec.add_development_dependency "rspec", "~> 3.1"
spec.add_development_dependency "rake", "~> 10.3"
Expand Down

0 comments on commit 1125c9d

Please sign in to comment.