rspectacular 0.52.0 → 0.53.0

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: f24befbba6cbaaa77a39407cbf43ef7b9686852c
4
- data.tar.gz: 8e0e4278218b567d7acc7b9f800f388bd79a3ce9
3
+ metadata.gz: 2c49fdd13da561f4e944085ee376f9f25e9bb33d
4
+ data.tar.gz: 962b775c43ed61dea170350b5c34b393efe1d2da
5
5
  SHA512:
6
- metadata.gz: ea2c9486c737c93b3e3fcd900debbf4f6d30662903e0d7a402278b7bf10890f159f467ec14668bca9d8df7a45eef1718888b1dde71e0adeafee2c0b3d4b5b3b4
7
- data.tar.gz: ce84262918ff917510a17cb90f17bef9de48400c101546faff4ef1701a765c03af3b574bed704865f9416799689aad5b8139e5574a7c4fb10990260f491018be
6
+ metadata.gz: cccfcfabcd7dfccec02b0d709b7887f6dd7a069adacd6438c6f567e3aa39831bbdfe0875da06743d89760601f0f890886b0115f0ee3cb76cc1eb21d2425811e5
7
+ data.tar.gz: d3c29912b292a87d6a96b441a91e310e4dfeac476178e7fae2dd3155042294f5a02a04f3c3f1e63d38705027d4227149ccd2a608b2ec146e955c2f6a5ff2561d
@@ -5,8 +5,13 @@
5
5
  begin
6
6
  require 'factory_girl'
7
7
 
8
- factory_directory = Pathname.new(File.expand_path('./spec/factories'))
9
- FactoryGirl.definition_file_paths << factory_directory
8
+ FactoryGirl.definition_file_paths << './spec/factories'
9
+
10
+ if FactoryGirl.configuration.factories.count.zero? &&
11
+ Rails.application.class.name.match(/Dummy/)
12
+
13
+ FactoryGirl.find_definitions
14
+ end
10
15
 
11
16
  RSpec.configure do |config|
12
17
  config.include FactoryGirl::Syntax::Methods
@@ -0,0 +1,4 @@
1
+ if Object.const_defined?('ActionController::Parameters')
2
+ ActionController::Parameters::NEVER_UNPERMITTED_PARAMS << 'id'
3
+ ActionController::Parameters.action_on_unpermitted_parameters = :raise
4
+ end
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.52.0'
2
+ VERSION = '0.53.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-15 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -86,6 +86,7 @@ files:
86
86
  - lib/rspectacular/plugins/omniauth.rb
87
87
  - lib/rspectacular/plugins/paypal.rb
88
88
  - lib/rspectacular/plugins/rails/engine.rb
89
+ - lib/rspectacular/plugins/rails/strong_parameters.rb
89
90
  - lib/rspectacular/plugins/recaptcha.rb
90
91
  - lib/rspectacular/plugins/referehencible.rb
91
92
  - lib/rspectacular/plugins/shoulda.rb
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  requirements: []
138
139
  rubyforge_project: rspectacular
139
- rubygems_version: 2.2.2
140
+ rubygems_version: 2.4.2
140
141
  signing_key:
141
142
  specification_version: 4
142
143
  summary: RSpec Support And Matchers