pluginizer 0.1.5 → 0.1.6

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: 2c8ac5a7ef242a81bfdd5710a9e705bad18422d8
4
- data.tar.gz: 141a030ca08cd0b0b34044db28062f1a8d3e0b45
3
+ metadata.gz: 28fa7c704370b06e8fb1789ecab48a79247d211c
4
+ data.tar.gz: 5405155e1ed9e75b0d2aaf982b3c7a6019d87d39
5
5
  SHA512:
6
- metadata.gz: 2e3bfb98217fe6d3b493e902bbb89be194fdbc072e7a9b36bccfe6e027405ed56219f42d510acd6528523a0f7b6fca1a44ecdd7d04297c9370e83b52de0933af
7
- data.tar.gz: b2535306f622f9ecb55c2ec2c3fafa871e7fb2fb5dc6b6a468974531f7aae002f814ab0f52e5b6d936acdf28e2e68d0c7c98e4bf060928c1f66b9424d1ce4cd7
6
+ metadata.gz: c4c521f34968725fbf661cfee1f0da3f4c668caa35601c0dad98ed507ba6692eb9d361750c4849db7d5e26a4b2b420397b86a4e37f840842ca79d652b47e9cf7
7
+ data.tar.gz: 58679116e06f5f708df3eb3f2b15caebd6848ff4a9318123119ebde39830478fef52187146f17feb5d4ab0ee83a6f3bd75f22f769dd81e5eac5539a83f038af6
@@ -37,8 +37,9 @@ module Pluginizer
37
37
 
38
38
  run "bundle binstubs rspec-core"
39
39
 
40
+ requires = %w[fantaskspec email_spec email_spec/rspec].map{ |file| "require '#{file}'" }
40
41
  insert_into_file rails_helper,
41
- "\nrequire 'fantaskspec'\n",
42
+ "\n#{requires.join("\n")}\n",
42
43
  after: "# Add additional requires below this line. Rails is not loaded until this point!"
43
44
  insert_into_file rails_helper,
44
45
  "\n config.infer_rake_task_specs_from_file_location!\n",
@@ -1,3 +1,3 @@
1
1
  module Pluginizer
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -27,4 +27,5 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency 'shoulda-matchers', '~> 3.1'
28
28
  s.add_development_dependency 'shoulda-callback-matchers', '~> 1.1'
29
29
  s.add_development_dependency 'rails-controller-testing'
30
+ s.add_development_dependency 'email_spec', '~> 2.1'
30
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluginizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-10 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails