phantom_nested_forms 0.2.0.alpha4 → 0.2.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: a9f23f767b07302a1f573131d99c86f1bd6a822a
4
- data.tar.gz: 1cba1523a721cb5341a13b148ff46f6f6613ad18
3
+ metadata.gz: f797d395235d21a8438f8c469c6aafdc12bc45de
4
+ data.tar.gz: b185575d9a6929cb8e314589395f1520a7d3594b
5
5
  SHA512:
6
- metadata.gz: 6c78f3dea0523d58478452c5f9dc0abc276127a3022803a0dba08a6f92d65f19a1a9289a2f2219db18c30409b775dd3c9d20a0bb21434c8377e354c0da7e4c1b
7
- data.tar.gz: a0f57741e147685e288e9cca5a65a38c52f31fa2053c1a0fa16da888990898a790dbdfe0ce381f30e2ef01dec39e9109564f541b4893b1fd1ad335b8504dd182
6
+ metadata.gz: 85ad8fffabf98431adbf769a4ecd5333234b00141b97522f1cc85281bd17fd529343350a475ae9dac11e27dac03a5bad9a97b565a7d255e601e9550090981868
7
+ data.tar.gz: 1d0e09e0f9750504eb998763675baccaa049bffb09b85846b452fea849f272573eb3e4c33bac1def31ee82befab3cc64479ed6ca49f352bc7406b825bbf955c9
@@ -8,7 +8,7 @@ module PhantomNestedForms
8
8
  options[:remote] = true
9
9
 
10
10
  object_name = get_class(extract_object(object))
11
- object_class = options[:resource] || object_name
11
+ object_class = options[:resource] || object_name
12
12
  label = options[:label] || t("#{object_name.underscore}.singular")
13
13
 
14
14
  content_tag :div, class: "panel panel-primary" do
@@ -24,7 +24,7 @@ module PhantomNestedForms
24
24
  options[:remote] = true
25
25
 
26
26
  object_name = get_class(extract_object(object))
27
- object_class = options[:resource] || object_name
27
+ object_class = options[:resource] || object_name
28
28
  label = options[:label] || t("#{object_name.underscore}.singular")
29
29
 
30
30
  content_tag :div, class: "col-md-12 alert-dismissable" do
@@ -35,14 +35,13 @@ module PhantomNestedForms
35
35
  end
36
36
  end
37
37
 
38
-
39
38
  def normal_nested_form_for(object, options = {}, &block)
40
39
  options[:validate] = true
41
40
  options[:builder] = PhantomNestedForms::FormBuilders::ValidateNestedFormBuilder
42
41
  options[:html] = {:class => 'normal-form form'}
43
42
 
44
43
  object_name = get_class(extract_object(object))
45
- object_class = options[:resource] || object_name
44
+ object_class = options[:resource] || object_name
46
45
  label = options[:label] || t("#{object_name.underscore}.singular")
47
46
 
48
47
  content_tag :div, class: "panel panel-primary" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantom_nested_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.alpha4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassil Kalkov
@@ -10,48 +10,48 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-11-13 00:00:00.000000000 Z
13
+ date: 2015-02-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: phantom_forms
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.0.alpha3
21
+ version: 0.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.2.0.alpha3
28
+ version: 0.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: nested_form
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rails4_client_side_validations
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  description: rails helpers for bootstrap 3
@@ -60,13 +60,13 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - README.md
64
+ - lib/phantom_nested_forms.rb
63
65
  - lib/phantom_nested_forms/engine.rb
64
- - lib/phantom_nested_forms/helper.rb
65
66
  - lib/phantom_nested_forms/form_builders/validate_nested_form_builder.rb
66
- - lib/phantom_nested_forms.rb
67
+ - lib/phantom_nested_forms/helper.rb
67
68
  - vendor/assets/javascripts/nested_forms.js.coffee
68
69
  - vendor/assets/javascripts/phantom_nested_forms.js
69
- - README.md
70
70
  homepage: http://github.com/Genshin/phantom_nested_forms
71
71
  licenses:
72
72
  - GNU GPL-3
@@ -78,20 +78,19 @@ require_paths:
78
78
  - lib
79
79
  required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 1.8.7
83
+ version: '0'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '>'
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 1.3.1
88
+ version: '0'
89
89
  requirements:
90
90
  - none
91
91
  rubyforge_project:
92
- rubygems_version: 2.0.6
92
+ rubygems_version: 2.4.5
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Phantom Nested Forms
96
96
  test_files: []
97
- has_rdoc: