pluginizer 0.1.1 → 0.1.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/pluginizer/plugin_builder.rb +8 -0
- data/lib/pluginizer/version.rb +1 -1
- data/templates/%name%.gemspec.tt +1 -0
- 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: 015c6d87c5ad86eecc8faac6f7b7e99c63851bc7
|
|
4
|
+
data.tar.gz: e579c2af9827fde05b95a592d50a36dbfb8ae97c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42fc6607f861036410ae38a03fb965aae94aee20370cd8808f4d21248b1fd0a1e48d5f9d7a0f76ed130fb616650e73eefb404e665242770c786fac575911dc42
|
|
7
|
+
data.tar.gz: d067e18995de3de1bd1e89c0af331f459dde0ffbdcea7babb9e61786703f2b9031a48acc7dae2c975371dc64c18766a1c079b410789433ec22d8837147993c80
|
|
@@ -40,6 +40,14 @@ module Pluginizer
|
|
|
40
40
|
"require File.expand_path('../dummy/config/environment', __FILE__)"
|
|
41
41
|
|
|
42
42
|
run "bundle binstubs rspec-core"
|
|
43
|
+
|
|
44
|
+
{ "# Add additional requires below this line. Rails is not loaded until this point!" =>
|
|
45
|
+
"\nrequire 'fantaskspec'\n",
|
|
46
|
+
%{# config.filter_gems_from_backtrace("gem name")} =>
|
|
47
|
+
"\n\n config.infer_rake_task_specs_from_file_location!"
|
|
48
|
+
}.each do |after_line, new_line|
|
|
49
|
+
insert_into_file 'spec/rails_helper.rb', new_line, after: after_line
|
|
50
|
+
end
|
|
43
51
|
end
|
|
44
52
|
end
|
|
45
53
|
end
|
data/lib/pluginizer/version.rb
CHANGED
data/templates/%name%.gemspec.tt
CHANGED