rspec_rails_scaffold_templates 2.5 → 2.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
  SHA256:
3
- metadata.gz: e21f12249e46090795faf7ddc61b9a0e4ec27a0ea40d67cbe6335edcbb741cc8
4
- data.tar.gz: e0c075d4764315b0d3f8d34e576f842a1b271a8af9f6dab4d60e3d3705cb7a1e
3
+ metadata.gz: fb7bc6888d5364143c617f1ee568bafcd547a05bf8ddccc23e1877900e924292
4
+ data.tar.gz: a675eb7daebd54272b81164f88539bbc378c18a8744d5c1ed2282167efca9ee6
5
5
  SHA512:
6
- metadata.gz: a29d95893929b859daf408eeccdf0a5c97880e5ba21cc5f52c7d2feec6abeeddafdef1ca462a122c652763ade92937aef13fd9fbc68dd8f2e128d91634759ac9
7
- data.tar.gz: c92365caeb042c307857ebb29f7f4e33ee6f5034bbe5bbada1333e72dcc46f2b4553dfe4774bc881fce35d898c6c798286b46f2513d5a9a781fbe3430f357b20
6
+ metadata.gz: eaf4e76ebf113d5fd03c443dcb8e7b36c7362bf3d8fe517bc070564f487120d6ceffc73e092a33192084539844ed22247dfb1417ef80780f363ce2740bcc30f5
7
+ data.tar.gz: 3491258ae90fb1b4d01962d8c01b8fb7f9965b2d8f8bc39361c826964ed80eeac976fff3be0709a2d9ad9f45fc3215c64bface440ee2e84f5c4366e81b496bd5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5
1
+ 2.6
@@ -26,7 +26,7 @@ describe Api::<%= options[:api_version].camelcase + '::' if options[:api_version
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 Api::<%= options[:api_version].camelcase + '::' if options[:api_version
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.5 ruby lib
5
+ # stub: rspec_rails_scaffold_templates 2.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rspec_rails_scaffold_templates".freeze
9
- s.version = "2.5"
9
+ s.version = "2.6"
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-12"
14
+ s.date = "2020-01-05"
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.5'
4
+ version: '2.6'
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-12 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec