rspec_rails_scaffold_templates 2.4 → 2.5

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
  SHA256:
3
- metadata.gz: b23619be06fa089e1c04a66358ebcb1166455de232a5c0b56075e1c9f7548232
4
- data.tar.gz: 3c1ca1f318b9a9a5de3226cd5663b456da71ffa5fcaebb82d27bd27f64029b66
3
+ metadata.gz: e21f12249e46090795faf7ddc61b9a0e4ec27a0ea40d67cbe6335edcbb741cc8
4
+ data.tar.gz: e0c075d4764315b0d3f8d34e576f842a1b271a8af9f6dab4d60e3d3705cb7a1e
5
5
  SHA512:
6
- metadata.gz: 319c48bc9126b3546135f93f4a7dbfa25114d83bd2c88d632b6509969b661dfef7b0d8e2e4caa5c1ee4e2d2acdc3f83df1b4af7ede69dd6d4ea4a280f81fee5f
7
- data.tar.gz: b8fb14a1e82d5f9e3a44d7b8a84709e5fb2b8e90ab99564d333688e0d14431851a65f43ebc3cc85a74fa81f971b24f2de76426015eb8b9529b8145e5d0c82587
6
+ metadata.gz: a29d95893929b859daf408eeccdf0a5c97880e5ba21cc5f52c7d2feec6abeeddafdef1ca462a122c652763ade92937aef13fd9fbc68dd8f2e128d91634759ac9
7
+ data.tar.gz: c92365caeb042c307857ebb29f7f4e33ee6f5034bbe5bbada1333e72dcc46f2b4553dfe4774bc881fce35d898c6c798286b46f2513d5a9a781fbe3430f357b20
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4
1
+ 2.5
@@ -26,7 +26,7 @@ describe <%= controller_class_name %>Controller, <%= type_metatag(:controller) %
26
26
  <% if links.present? -%>
27
27
  let(:valid_attributes) do
28
28
  attributes_for(:<%=file_name%>)
29
- .slice(*%w[<%= attribute_name %>].map(&:to_sym))
29
+ .slice(*%i[<%= attribute_name %>])
30
30
  .merge(
31
31
  <% links.each do |relation| -%>
32
32
  <%= relation.name %>_id: create(:<%= relation.name %>).id,
@@ -34,7 +34,7 @@ describe <%= controller_class_name %>Controller, <%= type_metatag(:controller) %
34
34
  )
35
35
  end
36
36
  <% else -%>
37
- let(:valid_attributes) {attributes_for(:<%=file_name%>).slice *%w[<%= attribute_name %>].map(&:to_sym)}
37
+ let(:valid_attributes) {attributes_for(:<%=file_name%>).slice *%i[<%= attribute_name %>]}
38
38
  <% end -%>
39
39
  <% else -%>
40
40
  <% factory_bot = false -%>
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rspec_rails_scaffold_templates 2.4 ruby lib
5
+ # stub: rspec_rails_scaffold_templates 2.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rspec_rails_scaffold_templates".freeze
9
- s.version = "2.4"
9
+ s.version = "2.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Dmitri Koulikoff".freeze]
14
- s.date = "2019-12-11"
14
+ s.date = "2019-12-12"
15
15
  s.description = "RSpec scaffold generator templates that use FactoryGirl and WiceGrid".freeze
16
16
  s.email = "dima@koulikoff.ru".freeze
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_rails_scaffold_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.4'
4
+ version: '2.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec