dugway 0.6.7 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +9 -9
- data/dugway.gemspec +2 -0
- data/lib/dugway.rb +3 -2
- data/lib/dugway/application.rb +4 -4
- data/lib/dugway/cli/templates/source/{styles.css → theme.css} +0 -0
- data/lib/dugway/cli/templates/source/{scripts.js → theme.js} +0 -0
- data/lib/dugway/controller.rb +4 -7
- data/lib/dugway/liquid/filters/url_filters.rb +2 -2
- data/lib/dugway/liquifier.rb +1 -1
- data/lib/dugway/theme.rb +3 -3
- data/lib/dugway/version.rb +1 -1
- data/spec/features/page_rendering_spec.rb +22 -6
- data/spec/fixtures/theme/javascripts/one.js +1 -3
- data/spec/fixtures/theme/javascripts/two.js.coffee +1 -2
- data/spec/fixtures/theme/{styles.css → theme.css} +0 -0
- data/spec/fixtures/theme/{scripts.js → theme.js} +0 -0
- data/spec/units/dugway/request_spec.rb +42 -42
- data/spec/units/dugway/template_spec.rb +31 -31
- data/spec/units/dugway/theme_spec.rb +11 -11
- metadata +41 -91
- data/lib/dugway/data/locales/cs.yml +0 -26
- data/lib/dugway/data/locales/da.yml +0 -26
- data/lib/dugway/data/locales/en-AU.yml +0 -26
- data/lib/dugway/data/locales/en-GB.yml +0 -26
- data/lib/dugway/data/locales/en-PH.yml +0 -27
- data/lib/dugway/data/locales/en-US.yml +0 -26
- data/lib/dugway/data/locales/es-MX.yml +0 -26
- data/lib/dugway/data/locales/eu.yml +0 -26
- data/lib/dugway/data/locales/gsw-CH.yml +0 -26
- data/lib/dugway/data/locales/hu.yml +0 -26
- data/lib/dugway/data/locales/il.yml +0 -26
- data/lib/dugway/data/locales/ja.yml +0 -30
- data/lib/dugway/data/locales/ms-MY.yml +0 -26
- data/lib/dugway/data/locales/nb.yml +0 -22
- data/lib/dugway/data/locales/pl.yml +0 -27
- data/lib/dugway/data/locales/pt-BR.yml +0 -26
- data/lib/dugway/data/locales/sv-SE.yml +0 -26
- data/lib/dugway/data/locales/th.yml +0 -26
- data/lib/dugway/data/locales/tr.yml +0 -29
- data/lib/dugway/data/locales/zh-TW.yml +0 -30
- data/lib/dugway/data/theme_fonts.yml +0 -151
- data/lib/dugway/theme_font.rb +0 -68
- data/spec/units/dugway/theme_font_spec.rb +0 -136
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
describe Dugway::Template do
|
4
4
|
let(:name) { 'home.html' }
|
5
5
|
let(:template) { Dugway::Template.new(name) }
|
6
|
-
|
6
|
+
|
7
7
|
describe "#content" do
|
8
8
|
it "returns the content of the file" do
|
9
9
|
template.content.should == Dugway.theme.file_content(name)
|
@@ -16,88 +16,88 @@ describe Dugway::Template do
|
|
16
16
|
template.content_type.should == 'text/html'
|
17
17
|
end
|
18
18
|
end
|
19
|
-
|
19
|
+
|
20
20
|
describe "for CSS" do
|
21
|
-
let(:name) { '
|
22
|
-
|
21
|
+
let(:name) { 'theme.css' }
|
22
|
+
|
23
23
|
it "returns the proper content type" do
|
24
24
|
template.content_type.should == 'text/css'
|
25
25
|
end
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
describe "for JS" do
|
29
|
-
let(:name) { '
|
30
|
-
|
29
|
+
let(:name) { 'theme.js' }
|
30
|
+
|
31
31
|
it "returns the proper content type" do
|
32
32
|
template.content_type.should == 'application/javascript'
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
36
|
-
|
36
|
+
|
37
37
|
describe "#extension" do
|
38
38
|
describe "for HTML" do
|
39
39
|
it "returns the proper extension" do
|
40
40
|
template.extension.should == '.html'
|
41
41
|
end
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
describe "for CSS" do
|
45
|
-
let(:name) { '
|
46
|
-
|
45
|
+
let(:name) { 'theme.css' }
|
46
|
+
|
47
47
|
it "returns the proper extension" do
|
48
48
|
template.extension.should == '.css'
|
49
49
|
end
|
50
50
|
end
|
51
|
-
|
51
|
+
|
52
52
|
describe "for JS" do
|
53
|
-
let(:name) { '
|
54
|
-
|
53
|
+
let(:name) { 'theme.js' }
|
54
|
+
|
55
55
|
it "returns the proper extension" do
|
56
56
|
template.extension.should == '.js'
|
57
57
|
end
|
58
58
|
end
|
59
59
|
end
|
60
|
-
|
60
|
+
|
61
61
|
describe "#html?" do
|
62
62
|
describe "when it's an HTML template" do
|
63
63
|
it "returns true" do
|
64
64
|
template.html?.should be_true
|
65
65
|
end
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
68
|
describe "when it's not an HTML template" do
|
69
|
-
let(:name) { '
|
70
|
-
|
69
|
+
let(:name) { 'theme.css' }
|
70
|
+
|
71
71
|
it "returns false" do
|
72
72
|
template.html?.should be_false
|
73
73
|
end
|
74
74
|
end
|
75
75
|
end
|
76
|
-
|
76
|
+
|
77
77
|
describe "#standalone_html?" do
|
78
78
|
describe "for HTML pages with head_content" do
|
79
79
|
let(:name) { 'maintenance.html' }
|
80
|
-
|
80
|
+
|
81
81
|
it "returns true" do
|
82
82
|
template.standalone_html?.should be_true
|
83
83
|
end
|
84
84
|
end
|
85
|
-
|
85
|
+
|
86
86
|
describe "for HTML pages without head_content" do
|
87
87
|
it "returns false" do
|
88
88
|
template.standalone_html?.should be_false
|
89
89
|
end
|
90
90
|
end
|
91
|
-
|
91
|
+
|
92
92
|
describe "for non-HTML" do
|
93
|
-
let(:name) { '
|
94
|
-
|
93
|
+
let(:name) { 'theme.css' }
|
94
|
+
|
95
95
|
it "returns false" do
|
96
96
|
template.standalone_html?.should be_false
|
97
97
|
end
|
98
98
|
end
|
99
99
|
end
|
100
|
-
|
100
|
+
|
101
101
|
describe "#render" do
|
102
102
|
let(:theme) { Dugway.theme }
|
103
103
|
let(:store) { Dugway::Store.new('dugway') }
|
@@ -105,7 +105,7 @@ describe Dugway::Template do
|
|
105
105
|
let(:variables) { {} }
|
106
106
|
let(:layout) { theme.layout }
|
107
107
|
let(:content) { theme.file_content(name) }
|
108
|
-
|
108
|
+
|
109
109
|
describe "when rendering an embedded HTML template" do
|
110
110
|
it "calls renders properly with Liquifier" do
|
111
111
|
Dugway::Liquifier.any_instance.should_receive(:render).with(content, variables) { content }
|
@@ -113,19 +113,19 @@ describe Dugway::Template do
|
|
113
113
|
template.render(request, variables)
|
114
114
|
end
|
115
115
|
end
|
116
|
-
|
116
|
+
|
117
117
|
describe "when rendering a standalone HTML template" do
|
118
118
|
let(:name) { 'maintenance.html' }
|
119
|
-
|
119
|
+
|
120
120
|
it "calls renders properly with Liquifier" do
|
121
121
|
Dugway::Liquifier.any_instance.should_receive(:render).with(content, variables)
|
122
122
|
template.render(request, variables)
|
123
123
|
end
|
124
124
|
end
|
125
|
-
|
125
|
+
|
126
126
|
describe "when rendering non-HTML template" do
|
127
|
-
let(:name) { '
|
128
|
-
|
127
|
+
let(:name) { 'theme.js' }
|
128
|
+
|
129
129
|
it "doesn't liquify it" do
|
130
130
|
Dugway::Liquifier.any_instance.should_not_receive(:render)
|
131
131
|
template.render(request, variables).should == content
|
@@ -75,12 +75,12 @@ describe Dugway::Theme do
|
|
75
75
|
}
|
76
76
|
end
|
77
77
|
|
78
|
-
it "should sprocketize
|
79
|
-
theme.file_content('
|
78
|
+
it "should sprocketize theme.js" do
|
79
|
+
theme.file_content('theme.js').gsub(/\s+/, '').should == %{console.log('One');(function(){console.log('Two');}).call(this);}
|
80
80
|
end
|
81
81
|
|
82
|
-
it "should sprocketize and liquify
|
83
|
-
theme.file_content('
|
82
|
+
it "should sprocketize and liquify theme.css" do
|
83
|
+
theme.file_content('theme.css').gsub(/\s+/, '').should == %{html,body{height:100%;}a{background:lime;color:red;}footercitea{background:url(/images/bc_badge.png)no-repeat;}/**/}
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
@@ -91,18 +91,18 @@ describe Dugway::Theme do
|
|
91
91
|
}
|
92
92
|
end
|
93
93
|
|
94
|
-
it "should sprocketize and compress
|
95
|
-
theme.build_file('
|
94
|
+
it "should sprocketize and compress theme.js" do
|
95
|
+
theme.build_file('theme.js').should == %{console.log(\"One\"),function(){console.log(\"Two\")}.call(this);}
|
96
96
|
end
|
97
97
|
|
98
|
-
it "should sprocketize and not liquify
|
99
|
-
theme.build_file('
|
98
|
+
it "should sprocketize and not liquify theme.css" do
|
99
|
+
theme.build_file('theme.css').gsub(/\s+/, '').should == %{html,body{height:100%;}a{background:lime;color:{{theme.link_color}};}footercitea{background:url({{'bc_badge.png'|theme_image_url}})no-repeat;}/**/}
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
103
|
describe "#files" do
|
104
104
|
it "should return an array of all files" do
|
105
|
-
theme.files.should == ["
|
105
|
+
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"]
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
@@ -120,13 +120,13 @@ describe Dugway::Theme do
|
|
120
120
|
|
121
121
|
describe "when missing a required file" do
|
122
122
|
before(:each) do
|
123
|
-
theme.stub(:read_source_file).with('
|
123
|
+
theme.stub(:read_source_file).with('cart.html') { theme.unstub!(:read_source_file); nil }
|
124
124
|
end
|
125
125
|
|
126
126
|
it "should not be valid" do
|
127
127
|
theme.valid?.should be(false)
|
128
128
|
theme.errors.size.should == 1
|
129
|
-
theme.errors.first.should == 'Missing source/
|
129
|
+
theme.errors.first.should == 'Missing source/cart.html'
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dugway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.7.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Big Cartel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-31 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rack
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rack-mount
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: activesupport
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: liquid
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: coffee-script
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: sass
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ~>
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -126,7 +111,6 @@ dependencies:
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: sprockets
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
115
|
- - ~>
|
132
116
|
- !ruby/object:Gem::Version
|
@@ -134,7 +118,6 @@ dependencies:
|
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
122
|
- - ~>
|
140
123
|
- !ruby/object:Gem::Version
|
@@ -142,7 +125,6 @@ dependencies:
|
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: sprockets-sass
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
129
|
- - ~>
|
148
130
|
- !ruby/object:Gem::Version
|
@@ -150,7 +132,6 @@ dependencies:
|
|
150
132
|
type: :runtime
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
136
|
- - ~>
|
156
137
|
- !ruby/object:Gem::Version
|
@@ -158,7 +139,6 @@ dependencies:
|
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: compass
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
143
|
- - ~>
|
164
144
|
- !ruby/object:Gem::Version
|
@@ -166,7 +146,6 @@ dependencies:
|
|
166
146
|
type: :runtime
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
150
|
- - ~>
|
172
151
|
- !ruby/object:Gem::Version
|
@@ -174,7 +153,6 @@ dependencies:
|
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: httparty
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
157
|
- - ~>
|
180
158
|
- !ruby/object:Gem::Version
|
@@ -182,7 +160,6 @@ dependencies:
|
|
182
160
|
type: :runtime
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
164
|
- - ~>
|
188
165
|
- !ruby/object:Gem::Version
|
@@ -190,7 +167,6 @@ dependencies:
|
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: better_errors
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
171
|
- - ~>
|
196
172
|
- !ruby/object:Gem::Version
|
@@ -198,7 +174,6 @@ dependencies:
|
|
198
174
|
type: :runtime
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
178
|
- - ~>
|
204
179
|
- !ruby/object:Gem::Version
|
@@ -206,7 +181,6 @@ dependencies:
|
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: binding_of_caller
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
185
|
- - ~>
|
212
186
|
- !ruby/object:Gem::Version
|
@@ -214,7 +188,6 @@ dependencies:
|
|
214
188
|
type: :runtime
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
192
|
- - ~>
|
220
193
|
- !ruby/object:Gem::Version
|
@@ -222,7 +195,6 @@ dependencies:
|
|
222
195
|
- !ruby/object:Gem::Dependency
|
223
196
|
name: will_paginate
|
224
197
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
198
|
requirements:
|
227
199
|
- - ~>
|
228
200
|
- !ruby/object:Gem::Version
|
@@ -230,7 +202,6 @@ dependencies:
|
|
230
202
|
type: :runtime
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
205
|
requirements:
|
235
206
|
- - ~>
|
236
207
|
- !ruby/object:Gem::Version
|
@@ -238,7 +209,6 @@ dependencies:
|
|
238
209
|
- !ruby/object:Gem::Dependency
|
239
210
|
name: i18n
|
240
211
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
212
|
requirements:
|
243
213
|
- - '='
|
244
214
|
- !ruby/object:Gem::Version
|
@@ -246,7 +216,6 @@ dependencies:
|
|
246
216
|
type: :runtime
|
247
217
|
prerelease: false
|
248
218
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
219
|
requirements:
|
251
220
|
- - '='
|
252
221
|
- !ruby/object:Gem::Version
|
@@ -254,7 +223,6 @@ dependencies:
|
|
254
223
|
- !ruby/object:Gem::Dependency
|
255
224
|
name: htmlentities
|
256
225
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
226
|
requirements:
|
259
227
|
- - ~>
|
260
228
|
- !ruby/object:Gem::Version
|
@@ -262,7 +230,6 @@ dependencies:
|
|
262
230
|
type: :runtime
|
263
231
|
prerelease: false
|
264
232
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
233
|
requirements:
|
267
234
|
- - ~>
|
268
235
|
- !ruby/object:Gem::Version
|
@@ -270,7 +237,6 @@ dependencies:
|
|
270
237
|
- !ruby/object:Gem::Dependency
|
271
238
|
name: thor
|
272
239
|
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
240
|
requirements:
|
275
241
|
- - ~>
|
276
242
|
- !ruby/object:Gem::Version
|
@@ -278,7 +244,6 @@ dependencies:
|
|
278
244
|
type: :runtime
|
279
245
|
prerelease: false
|
280
246
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
247
|
requirements:
|
283
248
|
- - ~>
|
284
249
|
- !ruby/object:Gem::Version
|
@@ -286,7 +251,6 @@ dependencies:
|
|
286
251
|
- !ruby/object:Gem::Dependency
|
287
252
|
name: rubyzip
|
288
253
|
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
254
|
requirements:
|
291
255
|
- - ~>
|
292
256
|
- !ruby/object:Gem::Version
|
@@ -294,7 +258,6 @@ dependencies:
|
|
294
258
|
type: :runtime
|
295
259
|
prerelease: false
|
296
260
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
261
|
requirements:
|
299
262
|
- - ~>
|
300
263
|
- !ruby/object:Gem::Version
|
@@ -302,7 +265,6 @@ dependencies:
|
|
302
265
|
- !ruby/object:Gem::Dependency
|
303
266
|
name: uglifier
|
304
267
|
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
268
|
requirements:
|
307
269
|
- - ~>
|
308
270
|
- !ruby/object:Gem::Version
|
@@ -310,7 +272,6 @@ dependencies:
|
|
310
272
|
type: :runtime
|
311
273
|
prerelease: false
|
312
274
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
275
|
requirements:
|
315
276
|
- - ~>
|
316
277
|
- !ruby/object:Gem::Version
|
@@ -318,7 +279,6 @@ dependencies:
|
|
318
279
|
- !ruby/object:Gem::Dependency
|
319
280
|
name: thin
|
320
281
|
requirement: !ruby/object:Gem::Requirement
|
321
|
-
none: false
|
322
282
|
requirements:
|
323
283
|
- - ~>
|
324
284
|
- !ruby/object:Gem::Version
|
@@ -326,15 +286,41 @@ dependencies:
|
|
326
286
|
type: :runtime
|
327
287
|
prerelease: false
|
328
288
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
289
|
requirements:
|
331
290
|
- - ~>
|
332
291
|
- !ruby/object:Gem::Version
|
333
292
|
version: 1.5.0
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: bigcartel-theme-fonts
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - '>='
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - '>='
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: bigcartel-currency-locales
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - '>='
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - '>='
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
334
321
|
- !ruby/object:Gem::Dependency
|
335
322
|
name: rake
|
336
323
|
requirement: !ruby/object:Gem::Requirement
|
337
|
-
none: false
|
338
324
|
requirements:
|
339
325
|
- - ~>
|
340
326
|
- !ruby/object:Gem::Version
|
@@ -342,7 +328,6 @@ dependencies:
|
|
342
328
|
type: :development
|
343
329
|
prerelease: false
|
344
330
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
none: false
|
346
331
|
requirements:
|
347
332
|
- - ~>
|
348
333
|
- !ruby/object:Gem::Version
|
@@ -350,7 +335,6 @@ dependencies:
|
|
350
335
|
- !ruby/object:Gem::Dependency
|
351
336
|
name: rspec
|
352
337
|
requirement: !ruby/object:Gem::Requirement
|
353
|
-
none: false
|
354
338
|
requirements:
|
355
339
|
- - ~>
|
356
340
|
- !ruby/object:Gem::Version
|
@@ -358,7 +342,6 @@ dependencies:
|
|
358
342
|
type: :development
|
359
343
|
prerelease: false
|
360
344
|
version_requirements: !ruby/object:Gem::Requirement
|
361
|
-
none: false
|
362
345
|
requirements:
|
363
346
|
- - ~>
|
364
347
|
- !ruby/object:Gem::Version
|
@@ -366,7 +349,6 @@ dependencies:
|
|
366
349
|
- !ruby/object:Gem::Dependency
|
367
350
|
name: webmock
|
368
351
|
requirement: !ruby/object:Gem::Requirement
|
369
|
-
none: false
|
370
352
|
requirements:
|
371
353
|
- - ~>
|
372
354
|
- !ruby/object:Gem::Version
|
@@ -374,7 +356,6 @@ dependencies:
|
|
374
356
|
type: :development
|
375
357
|
prerelease: false
|
376
358
|
version_requirements: !ruby/object:Gem::Requirement
|
377
|
-
none: false
|
378
359
|
requirements:
|
379
360
|
- - ~>
|
380
361
|
- !ruby/object:Gem::Version
|
@@ -382,7 +363,6 @@ dependencies:
|
|
382
363
|
- !ruby/object:Gem::Dependency
|
383
364
|
name: json_expressions
|
384
365
|
requirement: !ruby/object:Gem::Requirement
|
385
|
-
none: false
|
386
366
|
requirements:
|
387
367
|
- - ~>
|
388
368
|
- !ruby/object:Gem::Version
|
@@ -390,7 +370,6 @@ dependencies:
|
|
390
370
|
type: :development
|
391
371
|
prerelease: false
|
392
372
|
version_requirements: !ruby/object:Gem::Requirement
|
393
|
-
none: false
|
394
373
|
requirements:
|
395
374
|
- - ~>
|
396
375
|
- !ruby/object:Gem::Version
|
@@ -398,7 +377,6 @@ dependencies:
|
|
398
377
|
- !ruby/object:Gem::Dependency
|
399
378
|
name: capybara
|
400
379
|
requirement: !ruby/object:Gem::Requirement
|
401
|
-
none: false
|
402
380
|
requirements:
|
403
381
|
- - ~>
|
404
382
|
- !ruby/object:Gem::Version
|
@@ -406,7 +384,6 @@ dependencies:
|
|
406
384
|
type: :development
|
407
385
|
prerelease: false
|
408
386
|
version_requirements: !ruby/object:Gem::Requirement
|
409
|
-
none: false
|
410
387
|
requirements:
|
411
388
|
- - ~>
|
412
389
|
- !ruby/object:Gem::Version
|
@@ -414,7 +391,6 @@ dependencies:
|
|
414
391
|
- !ruby/object:Gem::Dependency
|
415
392
|
name: simplecov
|
416
393
|
requirement: !ruby/object:Gem::Requirement
|
417
|
-
none: false
|
418
394
|
requirements:
|
419
395
|
- - ~>
|
420
396
|
- !ruby/object:Gem::Version
|
@@ -422,7 +398,6 @@ dependencies:
|
|
422
398
|
type: :development
|
423
399
|
prerelease: false
|
424
400
|
version_requirements: !ruby/object:Gem::Requirement
|
425
|
-
none: false
|
426
401
|
requirements:
|
427
402
|
- - ~>
|
428
403
|
- !ruby/object:Gem::Version
|
@@ -467,9 +442,7 @@ files:
|
|
467
442
|
- lib/dugway/cli/templates/source/product.html
|
468
443
|
- lib/dugway/cli/templates/source/products.html
|
469
444
|
- lib/dugway/cli/templates/source/screenshot.jpg
|
470
|
-
- lib/dugway/cli/templates/source/scripts.js
|
471
445
|
- lib/dugway/cli/templates/source/settings.json
|
472
|
-
- lib/dugway/cli/templates/source/styles.css
|
473
446
|
- lib/dugway/cli/templates/source/stylesheets/_config.css.sass
|
474
447
|
- lib/dugway/cli/templates/source/stylesheets/cart.css.sass
|
475
448
|
- lib/dugway/cli/templates/source/stylesheets/layout.css.sass
|
@@ -477,28 +450,9 @@ files:
|
|
477
450
|
- lib/dugway/cli/templates/source/stylesheets/products.css.sass
|
478
451
|
- lib/dugway/cli/templates/source/stylesheets/vendor/normalize.css
|
479
452
|
- lib/dugway/cli/templates/source/success.html
|
453
|
+
- lib/dugway/cli/templates/source/theme.css
|
454
|
+
- lib/dugway/cli/templates/source/theme.js
|
480
455
|
- lib/dugway/controller.rb
|
481
|
-
- lib/dugway/data/locales/cs.yml
|
482
|
-
- lib/dugway/data/locales/da.yml
|
483
|
-
- lib/dugway/data/locales/en-AU.yml
|
484
|
-
- lib/dugway/data/locales/en-GB.yml
|
485
|
-
- lib/dugway/data/locales/en-PH.yml
|
486
|
-
- lib/dugway/data/locales/en-US.yml
|
487
|
-
- lib/dugway/data/locales/es-MX.yml
|
488
|
-
- lib/dugway/data/locales/eu.yml
|
489
|
-
- lib/dugway/data/locales/gsw-CH.yml
|
490
|
-
- lib/dugway/data/locales/hu.yml
|
491
|
-
- lib/dugway/data/locales/il.yml
|
492
|
-
- lib/dugway/data/locales/ja.yml
|
493
|
-
- lib/dugway/data/locales/ms-MY.yml
|
494
|
-
- lib/dugway/data/locales/nb.yml
|
495
|
-
- lib/dugway/data/locales/pl.yml
|
496
|
-
- lib/dugway/data/locales/pt-BR.yml
|
497
|
-
- lib/dugway/data/locales/sv-SE.yml
|
498
|
-
- lib/dugway/data/locales/th.yml
|
499
|
-
- lib/dugway/data/locales/tr.yml
|
500
|
-
- lib/dugway/data/locales/zh-TW.yml
|
501
|
-
- lib/dugway/data/theme_fonts.yml
|
502
456
|
- lib/dugway/extensions/time.rb
|
503
457
|
- lib/dugway/liquid/drops/account_drop.rb
|
504
458
|
- lib/dugway/liquid/drops/artist_drop.rb
|
@@ -534,7 +488,6 @@ files:
|
|
534
488
|
- lib/dugway/store.rb
|
535
489
|
- lib/dugway/template.rb
|
536
490
|
- lib/dugway/theme.rb
|
537
|
-
- lib/dugway/theme_font.rb
|
538
491
|
- lib/dugway/version.rb
|
539
492
|
- spec/features/contact_form_spec.rb
|
540
493
|
- spec/features/page_rendering_spec.rb
|
@@ -554,13 +507,13 @@ files:
|
|
554
507
|
- spec/fixtures/theme/product.html
|
555
508
|
- spec/fixtures/theme/products.html
|
556
509
|
- spec/fixtures/theme/screenshot.jpg
|
557
|
-
- spec/fixtures/theme/scripts.js
|
558
510
|
- spec/fixtures/theme/settings.json
|
559
|
-
- spec/fixtures/theme/styles.css
|
560
511
|
- spec/fixtures/theme/stylesheets/_partial.css
|
561
512
|
- spec/fixtures/theme/stylesheets/one.css
|
562
513
|
- spec/fixtures/theme/stylesheets/two.css.sass
|
563
514
|
- spec/fixtures/theme/success.html
|
515
|
+
- spec/fixtures/theme/theme.css
|
516
|
+
- spec/fixtures/theme/theme.js
|
564
517
|
- spec/spec_helper.rb
|
565
518
|
- spec/units/dugway/cart_spec.rb
|
566
519
|
- spec/units/dugway/liquid/drops/account_drop_spec.rb
|
@@ -584,32 +537,30 @@ files:
|
|
584
537
|
- spec/units/dugway/request_spec.rb
|
585
538
|
- spec/units/dugway/store_spec.rb
|
586
539
|
- spec/units/dugway/template_spec.rb
|
587
|
-
- spec/units/dugway/theme_font_spec.rb
|
588
540
|
- spec/units/dugway/theme_spec.rb
|
589
541
|
homepage: https://github.com/bigcartel/dugway
|
590
542
|
licenses:
|
591
543
|
- MIT
|
544
|
+
metadata: {}
|
592
545
|
post_install_message:
|
593
546
|
rdoc_options: []
|
594
547
|
require_paths:
|
595
548
|
- lib
|
596
549
|
required_ruby_version: !ruby/object:Gem::Requirement
|
597
|
-
none: false
|
598
550
|
requirements:
|
599
|
-
- -
|
551
|
+
- - '>='
|
600
552
|
- !ruby/object:Gem::Version
|
601
553
|
version: '0'
|
602
554
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
603
|
-
none: false
|
604
555
|
requirements:
|
605
|
-
- -
|
556
|
+
- - '>='
|
606
557
|
- !ruby/object:Gem::Version
|
607
558
|
version: '0'
|
608
559
|
requirements: []
|
609
560
|
rubyforge_project:
|
610
|
-
rubygems_version:
|
561
|
+
rubygems_version: 2.0.0
|
611
562
|
signing_key:
|
612
|
-
specification_version:
|
563
|
+
specification_version: 4
|
613
564
|
summary: Easily build and test Big Cartel themes.
|
614
565
|
test_files:
|
615
566
|
- spec/features/contact_form_spec.rb
|
@@ -630,13 +581,13 @@ test_files:
|
|
630
581
|
- spec/fixtures/theme/product.html
|
631
582
|
- spec/fixtures/theme/products.html
|
632
583
|
- spec/fixtures/theme/screenshot.jpg
|
633
|
-
- spec/fixtures/theme/scripts.js
|
634
584
|
- spec/fixtures/theme/settings.json
|
635
|
-
- spec/fixtures/theme/styles.css
|
636
585
|
- spec/fixtures/theme/stylesheets/_partial.css
|
637
586
|
- spec/fixtures/theme/stylesheets/one.css
|
638
587
|
- spec/fixtures/theme/stylesheets/two.css.sass
|
639
588
|
- spec/fixtures/theme/success.html
|
589
|
+
- spec/fixtures/theme/theme.css
|
590
|
+
- spec/fixtures/theme/theme.js
|
640
591
|
- spec/spec_helper.rb
|
641
592
|
- spec/units/dugway/cart_spec.rb
|
642
593
|
- spec/units/dugway/liquid/drops/account_drop_spec.rb
|
@@ -660,5 +611,4 @@ test_files:
|
|
660
611
|
- spec/units/dugway/request_spec.rb
|
661
612
|
- spec/units/dugway/store_spec.rb
|
662
613
|
- spec/units/dugway/template_spec.rb
|
663
|
-
- spec/units/dugway/theme_font_spec.rb
|
664
614
|
- spec/units/dugway/theme_spec.rb
|