dugway 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -1
- data/lib/dugway/theme.rb +34 -4
- data/lib/dugway/version.rb +1 -1
- data/spec/fixtures/theme/images/logo_bc.png +0 -0
- data/spec/fixtures/theme/images/slideshow/1.gif +0 -0
- data/spec/fixtures/theme/images/slideshow/2.gif +0 -0
- data/spec/fixtures/theme/images/slideshow/3.gif +0 -0
- data/spec/fixtures/theme/images/slideshow/4.gif +0 -0
- data/spec/fixtures/theme/images/slideshow/5.gif +0 -0
- data/spec/fixtures/theme/settings.json +10 -2
- data/spec/units/dugway/theme_spec.rb +44 -5
- metadata +80 -11
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
@@ -6,4 +6,11 @@
|
|
6
6
|
* `dugway build` will include font files in the zip
|
7
7
|
|
8
8
|
#### 0.8.4
|
9
|
-
*
|
9
|
+
* Support `image_sets` in `settings.json`
|
10
|
+
* Support the new [constrain](http://help.bigcartel.com/customer/portal/articles/772749-filters#constrain) filter
|
11
|
+
|
12
|
+
#### 0.7.0
|
13
|
+
* Rename `scripts.js` and `styles.css` to `theme.js` and `theme.css`
|
14
|
+
|
15
|
+
#### Pre-0.7.0
|
16
|
+
* Initial launch and bug fixes
|
data/lib/dugway/theme.rb
CHANGED
@@ -27,9 +27,17 @@ module Dugway
|
|
27
27
|
customization_for_type('fonts')
|
28
28
|
end
|
29
29
|
|
30
|
+
def images
|
31
|
+
customization_for_type('images')
|
32
|
+
end
|
33
|
+
|
34
|
+
def image_sets
|
35
|
+
customization_for_type('image_sets')
|
36
|
+
end
|
37
|
+
|
30
38
|
def customization
|
31
39
|
Hash.new.tap { |customization|
|
32
|
-
%w( fonts colors options ).each { |type|
|
40
|
+
%w( fonts colors options images image_sets ).each { |type|
|
33
41
|
customization.update(customization_for_type(type))
|
34
42
|
}
|
35
43
|
|
@@ -129,11 +137,33 @@ module Dugway
|
|
129
137
|
def customization_for_type(type)
|
130
138
|
Hash.new.tap { |hash|
|
131
139
|
if settings.has_key?(type)
|
132
|
-
|
133
|
-
|
134
|
-
|
140
|
+
case type
|
141
|
+
when 'images'
|
142
|
+
settings[type].each { |setting|
|
143
|
+
if name = setting['default']
|
144
|
+
hash[setting['variable']] = { :url => image_path_from_setting_name(name), :width => 1, :height => 1 }
|
145
|
+
end
|
146
|
+
}
|
147
|
+
when 'image_sets'
|
148
|
+
settings[type].each { |setting|
|
149
|
+
if defaults = setting['default'] || setting['defaults']
|
150
|
+
hash[setting['variable']] ||= []
|
151
|
+
defaults.each do |name|
|
152
|
+
hash[setting['variable']] << { :url => image_path_from_setting_name(name), :width => 1, :height => 1 }
|
153
|
+
end
|
154
|
+
end
|
155
|
+
}
|
156
|
+
else
|
157
|
+
settings[type].each { |setting|
|
158
|
+
hash[setting['variable']] = setting['default']
|
159
|
+
}
|
160
|
+
end
|
135
161
|
end
|
136
162
|
}
|
137
163
|
end
|
164
|
+
|
165
|
+
def image_path_from_setting_name(name)
|
166
|
+
image_files.detect { |path| path =~ /#{ Regexp.escape(name) }$/ }
|
167
|
+
end
|
138
168
|
end
|
139
169
|
end
|
data/lib/dugway/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -5,7 +5,8 @@
|
|
5
5
|
{
|
6
6
|
"variable": "logo",
|
7
7
|
"label": "Logo",
|
8
|
-
"description": "Good for an image up to 150 pixels wide"
|
8
|
+
"description": "Good for an image up to 150 pixels wide",
|
9
|
+
"default": "logo_bc.png"
|
9
10
|
},
|
10
11
|
{
|
11
12
|
"variable": "background_image",
|
@@ -17,7 +18,14 @@
|
|
17
18
|
{
|
18
19
|
"variable": "slideshow_images",
|
19
20
|
"label": "Slideshow",
|
20
|
-
"description": "This is a slideshow"
|
21
|
+
"description": "This is a slideshow",
|
22
|
+
"defaults": [
|
23
|
+
"slideshow/1.gif",
|
24
|
+
"slideshow/2.gif",
|
25
|
+
"slideshow/3.gif",
|
26
|
+
"slideshow/4.gif",
|
27
|
+
"slideshow/5.gif"
|
28
|
+
]
|
21
29
|
},
|
22
30
|
{
|
23
31
|
"variable": "lookbook_images",
|
@@ -24,15 +24,45 @@ describe Dugway::Theme do
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
+
describe "#images" do
|
28
|
+
it "should return a hash of the image settings" do
|
29
|
+
theme.images.should == {
|
30
|
+
'logo' => { :url => 'images/logo_bc.png', :width => 1, :height => 1 }
|
31
|
+
}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "#image_sets" do
|
36
|
+
it "should return a hash of the image set settings" do
|
37
|
+
theme.image_sets.should == {
|
38
|
+
'slideshow_images' => [
|
39
|
+
{ :url => 'images/slideshow/1.gif', :width => 1, :height => 1 },
|
40
|
+
{ :url => 'images/slideshow/2.gif', :width => 1, :height => 1 },
|
41
|
+
{ :url => 'images/slideshow/3.gif', :width => 1, :height => 1 },
|
42
|
+
{ :url => 'images/slideshow/4.gif', :width => 1, :height => 1 },
|
43
|
+
{ :url => 'images/slideshow/5.gif', :width => 1, :height => 1 }
|
44
|
+
]
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
27
49
|
describe "#customization" do
|
28
|
-
it "should return a hash of font, color, and
|
50
|
+
it "should return a hash of font, color, option, images and image sets settings values" do
|
29
51
|
theme.customization.should == {
|
30
52
|
'background_color' => '#222222',
|
31
53
|
'fixed_sidebar' => true,
|
32
54
|
'font' => 'Georgia',
|
33
55
|
'header_font' => 'Helvetica',
|
34
56
|
'link_color' => 'red',
|
35
|
-
'show_search' => false
|
57
|
+
'show_search' => false,
|
58
|
+
'logo' => { :url => 'images/logo_bc.png', :width => 1, :height => 1 },
|
59
|
+
'slideshow_images' => [
|
60
|
+
{ :url => "images/slideshow/1.gif", :width => 1, :height => 1 },
|
61
|
+
{ :url => "images/slideshow/2.gif", :width => 1, :height => 1 },
|
62
|
+
{ :url => "images/slideshow/3.gif", :width => 1, :height => 1 },
|
63
|
+
{ :url => "images/slideshow/4.gif", :width => 1, :height => 1 },
|
64
|
+
{ :url => "images/slideshow/5.gif", :width => 1, :height => 1 }
|
65
|
+
]
|
36
66
|
}
|
37
67
|
end
|
38
68
|
|
@@ -50,7 +80,15 @@ describe Dugway::Theme do
|
|
50
80
|
'font' => 'Georgia',
|
51
81
|
'header_font' => 'Helvetica',
|
52
82
|
'link_color' => 'blue',
|
53
|
-
'show_search' => false
|
83
|
+
'show_search' => false,
|
84
|
+
'logo' => { :url => 'images/logo_bc.png', :width => 1, :height => 1 },
|
85
|
+
'slideshow_images' => [
|
86
|
+
{ :url => "images/slideshow/1.gif", :width => 1, :height => 1 },
|
87
|
+
{ :url => "images/slideshow/2.gif", :width => 1, :height => 1 },
|
88
|
+
{ :url => "images/slideshow/3.gif", :width => 1, :height => 1 },
|
89
|
+
{ :url => "images/slideshow/4.gif", :width => 1, :height => 1 },
|
90
|
+
{ :url => "images/slideshow/5.gif", :width => 1, :height => 1 }
|
91
|
+
]
|
54
92
|
}
|
55
93
|
end
|
56
94
|
end
|
@@ -102,13 +140,13 @@ describe Dugway::Theme do
|
|
102
140
|
|
103
141
|
describe "#files" do
|
104
142
|
it "should return an array of all files" do
|
105
|
-
theme.files.should
|
143
|
+
theme.files.should =~ ["cart.html", "checkout.html", "contact.html", "home.html", "layout.html", "maintenance.html", "product.html", "products.html", "screenshot.jpg", "settings.json", "success.html", "theme.css", "theme.js", "images/bc_badge.png", "images/logo_bc.png", "images/slideshow/1.gif", "images/slideshow/2.gif", "images/slideshow/3.gif", "images/slideshow/4.gif", "images/slideshow/5.gif", "images/small.svg", "fonts/icons.ttf", "fonts/icons.woff"]
|
106
144
|
end
|
107
145
|
end
|
108
146
|
|
109
147
|
describe "#image_files" do
|
110
148
|
it "should return an array of all image files" do
|
111
|
-
theme.image_files.should
|
149
|
+
theme.image_files.should =~ ["images/bc_badge.png", "images/logo_bc.png", "images/slideshow/1.gif", "images/slideshow/2.gif", "images/slideshow/3.gif", "images/slideshow/4.gif", "images/slideshow/5.gif", "images/small.svg"]
|
112
150
|
end
|
113
151
|
end
|
114
152
|
|
@@ -202,3 +240,4 @@ describe Dugway::Theme do
|
|
202
240
|
File.read(File.join(Dugway.source_dir, file_name))
|
203
241
|
end
|
204
242
|
end
|
243
|
+
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dugway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Big Cartel
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rack
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rack-mount
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: activesupport
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: liquid
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,6 +94,7 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: coffee-script
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
@@ -90,6 +102,7 @@ dependencies:
|
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
@@ -97,6 +110,7 @@ dependencies:
|
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: sass
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,6 +118,7 @@ dependencies:
|
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
@@ -111,6 +126,7 @@ dependencies:
|
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: sprockets
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
131
|
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
@@ -118,6 +134,7 @@ dependencies:
|
|
118
134
|
type: :runtime
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
139
|
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
@@ -125,6 +142,7 @@ dependencies:
|
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: sprockets-sass
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
147
|
- - ~>
|
130
148
|
- !ruby/object:Gem::Version
|
@@ -132,6 +150,7 @@ dependencies:
|
|
132
150
|
type: :runtime
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
155
|
- - ~>
|
137
156
|
- !ruby/object:Gem::Version
|
@@ -139,6 +158,7 @@ dependencies:
|
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: compass
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
163
|
- - ~>
|
144
164
|
- !ruby/object:Gem::Version
|
@@ -146,6 +166,7 @@ dependencies:
|
|
146
166
|
type: :runtime
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
171
|
- - ~>
|
151
172
|
- !ruby/object:Gem::Version
|
@@ -153,6 +174,7 @@ dependencies:
|
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: httparty
|
155
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
156
178
|
requirements:
|
157
179
|
- - ~>
|
158
180
|
- !ruby/object:Gem::Version
|
@@ -160,6 +182,7 @@ dependencies:
|
|
160
182
|
type: :runtime
|
161
183
|
prerelease: false
|
162
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
163
186
|
requirements:
|
164
187
|
- - ~>
|
165
188
|
- !ruby/object:Gem::Version
|
@@ -167,6 +190,7 @@ dependencies:
|
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: better_errors
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
195
|
- - ~>
|
172
196
|
- !ruby/object:Gem::Version
|
@@ -174,6 +198,7 @@ dependencies:
|
|
174
198
|
type: :runtime
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
177
202
|
requirements:
|
178
203
|
- - ~>
|
179
204
|
- !ruby/object:Gem::Version
|
@@ -181,6 +206,7 @@ dependencies:
|
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: will_paginate
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
211
|
- - ~>
|
186
212
|
- !ruby/object:Gem::Version
|
@@ -188,6 +214,7 @@ dependencies:
|
|
188
214
|
type: :runtime
|
189
215
|
prerelease: false
|
190
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
191
218
|
requirements:
|
192
219
|
- - ~>
|
193
220
|
- !ruby/object:Gem::Version
|
@@ -195,6 +222,7 @@ dependencies:
|
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: i18n
|
197
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
198
226
|
requirements:
|
199
227
|
- - '='
|
200
228
|
- !ruby/object:Gem::Version
|
@@ -202,6 +230,7 @@ dependencies:
|
|
202
230
|
type: :runtime
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
205
234
|
requirements:
|
206
235
|
- - '='
|
207
236
|
- !ruby/object:Gem::Version
|
@@ -209,6 +238,7 @@ dependencies:
|
|
209
238
|
- !ruby/object:Gem::Dependency
|
210
239
|
name: htmlentities
|
211
240
|
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
212
242
|
requirements:
|
213
243
|
- - ~>
|
214
244
|
- !ruby/object:Gem::Version
|
@@ -216,6 +246,7 @@ dependencies:
|
|
216
246
|
type: :runtime
|
217
247
|
prerelease: false
|
218
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
219
250
|
requirements:
|
220
251
|
- - ~>
|
221
252
|
- !ruby/object:Gem::Version
|
@@ -223,6 +254,7 @@ dependencies:
|
|
223
254
|
- !ruby/object:Gem::Dependency
|
224
255
|
name: thor
|
225
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
226
258
|
requirements:
|
227
259
|
- - ~>
|
228
260
|
- !ruby/object:Gem::Version
|
@@ -230,6 +262,7 @@ dependencies:
|
|
230
262
|
type: :runtime
|
231
263
|
prerelease: false
|
232
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
233
266
|
requirements:
|
234
267
|
- - ~>
|
235
268
|
- !ruby/object:Gem::Version
|
@@ -237,6 +270,7 @@ dependencies:
|
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: rubyzip
|
239
272
|
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
240
274
|
requirements:
|
241
275
|
- - ~>
|
242
276
|
- !ruby/object:Gem::Version
|
@@ -244,6 +278,7 @@ dependencies:
|
|
244
278
|
type: :runtime
|
245
279
|
prerelease: false
|
246
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
247
282
|
requirements:
|
248
283
|
- - ~>
|
249
284
|
- !ruby/object:Gem::Version
|
@@ -251,6 +286,7 @@ dependencies:
|
|
251
286
|
- !ruby/object:Gem::Dependency
|
252
287
|
name: uglifier
|
253
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
254
290
|
requirements:
|
255
291
|
- - ~>
|
256
292
|
- !ruby/object:Gem::Version
|
@@ -258,6 +294,7 @@ dependencies:
|
|
258
294
|
type: :runtime
|
259
295
|
prerelease: false
|
260
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
261
298
|
requirements:
|
262
299
|
- - ~>
|
263
300
|
- !ruby/object:Gem::Version
|
@@ -265,6 +302,7 @@ dependencies:
|
|
265
302
|
- !ruby/object:Gem::Dependency
|
266
303
|
name: thin
|
267
304
|
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
268
306
|
requirements:
|
269
307
|
- - ~>
|
270
308
|
- !ruby/object:Gem::Version
|
@@ -272,6 +310,7 @@ dependencies:
|
|
272
310
|
type: :runtime
|
273
311
|
prerelease: false
|
274
312
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
275
314
|
requirements:
|
276
315
|
- - ~>
|
277
316
|
- !ruby/object:Gem::Version
|
@@ -279,34 +318,39 @@ dependencies:
|
|
279
318
|
- !ruby/object:Gem::Dependency
|
280
319
|
name: bigcartel-theme-fonts
|
281
320
|
requirement: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
282
322
|
requirements:
|
283
|
-
- - '>='
|
323
|
+
- - ! '>='
|
284
324
|
- !ruby/object:Gem::Version
|
285
325
|
version: '0'
|
286
326
|
type: :runtime
|
287
327
|
prerelease: false
|
288
328
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
289
330
|
requirements:
|
290
|
-
- - '>='
|
331
|
+
- - ! '>='
|
291
332
|
- !ruby/object:Gem::Version
|
292
333
|
version: '0'
|
293
334
|
- !ruby/object:Gem::Dependency
|
294
335
|
name: bigcartel-currency-locales
|
295
336
|
requirement: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
296
338
|
requirements:
|
297
|
-
- - '>='
|
339
|
+
- - ! '>='
|
298
340
|
- !ruby/object:Gem::Version
|
299
341
|
version: '0'
|
300
342
|
type: :runtime
|
301
343
|
prerelease: false
|
302
344
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
303
346
|
requirements:
|
304
|
-
- - '>='
|
347
|
+
- - ! '>='
|
305
348
|
- !ruby/object:Gem::Version
|
306
349
|
version: '0'
|
307
350
|
- !ruby/object:Gem::Dependency
|
308
351
|
name: rake
|
309
352
|
requirement: !ruby/object:Gem::Requirement
|
353
|
+
none: false
|
310
354
|
requirements:
|
311
355
|
- - ~>
|
312
356
|
- !ruby/object:Gem::Version
|
@@ -314,6 +358,7 @@ dependencies:
|
|
314
358
|
type: :development
|
315
359
|
prerelease: false
|
316
360
|
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
317
362
|
requirements:
|
318
363
|
- - ~>
|
319
364
|
- !ruby/object:Gem::Version
|
@@ -321,6 +366,7 @@ dependencies:
|
|
321
366
|
- !ruby/object:Gem::Dependency
|
322
367
|
name: rspec
|
323
368
|
requirement: !ruby/object:Gem::Requirement
|
369
|
+
none: false
|
324
370
|
requirements:
|
325
371
|
- - ~>
|
326
372
|
- !ruby/object:Gem::Version
|
@@ -328,6 +374,7 @@ dependencies:
|
|
328
374
|
type: :development
|
329
375
|
prerelease: false
|
330
376
|
version_requirements: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
331
378
|
requirements:
|
332
379
|
- - ~>
|
333
380
|
- !ruby/object:Gem::Version
|
@@ -335,6 +382,7 @@ dependencies:
|
|
335
382
|
- !ruby/object:Gem::Dependency
|
336
383
|
name: webmock
|
337
384
|
requirement: !ruby/object:Gem::Requirement
|
385
|
+
none: false
|
338
386
|
requirements:
|
339
387
|
- - ~>
|
340
388
|
- !ruby/object:Gem::Version
|
@@ -342,6 +390,7 @@ dependencies:
|
|
342
390
|
type: :development
|
343
391
|
prerelease: false
|
344
392
|
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
none: false
|
345
394
|
requirements:
|
346
395
|
- - ~>
|
347
396
|
- !ruby/object:Gem::Version
|
@@ -349,6 +398,7 @@ dependencies:
|
|
349
398
|
- !ruby/object:Gem::Dependency
|
350
399
|
name: json_expressions
|
351
400
|
requirement: !ruby/object:Gem::Requirement
|
401
|
+
none: false
|
352
402
|
requirements:
|
353
403
|
- - ~>
|
354
404
|
- !ruby/object:Gem::Version
|
@@ -356,6 +406,7 @@ dependencies:
|
|
356
406
|
type: :development
|
357
407
|
prerelease: false
|
358
408
|
version_requirements: !ruby/object:Gem::Requirement
|
409
|
+
none: false
|
359
410
|
requirements:
|
360
411
|
- - ~>
|
361
412
|
- !ruby/object:Gem::Version
|
@@ -363,6 +414,7 @@ dependencies:
|
|
363
414
|
- !ruby/object:Gem::Dependency
|
364
415
|
name: capybara
|
365
416
|
requirement: !ruby/object:Gem::Requirement
|
417
|
+
none: false
|
366
418
|
requirements:
|
367
419
|
- - ~>
|
368
420
|
- !ruby/object:Gem::Version
|
@@ -370,6 +422,7 @@ dependencies:
|
|
370
422
|
type: :development
|
371
423
|
prerelease: false
|
372
424
|
version_requirements: !ruby/object:Gem::Requirement
|
425
|
+
none: false
|
373
426
|
requirements:
|
374
427
|
- - ~>
|
375
428
|
- !ruby/object:Gem::Version
|
@@ -377,6 +430,7 @@ dependencies:
|
|
377
430
|
- !ruby/object:Gem::Dependency
|
378
431
|
name: simplecov
|
379
432
|
requirement: !ruby/object:Gem::Requirement
|
433
|
+
none: false
|
380
434
|
requirements:
|
381
435
|
- - ~>
|
382
436
|
- !ruby/object:Gem::Version
|
@@ -384,6 +438,7 @@ dependencies:
|
|
384
438
|
type: :development
|
385
439
|
prerelease: false
|
386
440
|
version_requirements: !ruby/object:Gem::Requirement
|
441
|
+
none: false
|
387
442
|
requirements:
|
388
443
|
- - ~>
|
389
444
|
- !ruby/object:Gem::Version
|
@@ -491,6 +546,12 @@ files:
|
|
491
546
|
- spec/fixtures/theme/fonts/icons.woff
|
492
547
|
- spec/fixtures/theme/home.html
|
493
548
|
- spec/fixtures/theme/images/bc_badge.png
|
549
|
+
- spec/fixtures/theme/images/logo_bc.png
|
550
|
+
- spec/fixtures/theme/images/slideshow/1.gif
|
551
|
+
- spec/fixtures/theme/images/slideshow/2.gif
|
552
|
+
- spec/fixtures/theme/images/slideshow/3.gif
|
553
|
+
- spec/fixtures/theme/images/slideshow/4.gif
|
554
|
+
- spec/fixtures/theme/images/slideshow/5.gif
|
494
555
|
- spec/fixtures/theme/images/small.svg
|
495
556
|
- spec/fixtures/theme/javascripts/one.js
|
496
557
|
- spec/fixtures/theme/javascripts/two.js.coffee
|
@@ -537,26 +598,27 @@ files:
|
|
537
598
|
homepage: https://github.com/bigcartel/dugway
|
538
599
|
licenses:
|
539
600
|
- MIT
|
540
|
-
metadata: {}
|
541
601
|
post_install_message:
|
542
602
|
rdoc_options: []
|
543
603
|
require_paths:
|
544
604
|
- lib
|
545
605
|
required_ruby_version: !ruby/object:Gem::Requirement
|
606
|
+
none: false
|
546
607
|
requirements:
|
547
|
-
- - '>='
|
608
|
+
- - ! '>='
|
548
609
|
- !ruby/object:Gem::Version
|
549
610
|
version: '0'
|
550
611
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
612
|
+
none: false
|
551
613
|
requirements:
|
552
|
-
- - '>='
|
614
|
+
- - ! '>='
|
553
615
|
- !ruby/object:Gem::Version
|
554
616
|
version: '0'
|
555
617
|
requirements: []
|
556
618
|
rubyforge_project:
|
557
|
-
rubygems_version:
|
619
|
+
rubygems_version: 1.8.23
|
558
620
|
signing_key:
|
559
|
-
specification_version:
|
621
|
+
specification_version: 3
|
560
622
|
summary: Easily build and test Big Cartel themes.
|
561
623
|
test_files:
|
562
624
|
- spec/features/contact_form_spec.rb
|
@@ -572,6 +634,12 @@ test_files:
|
|
572
634
|
- spec/fixtures/theme/fonts/icons.woff
|
573
635
|
- spec/fixtures/theme/home.html
|
574
636
|
- spec/fixtures/theme/images/bc_badge.png
|
637
|
+
- spec/fixtures/theme/images/logo_bc.png
|
638
|
+
- spec/fixtures/theme/images/slideshow/1.gif
|
639
|
+
- spec/fixtures/theme/images/slideshow/2.gif
|
640
|
+
- spec/fixtures/theme/images/slideshow/3.gif
|
641
|
+
- spec/fixtures/theme/images/slideshow/4.gif
|
642
|
+
- spec/fixtures/theme/images/slideshow/5.gif
|
575
643
|
- spec/fixtures/theme/images/small.svg
|
576
644
|
- spec/fixtures/theme/javascripts/one.js
|
577
645
|
- spec/fixtures/theme/javascripts/two.js.coffee
|
@@ -615,3 +683,4 @@ test_files:
|
|
615
683
|
- spec/units/dugway/store_spec.rb
|
616
684
|
- spec/units/dugway/template_spec.rb
|
617
685
|
- spec/units/dugway/theme_spec.rb
|
686
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: ec3ab164449c18324aa0166199e70ebf5a8e40e5
|
4
|
-
data.tar.gz: bfac3e89e07a3a8a0fd73053cbdfec0aefecf7b9
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: a609345dc51cf8fdd9328e87684994a2f7e0e8c911123398920767fa676151823fd732e3403ea10000e4f25486ae28ad90c0f75a209dc9d792af85fa2c723fd6
|
7
|
-
data.tar.gz: b9de9ebfc2d25b5abeeab08ae153b4b811f1bf2c2337bfc8176ed5a3ffc5e3bcb9e99c754521a700bf063061858f812c677f85d9015dc36d398ecbfe35df5406
|