From 1125c9db7513314f62f7864adcd05839b7714fc9 Mon Sep 17 00:00:00 2001 From: Alex Chebotarev Date: Tue, 30 May 2017 13:47:25 -0700 Subject: [PATCH] Remove Gemfile.lock, built gem Move dependencies require calls to rubill.rb --- .gitignore | 2 ++ Gemfile.lock | 37 ------------------------------------- lib/rubill.rb | 5 +++++ lib/rubill/session.rb | 5 ----- rubill-0.2.1.gem | Bin 4608 -> 0 bytes rubill.gemspec | 7 ++++--- 6 files changed, 11 insertions(+), 45 deletions(-) delete mode 100644 Gemfile.lock delete mode 100644 rubill-0.2.1.gem diff --git a/.gitignore b/.gitignore index 0196d6d..d4cc7e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .env +Gemfile.lock +/rubill-*.gem test.rb diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index ecf1232..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,37 +0,0 @@ -PATH - remote: . - specs: - rubill (0.2.1) - json (~> 0) - rest-client (~> 0) - -GEM - remote: https://rubygems.org/ - specs: - diff-lcs (1.2.5) - json (0.4.3) - rake (10.3.1) - rest-client (0.9.2) - rspec (3.1.0) - rspec-core (~> 3.1.0) - rspec-expectations (~> 3.1.0) - rspec-mocks (~> 3.1.0) - rspec-core (3.1.5) - rspec-support (~> 3.1.0) - rspec-expectations (3.1.2) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.1.0) - rspec-mocks (3.1.2) - rspec-support (~> 3.1.0) - rspec-support (3.1.1) - -PLATFORMS - ruby - -DEPENDENCIES - rake (~> 10.3) - rspec (~> 3.1) - rubill! - -BUNDLED WITH - 1.14.6 diff --git a/lib/rubill.rb b/lib/rubill.rb index f2dcd24..aa45d6b 100644 --- a/lib/rubill.rb +++ b/lib/rubill.rb @@ -1,3 +1,8 @@ +require "rest-client" +require "json" +require "singleton" +require "tempfile" + module Rubill attr_writer :configuration diff --git a/lib/rubill/session.rb b/lib/rubill/session.rb index 5a99733..cbb8b4c 100644 --- a/lib/rubill/session.rb +++ b/lib/rubill/session.rb @@ -1,8 +1,3 @@ -require "rest-client" -require "json" -require "singleton" -require "tempfile" - module Rubill class APIError < StandardError; end diff --git a/rubill-0.2.1.gem b/rubill-0.2.1.gem deleted file mode 100644 index 04f686a1944f812ba8fa0bb99c546e960ce52efd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4608 zcmc~zElEsCEJ@T$uVSDTFaQD*6B7my4Fu@4p&?Mt(Adz>*x1Sb}yvWaJmXQfuwT*|4wcz#KfSPAPa z?hY2Yb&uYPU3~0h=FR?GSdTTMe;==O>$PO9nD_01H7v(_4o-ex`>WEj%gtc^q@o>V zO?{gUt!nQpt-Vuri<|XDhHk`!12Vg&`&iu&UudCJAa+RoRL$$8hX23*Db}t%y#MP> z)_Kb>Gk0o7G@HCtyBV)jyrg#3g&fxO>y@*Xey$IE(OAyf7k%;9i`|Q^Tg>Nrdr(i3 z{S|L*?^%tfZoRU5e{E1$Fk`~Q=5tBzo{C==F5k1N+5W+y3m0O8_Py3)KU~1S=dh*F zZ>J3Pg7=Q>Ue=d49SUm`_uhDvCto76tH|if@hj7o7;;60E#A`mJ=c!Yxt90T(qq>q zf7rw*tZAVpnY1VVjsWYtMEPXPzyF%I9Q)~%@qFf#R;K4k9zvEgR-8GIw7CAF(fyp8 zIdek=i^Tm+-agLy7k4`1AF5?`m zDSy;mpb!9;{lF4%0Ly;^P??Wb{u`T{j+X!QNTG=G|4oQ*_iY1#uQ&H66=W8A70&sZ z$J5&Cbi38bf3IHmgtdihqBicD6k~qm=liMqXI02v*kL-z8#_=m|yMK^`T zmj^aX-}?WwR?of!1IF6pb^8wgtkzWa^eeUN@M&RQlIfR~SEMv~{S2x4`Ur-}7ew+E z^4o+O{_Lx0h_2RD{oH+k>($*d!wtFXBhTwzpEZ4U@b}BdxNeu#u1=nRaMjyybAA-I zl_~Dx-_0>0aADy*8^1CSdAsMVfAhnwELhjqzn{i=^~Kpm{i3Vx+N^oYbi?*@%y;JS z@Ata@%8E-Eth*KcnRDmwFF%zPyAOYup|{cGPQjJa*T2PnmD?rVXloK_?8jqdvEv-8 zcuc{;{fGR4N$CH7W`=!L#dQo^*wRySMrv|)acOR`US(o#4sA*SP}2xc`_I6{5WW3p zVg?i%ZU145Fe-~7@_*_C>un+q9IT%skLD!UIDD?1Idi9WL!N=rN1rFJa^qKUuZU({ zfBp5xzqiBxRM^b7|2Oh9U$w3>2FdS7t+hCadLTSVT(cxP=;d+Vkw>NxEaqeW@=6PLw)to=Xsf9GiC z-|_W@+wQ&iTGO tA58Zi+7-j+c|X_a8jBF~x#RMWYS@?-F;Y2TM~xc|fzc2c4S_)(0suvt=_UXG diff --git a/rubill.gemspec b/rubill.gemspec index 7a6394e..2848725 100644 --- a/rubill.gemspec +++ b/rubill.gemspec @@ -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"