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 +5 -5
- data/formtastic.gemspec +0 -1
- data/lib/formtastic/localizer.rb +1 -4
- data/lib/formtastic/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5fefdec8b2958a3bf5c17aabe98e7096d041023858b2a04798a1eae11c264e42
|
4
|
+
data.tar.gz: e5a5fdd71803d0f51b267324b6fdb50919ce5dfb564cf6c545b3bd655dd44d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/formtastic/localizer.rb
CHANGED
@@ -115,10 +115,7 @@ module Formtastic
|
|
115
115
|
protected
|
116
116
|
|
117
117
|
def normalize_model_name(name)
|
118
|
-
if
|
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)
|
data/lib/formtastic/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
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:
|