mushin 0.61.0 → 0.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/generator.rb +13 -13
- data/lib/mushin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a90db02c3fee6a770b3aa87461355a0150990d3c
|
4
|
+
data.tar.gz: e270b632fd76e6313f0b1ecc34314c6d8234a4d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb893119a3726e86af155906bebca6a91adb346ec0bac12def6f306659f8aabac821991f5732e73a40043a4d5e8258c03c63b745697104ff50231b8e4d5dac4b
|
7
|
+
data.tar.gz: 790294db5c0306d48c76bf7a16f9cc3d4a08fde015bdecaa9b046fc290208d383f3f534b184b68d4f2faff1b919aa7ff9ed2794a56e584c8dbbd3e04eedbc43d
|
data/exe/generator.rb
CHANGED
@@ -111,10 +111,10 @@ end
|
|
111
111
|
match = @gemspec
|
112
112
|
end
|
113
113
|
|
114
|
-
puts "amending gemspec with gem name #{"mushin_ext_" + name.downcase}"
|
115
|
-
gsub_file gemspec_file, /"#{name}"/ do |match|
|
116
|
-
match = "'#{"mushin_ext_" + name.downcase}'"
|
117
|
-
end
|
114
|
+
#puts "amending gemspec with gem name #{"mushin_ext_" + name.downcase}"
|
115
|
+
#gsub_file gemspec_file, /"#{name}"/ do |match|
|
116
|
+
# match = "'#{"mushin_ext_" + name.downcase}'"
|
117
|
+
#end
|
118
118
|
|
119
119
|
puts "amending gemspec with gem summary"
|
120
120
|
gsub_file gemspec_file, /%q{TODO: Write a short summary, because Rubygems requires one.}/ do |match|
|
@@ -137,8 +137,8 @@ end
|
|
137
137
|
end
|
138
138
|
|
139
139
|
#NOTE renaming lib/name.rb file to be able to require the gem with the same name
|
140
|
-
puts "renaming lib/#{name}.rb to lib/mushin_ext_#{name.downcase}.rb "
|
141
|
-
system("mv ./#{name}/lib/#{name}.rb ./#{name}/lib/mushin_ext_#{name.downcase}.rb")
|
140
|
+
#puts "renaming lib/#{name}.rb to lib/mushin_ext_#{name.downcase}.rb "
|
141
|
+
#system("mv ./#{name}/lib/#{name}.rb ./#{name}/lib/mushin_ext_#{name.downcase}.rb")
|
142
142
|
|
143
143
|
readme_file = "#{name.to_s}/README.md"
|
144
144
|
gsub_file readme_file, /#{name}/ do |match|
|
@@ -230,18 +230,18 @@ end
|
|
230
230
|
match = "'#{license}'"
|
231
231
|
end
|
232
232
|
|
233
|
-
puts "amending README.md"
|
234
|
-
readme_file = "#{name.to_s}/README.md"
|
235
|
-
gsub_file readme_file, /#{name}/ do |match|
|
236
|
-
match = "#{"mushin_dsf_" + name.downcase}"
|
237
|
-
end
|
233
|
+
#puts "amending README.md"
|
234
|
+
#readme_file = "#{name.to_s}/README.md"
|
235
|
+
#gsub_file readme_file, /#{name}/ do |match|
|
236
|
+
# match = "#{"mushin_dsf_" + name.downcase}"
|
237
|
+
#end
|
238
238
|
|
239
239
|
#remove_file "./#{name}/lib/#{name}.rb"
|
240
240
|
#create_file "./#{name}/lib/#{name}.rb"
|
241
241
|
|
242
242
|
#NOTE renaming lib/name.rb file to be able to require the gem with the same name
|
243
|
-
puts "renaming lib/#{name}.rb to lib/mushin_dsf_#{name.downcase}.rb "
|
244
|
-
system("mv ./#{name}/lib/#{name}.rb ./#{name}/lib/mushin_dsf_#{name.downcase}.rb")
|
243
|
+
#puts "renaming lib/#{name}.rb to lib/mushin_dsf_#{name.downcase}.rb "
|
244
|
+
#system("mv ./#{name}/lib/#{name}.rb ./#{name}/lib/mushin_dsf_#{name.downcase}.rb")
|
245
245
|
|
246
246
|
#NOTE creates an empty /ext dir in the generated DSF for experimental extensions before extracting them into gems
|
247
247
|
puts "creating an empty /ext dir for experimental extenstions"
|
data/lib/mushin/version.rb
CHANGED