solidus_catalog_mode 0.2.0 → 0.3.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: f3014cba432defc54fe3ceb22dbafac65bf686bf
4
- data.tar.gz: 69639addc38836d0e49dfdc4f7483a56004ead50
3
+ metadata.gz: ebc1282f14101896c9dbefc5e3bb5d76fbcb222e
4
+ data.tar.gz: 3ea300e56887e731a2a55f5069a2076b35f79706
5
5
  SHA512:
6
- metadata.gz: c9aa98e5b70b461a94d2f20657e942b27ee357ebaf38a42576bc1890e2c74e1570822432e554415a5dd1e074db516ee42edc3e5d20b2ec68dec41b0e10996c4a
7
- data.tar.gz: e964bfa77bfb3f50ecd237d6a28008f0a1df6d24781e0fcc8b4280a8afdaf5d13d891e12c2c7db5ddb9fe2b1aaabd837415135c643501cba112da971b8e8934b
6
+ metadata.gz: deb888e524debd5c99f2470bf1822a682a74b2037282dc33dba58d3b28644884b45db034a8657919698f18b1dce59ea254e8424dc33e3227748519e19b7f1e7e
7
+ data.tar.gz: e05047f10ef5005f00b6b0eb3b67b3cabfae7b0e259cfea67460bff3a4d8e7f007618fa8e5f634374318d4a6e99d9708ac4db2373e902ed1f8e5df1db3c41837
@@ -1,12 +1,11 @@
1
- <div data-hook="admin_store_form_catalog_mode">
2
- <div class="row">
3
- <div class="four columns">
4
- <%= f.field_container :catalog_mode do %>
5
- <%= f.label :catalog_mode do %>
6
- <%= f.check_box :catalog_mode %> <%= Spree::Store.human_attribute_name(:catalog_mode) %>
7
- <% end %>
8
- <%= f.field_hint :catalog_mode %>
9
- <% end %>
10
- </div>
11
- </div>
1
+ <div data-hook="admin_store_form_catalog_mode" class="two columns">
2
+ <%= f.field_container :catalog_mode do %>
3
+ <%= f.label :catalog_mode, Spree.t(:catalog_mode) %>
4
+ <%= f.field_hint :catalog_mode %>
5
+ <ul>
6
+ <li><%= f.radio_button :catalog_mode, "true", :class => 'fullwidth' %> <%= Spree.t(:say_yes) %></li>
7
+ <li><%= f.radio_button :catalog_mode, "false", :class => 'fullwidth' %> <%= Spree.t(:say_no) %></li>
8
+ </ul>
9
+ <%= error_message_on :store, :catalog_mode %>
10
+ <% end %>
12
11
  </div>
@@ -6,4 +6,3 @@ de:
6
6
  attributes:
7
7
  catalog_mode:
8
8
  should_be_false: "sollte false sein"
9
-
@@ -7,6 +7,7 @@ en:
7
7
  catalog_mode:
8
8
  should_be_false: "should be false"
9
9
  spree:
10
+ catalog_mode: Catalog mode
10
11
  hints:
11
12
  spree/product:
12
13
  catalog_mode: "This determines whether or not for this product the catalog mode is enabled (the online sale is disabled).<br/>Default: Not Checked"
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  # Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
3
3
  #
4
4
  # Example adding this to your spec_helper will load these Factories for use:
@@ -1,3 +1,3 @@
1
1
  module SolidusCatalogMode
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_catalog_mode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Facciolo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-06 00:00:00.000000000 Z
11
+ date: 2017-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -28,98 +28,98 @@ dependencies:
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: poltergeist
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: coffee-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sass-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: database_cleaner
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: factory_girl
98
+ name: factory_bot
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
@@ -154,28 +154,28 @@ dependencies:
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: sqlite3
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  description: Allow to set products only to show, but not for online sale (catalog
@@ -210,7 +210,7 @@ files:
210
210
  - lib/solidus_catalog_mode/engine.rb
211
211
  - lib/solidus_catalog_mode/factories.rb
212
212
  - lib/solidus_catalog_mode/version.rb
213
- homepage:
213
+ homepage: https://github.com/afdev82/solidus_catalog_mode
214
214
  licenses:
215
215
  - BSD-3-Clause
216
216
  metadata: {}