fix_mah_gemfile 0.0.1 → 0.0.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 +4 -4
- data/lib/fix_mah_gemfile/version.rb +1 -1
- data/lib/fix_mah_gemfile.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35a19ccf653db20dfb55d3293d34953fa2f900c3
|
4
|
+
data.tar.gz: f19c66ba99d13a1e9b453276b2f72b1e992b9821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dabff96946141c787f7479a865a732714824160cc50b99b0c1f4aef4ae3620261c22da4e6afadcab17db4d6c81aad1354a8c12495e3d40bbb60336fee086a2dd
|
7
|
+
data.tar.gz: 128273dee72318ad526c231190d4b2fb02c145bb2ea785304d2915b195538047a42b56a46877592fd54566aa33522e0166781bce898d1e07df5b818e20733abc
|
data/lib/fix_mah_gemfile.rb
CHANGED
@@ -82,7 +82,7 @@ module FixMahGemfile
|
|
82
82
|
puts "in the current directory. An option argument can specify the path to an alternate rc file.\n\n"
|
83
83
|
end
|
84
84
|
def self.generate_sample_rc
|
85
|
-
outfile = "
|
85
|
+
outfile = "./.fixgemfile_rc"
|
86
86
|
file = <<-END
|
87
87
|
# example .fixgemfile_rc
|
88
88
|
FixMahGemfile::Processor.new do
|
@@ -97,6 +97,7 @@ FixMahGemfile::Processor.run "bundle"
|
|
97
97
|
#FixMahGemfile::Processor.run "bundle update libxml-ruby"
|
98
98
|
#FixMahGemfile::Processor.run "bundle update guard guard-less therubyracer"
|
99
99
|
END
|
100
|
+
File.new(outfile, "w") { |f| f.write(file) }
|
100
101
|
end
|
101
102
|
def self.run str
|
102
103
|
puts str
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fix_mah_gemfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eddy Kim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|