effective_style_guide 1.5.1 → 1.5.2

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
2
  SHA1:
3
- metadata.gz: 186f5c846e670aea8044e9e31d7461ad3278bc1e
4
- data.tar.gz: ffa1f3c3c076fa717007eec28fc91afbad37ccd3
3
+ metadata.gz: d944449c80c03b0eab90d58d8c4929c5235d6b52
4
+ data.tar.gz: b1aabf84c62884626c5c55c91fd73103656ee22c
5
5
  SHA512:
6
- metadata.gz: 4a1f4106ef9e925f7effc172d2f74c0edbd4db66c6b526f65922b72d2960b1080c5a20edba8df7a196bf8d50f33ebff6b3df4246dea310c1b79172052240f388
7
- data.tar.gz: d72442e1f9f54bafa7547cd611ca107db06da3bb111d35dc276230e4c663a942e4a0b09dd28bbd413507ab5f72380b9aad9a717c96d0e8c35fe9c2c0c72315e4
6
+ metadata.gz: 3090ca337f9363dbaa9f7dce93948e0dcfd2096da2682e37d345a00a0688afd2ea5bd1330b36d0da90d6f700c51a2a4d352f3c81ba56bf906908160b7b990f2d
7
+ data.tar.gz: e6fbe7213f39e1d541dbb2f60c741af3aa7b9362d88d0d7cdeed6fa331630bb9dc2fdf06bcbd30fe8bf1c05e25d62d3ce80a308b6d93c86baa82e9c45549eec1
@@ -39,10 +39,28 @@
39
39
  :collection => EffectiveStyleGuide.foods,
40
40
  :hint => 'please select one or more drinks (this is a check_boxes field)'
41
41
 
42
- = f.input :food,
43
- :as => :radio_buttons,
44
- :collection => EffectiveStyleGuide.foods,
45
- :hint => 'please select one food (this is a radio_buttons field)'
42
+ - if defined?(EffectiveFormInputs)
43
+ = f.input :food,
44
+ :as => :effective_radio_buttons,
45
+ :collection => EffectiveStyleGuide.foods,
46
+ :hint => 'please select one food (this is an effective_radio_buttons from EffectiveFormInputs)'
47
+
48
+ = f.input :food,
49
+ :as => :effective_radio_buttons,
50
+ :collection => EffectiveStyleGuide.foods,
51
+ :hint => 'please select one food (this is an inline: true effective_radio_buttons from EffectiveFormInputs)',
52
+ :inline => true
53
+
54
+ = f.input :food,
55
+ :as => :effective_radio_buttons,
56
+ :collection => EffectiveStyleGuide.foods,
57
+ :hint => 'please select one food (this is a buttons: true effective_radio_buttons from EffectiveFormInputs)',
58
+ :buttons => true
59
+ - else
60
+ = f.input :food,
61
+ :as => :radio_buttons,
62
+ :collection => EffectiveStyleGuide.foods,
63
+ :hint => 'please select one food (this is a radio_buttons field)'
46
64
 
47
65
  - if defined?(EffectiveAssets)
48
66
  = f.input :files,
@@ -124,10 +142,28 @@
124
142
  :collection => EffectiveStyleGuide.foods,
125
143
  :hint => 'please select one or more drinks (this is a check_boxes field)'
126
144
 
127
- = f.input :food,
128
- :as => :radio_buttons,
129
- :collection => EffectiveStyleGuide.foods,
130
- :hint => 'please select one food (this is a radio_buttons field)'
145
+ - if defined?(EffectiveFormInputs)
146
+ = f.input :food,
147
+ :as => :effective_radio_buttons,
148
+ :collection => EffectiveStyleGuide.foods,
149
+ :hint => 'please select one food (this is an effective_radio_buttons from EffectiveFormInputs)'
150
+
151
+ = f.input :food,
152
+ :as => :effective_radio_buttons,
153
+ :collection => EffectiveStyleGuide.foods,
154
+ :hint => 'please select one food (this is an inline: true effective_radio_buttons from EffectiveFormInputs)',
155
+ :inline => true
156
+
157
+ = f.input :food,
158
+ :as => :effective_radio_buttons,
159
+ :collection => EffectiveStyleGuide.foods,
160
+ :hint => 'please select one food (this is a buttons: true effective_radio_buttons from EffectiveFormInputs)',
161
+ :buttons => true
162
+ - else
163
+ = f.input :food,
164
+ :as => :radio_buttons,
165
+ :collection => EffectiveStyleGuide.foods,
166
+ :hint => 'please select one food (this is a radio_buttons field)'
131
167
 
132
168
  - if defined?(EffectiveAssets)
133
169
  = f.input :files,
@@ -40,10 +40,27 @@
40
40
  :collection => EffectiveStyleGuide.foods,
41
41
  :hint => 'please select one or more drinks (this is a check_boxes field)'
42
42
 
43
- = f.input :food,
44
- :as => :radio_buttons,
45
- :collection => EffectiveStyleGuide.foods,
46
- :hint => 'please select one food (this is a radio_buttons field)'
43
+ - if defined?(EffectiveFormInputs)
44
+ = f.input :food,
45
+ :as => :effective_radio_buttons,
46
+ :collection => EffectiveStyleGuide.foods,
47
+ :hint => 'please select one food (this is an effective_radio_buttons from EffectiveFormInputs)'
48
+
49
+ = f.input :food,
50
+ :as => :effective_radio_buttons,
51
+ :collection => EffectiveStyleGuide.foods,
52
+ :hint => 'please select one food (this is an inline: true effective_radio_buttons from EffectiveFormInputs)',
53
+ :inline => true
54
+
55
+ = f.input :food,
56
+ :as => :effective_radio_buttons,
57
+ :collection => EffectiveStyleGuide.foods,
58
+ :buttons => true
59
+ - else
60
+ = f.input :food,
61
+ :as => :radio_buttons,
62
+ :collection => EffectiveStyleGuide.foods,
63
+ :hint => 'please select one food (this is a radio_buttons field)'
47
64
 
48
65
  - if defined?(EffectiveAssets)
49
66
  = f.input :files,
@@ -124,10 +141,27 @@
124
141
  :collection => EffectiveStyleGuide.foods,
125
142
  :hint => 'please select one or more drinks (this is a check_boxes input)'
126
143
 
127
- = f.input :food,
128
- :as => :radio_buttons,
129
- :collection => EffectiveStyleGuide.foods,
130
- :hint => 'please select one food (this is a radio_buttons input)'
144
+ - if defined?(EffectiveFormInputs)
145
+ = f.input :food,
146
+ :as => :effective_radio_buttons,
147
+ :collection => EffectiveStyleGuide.foods,
148
+ :hint => 'please select one food (this is an effective_radio_buttons from EffectiveFormInputs)'
149
+
150
+ = f.input :food,
151
+ :as => :effective_radio_buttons,
152
+ :collection => EffectiveStyleGuide.foods,
153
+ :hint => 'please select one food (this is an inline: true effective_radio_buttons from EffectiveFormInputs)',
154
+ :inline => true
155
+
156
+ = f.input :food,
157
+ :as => :effective_radio_buttons,
158
+ :collection => EffectiveStyleGuide.foods,
159
+ :buttons => true
160
+ - else
161
+ = f.input :food,
162
+ :as => :radio_buttons,
163
+ :collection => EffectiveStyleGuide.foods,
164
+ :hint => 'please select one food (this is a radio_buttons field)'
131
165
 
132
166
  - if defined?(EffectiveAssets)
133
167
  = f.input :files, :as => :asset_box, :hint => 'please upload one or more files (this is an asset_box field from EffectiveAssets)'
@@ -1,3 +1,3 @@
1
1
  module EffectiveStyleGuide
2
- VERSION = '1.5.1'.freeze
2
+ VERSION = '1.5.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-05 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails