pluginizer 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a91fa433cf9fa93c2f0ae22373d7f97a58aa148d
4
- data.tar.gz: 72ebc79668e378d9423be5849d9a596cef796f38
3
+ metadata.gz: 015c6d87c5ad86eecc8faac6f7b7e99c63851bc7
4
+ data.tar.gz: e579c2af9827fde05b95a592d50a36dbfb8ae97c
5
5
  SHA512:
6
- metadata.gz: bf903e313c4af2392c14ab52d0a7ef198ece012be31da183a9ba0d7c9d1f329804f16127d036daf3cb742d355ef75c04c8008a005a32690307f61e8caa4505c6
7
- data.tar.gz: 97014cb90483236656c782f3566326edf3cf61a5c6688448d44febfb62bdc4ad666c79e3972b2d075c165d4954fc35314c70e823946f3bcbd732ee68fd0f92a8
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
@@ -1,3 +1,3 @@
1
1
  module Pluginizer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -23,4 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_development_dependency "<%= gem_for_database[0] %>"
24
24
  <% end -%>
25
25
  s.add_development_dependency 'rspec-rails', '~> 3.5'
26
+ s.add_development_dependency 'fantaskspec', '~> 1.0'
26
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluginizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel