formtastic 3.1.5 → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7fda601161112f0ec859c833e04fce3155e56af0
4
- data.tar.gz: dc138bd2308a2ab393c9badfab273800b985341a
2
+ SHA256:
3
+ metadata.gz: 5fefdec8b2958a3bf5c17aabe98e7096d041023858b2a04798a1eae11c264e42
4
+ data.tar.gz: e5a5fdd71803d0f51b267324b6fdb50919ce5dfb564cf6c545b3bd655dd44d08
5
5
  SHA512:
6
- metadata.gz: 838af637ca0cb0de6f086e76dcf8306c7436901eb3811afe4e15c38c57de7f16eec795ac71090fd648eceba93c488bb80c1958124225398071905d0498518c9f
7
- data.tar.gz: 326c8f5b7da290dedb55be38e9cf428ba0051e98c097addd0e5e0270837aa479ae6ee68350965f681c9de83228aa40702cbb74c4bff6d3f1b0488c1920e0537b
6
+ metadata.gz: 183dcccafba6dad57c447a5a32f282cff80152d654e604208186ca20f8dddc201ebd7af8eeff8dbeee6a33aa99095b5c06261b3b404d1ec40ab9a037f4a0c08c
7
+ data.tar.gz: f5144105d6fd1b92b06421085e578f1bf87c2b002997a5ff8e7fc8e0b310d32a68274b0550b449fb6c37b840a28453b4c1eccd7305ac670edb152ddcdf86db17
data/formtastic.gemspec CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.required_ruby_version = '>= 1.9.3'
25
25
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
26
- s.rubygems_version = %q{1.3.6}
27
26
 
28
27
  s.add_dependency(%q<actionpack>, [">= 3.2.13"])
29
28
 
@@ -115,10 +115,7 @@ module Formtastic
115
115
  protected
116
116
 
117
117
  def normalize_model_name(name)
118
- if !name =~ /\[/ && builder.respond_to?(:parent_builder) && builder.parent_builder.object_name
119
- # Rails 3.1 nested builder case
120
- [builder.parent_builder.object_name.to_s, name]
121
- elsif name =~ /(.+)\[(.+)\]/
118
+ if name =~ /(.+)\[(.+)\]/
122
119
  # Rails 3 (and 3.1?) nested builder case with :post rather than @post
123
120
  [$1, $2]
124
121
  elsif builder.respond_to?(:options) && builder.options.key?(:as)
@@ -1,3 +1,3 @@
1
1
  module Formtastic
2
- VERSION = "3.1.5"
2
+ VERSION = "3.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin French
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: actionpack
@@ -381,7 +380,6 @@ homepage: http://github.com/justinfrench/formtastic
381
380
  licenses:
382
381
  - MIT
383
382
  metadata: {}
384
- post_install_message:
385
383
  rdoc_options:
386
384
  - "--charset=UTF-8"
387
385
  require_paths:
@@ -397,9 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
397
395
  - !ruby/object:Gem::Version
398
396
  version: '0'
399
397
  requirements: []
400
- rubyforge_project:
401
- rubygems_version: 2.4.5.1
402
- signing_key:
398
+ rubygems_version: 3.6.8
403
399
  specification_version: 4
404
400
  summary: A Rails form builder plugin/gem with semantically rich and accessible markup
405
401
  test_files: