gemrat 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e392b2e769d989ebf74830df850187b141c1e97c
4
- data.tar.gz: ccb2ee02529ed3af8497269c15e457f2cf27fec6
3
+ metadata.gz: 12c519e8843ff83e9c409538d14eb9b90e8c740a
4
+ data.tar.gz: 28e94705f4c27d6a8a450d803c3d97bb3ec675f7
5
5
  SHA512:
6
- metadata.gz: 7dd21fd7ae28284fb912f858acbdf57877994ab6ce80d5c9de9b8129215373760c5dc2d18a92c1b1673a3de7812e8b87ec6584239e82ea4e2ee0a8fcf8a4ba7d
7
- data.tar.gz: 61815ec0d05d2577b5cbcbf1863944287bf7b45540745fe5404998a24015909509a44d2922521d7533593d1708a3aea4f97d4518abbd194597d387d41e5a8301
6
+ metadata.gz: b3436f05fca306f683cc20a301d0fa616bf78f7b1e91a3db7ee9db998eff6d0ad32f34b0795f49b5bac46ae8b082a1fc996f70e36e4fb22e2cf6bf15b6c2d17a
7
+ data.tar.gz: b08811612a2fb94509b5f32e2b12244c07558ae4dbcb659b67da84725fa16a39907a101906b4b6a10c68f0998efed89caa6e99fdf90929f2cddef0546a38bf61
@@ -84,7 +84,7 @@ module Gemrat
84
84
 
85
85
  def add_to_gemfile
86
86
  new_gemfile = File.open(gemfile, 'a')
87
- new_gemfile << "\n#{gem.name}"
87
+ new_gemfile << "\n#{gem.name}\n"
88
88
  new_gemfile.close
89
89
  puts "#{gem.name} added to your Gemfile.".green
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module Gemrat
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -44,7 +44,7 @@ describe Gemrat do
44
44
  output = capture_stdout { subject.run("sinatra", "-g", "TestGemfile") }
45
45
  output.should include("'sinatra', '1.4.3' added to your Gemfile")
46
46
  gemfile_contents = File.open('TestGemfile', 'r').read
47
- gemfile_contents.should include("\ngem 'sinatra', '1.4.3'")
47
+ gemfile_contents.should include("\ngem 'sinatra', '1.4.3'\n")
48
48
  output.should include("Bundling")
49
49
  end
50
50
  end
@@ -58,7 +58,7 @@ describe Gemrat do
58
58
  gemfile_contents = File.open('TestGemfile', 'r').read
59
59
  gemfile_contents.should include("\ngem 'sinatra', '1.4.3'")
60
60
  gemfile_contents.should include("\ngem 'minitest', '5.0.5'")
61
- gemfile_contents.should include("\ngem 'rails', '3.2.13'")
61
+ gemfile_contents.should include("\ngem 'rails', '3.2.13'\n")
62
62
  output.should include("Bundling")
63
63
  end
64
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemrat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dru Riley