smurf-rails 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +67 -0
- data/Rakefile +46 -0
- data/app/assets/images/smurf/smurf.png +0 -0
- data/app/assets/javascripts/smurf/application.js +1 -0
- data/app/assets/stylesheets/smurf/application.css.sass +38 -0
- data/app/assets/stylesheets/smurf/typography.css.sass.erb +0 -0
- data/app/controllers/smurf/application_controller.rb +4 -0
- data/app/controllers/smurf/styleguide_controller.rb +19 -0
- data/app/helpers/smurf/application_helper.rb +4 -0
- data/app/helpers/smurf/styleguide_helper.rb +14 -0
- data/app/views/layouts/smurf/application.html.erb +14 -0
- data/app/views/smurf/styleguide/_color_var.html.haml +11 -0
- data/app/views/smurf/styleguide/colors.html.haml +10 -0
- data/app/views/smurf/styleguide/typography.html.haml +6 -0
- data/config/routes.rb +6 -0
- data/lib/smurf.rb +7 -0
- data/lib/smurf/color_variable_parser.rb +71 -0
- data/lib/smurf/engine.rb +5 -0
- data/lib/smurf/typography_parser.rb +28 -0
- data/lib/smurf/version.rb +3 -0
- data/lib/tasks/smurf_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/_typography.sass +37 -0
- data/test/dummy/app/assets/stylesheets/application.css.sass +11 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +61 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/smurf.rb +2 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +8932 -0
- data/test/dummy/log/test.log +110 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/CBE/460/sprockets%2F82cd2698ea187319b82eee783227407b +0 -0
- data/test/dummy/tmp/cache/assets/CC3/D80/sprockets%2F664f76338152c770cfef980d5588be21 +0 -0
- data/test/dummy/tmp/cache/assets/CCA/0C0/sprockets%2F6c3e053393afe303432ca73f1b41490b +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/2B0/sprockets%2Fac9929105133c62d94cedd5e46b52493 +0 -0
- data/test/dummy/tmp/cache/assets/D03/150/sprockets%2F82855a1c8339d7bef8a98868ab858f18 +0 -0
- data/test/dummy/tmp/cache/assets/D16/910/sprockets%2Ff4ea1f2c07dd541e81f481f835a64838 +0 -0
- data/test/dummy/tmp/cache/assets/D18/840/sprockets%2F50c1885539f61359c48af74fcae1df31 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D35/5E0/sprockets%2F50cfa004a8a405f2e48625bec5c583e6 +0 -0
- data/test/dummy/tmp/cache/assets/D44/0E0/sprockets%2Fe82cfc1252647fb8586c7abf2c2056c7 +0 -0
- data/test/dummy/tmp/cache/assets/D58/580/sprockets%2F82e92c71c797dac98897e20a7df20df7 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5E/470/sprockets%2Fb90e61060b73e4c4c2466c5ad8acc06b +0 -0
- data/test/dummy/tmp/cache/assets/D8F/EC0/sprockets%2Fc501d0e26be5fc8f613a8faa5c003c49 +0 -0
- data/test/dummy/tmp/cache/assets/D97/AA0/sprockets%2F30c4ef2c6254a2c8ecedf8f7259c01b0 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/120/sprockets%2Fc5880aca76ccbb51f9388362e8afc1e6 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/3C0/sprockets%2Fa6c7bdfdcdc7a50417324089c9a1abcc +0 -0
- data/test/dummy/tmp/cache/assets/DF2/040/sprockets%2Fabe2c880aeb0bf05a2651c9a3d68ce5f +0 -0
- data/test/dummy/tmp/sass-cache/8533189236bf1aa999c1f771fbe4dd9915738473/typography.sassc +0 -0
- data/test/functional/smurf/styleguide_controller_test.rb +9 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/smurf_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/color_variable_parser_test.rb +52 -0
- data/test/unit/helpers/smurf/styleguide_helper_test.rb +6 -0
- data/test/unit/sass/colors_01.sass +15 -0
- data/test/unit/sass/colors_02.css.sass +209 -0
- metadata +266 -0
metadata
ADDED
@@ -0,0 +1,266 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: smurf-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jakob Hilden
|
9
|
+
- Tim Schneider
|
10
|
+
- Stephan Pavlovic
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2012-06-04 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: color
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: sass
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.1'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rails
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '3.1'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.1'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: haml
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
type: :runtime
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
description: SMURF is a new and modular approach to Rails frontend development based
|
81
|
+
on the SMACSS approach for CSS. This gem provides a set of tools that help following
|
82
|
+
this approach.
|
83
|
+
email:
|
84
|
+
- jakobhilden@gmail.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- app/helpers/smurf/styleguide_helper.rb
|
90
|
+
- app/helpers/smurf/application_helper.rb
|
91
|
+
- app/assets/stylesheets/smurf/typography.css.sass.erb
|
92
|
+
- app/assets/stylesheets/smurf/application.css.sass
|
93
|
+
- app/assets/images/smurf/smurf.png
|
94
|
+
- app/assets/javascripts/smurf/application.js
|
95
|
+
- app/controllers/smurf/application_controller.rb
|
96
|
+
- app/controllers/smurf/styleguide_controller.rb
|
97
|
+
- app/views/layouts/smurf/application.html.erb
|
98
|
+
- app/views/smurf/styleguide/_color_var.html.haml
|
99
|
+
- app/views/smurf/styleguide/colors.html.haml
|
100
|
+
- app/views/smurf/styleguide/typography.html.haml
|
101
|
+
- config/routes.rb
|
102
|
+
- lib/smurf.rb
|
103
|
+
- lib/smurf/engine.rb
|
104
|
+
- lib/smurf/version.rb
|
105
|
+
- lib/smurf/typography_parser.rb
|
106
|
+
- lib/smurf/color_variable_parser.rb
|
107
|
+
- lib/tasks/smurf_tasks.rake
|
108
|
+
- MIT-LICENSE
|
109
|
+
- Rakefile
|
110
|
+
- README.md
|
111
|
+
- test/functional/smurf/styleguide_controller_test.rb
|
112
|
+
- test/smurf_test.rb
|
113
|
+
- test/test_helper.rb
|
114
|
+
- test/integration/navigation_test.rb
|
115
|
+
- test/dummy/tmp/sass-cache/8533189236bf1aa999c1f771fbe4dd9915738473/typography.sassc
|
116
|
+
- test/dummy/tmp/cache/assets/DF2/040/sprockets%2Fabe2c880aeb0bf05a2651c9a3d68ce5f
|
117
|
+
- test/dummy/tmp/cache/assets/D16/910/sprockets%2Ff4ea1f2c07dd541e81f481f835a64838
|
118
|
+
- test/dummy/tmp/cache/assets/D03/150/sprockets%2F82855a1c8339d7bef8a98868ab858f18
|
119
|
+
- test/dummy/tmp/cache/assets/D97/AA0/sprockets%2F30c4ef2c6254a2c8ecedf8f7259c01b0
|
120
|
+
- test/dummy/tmp/cache/assets/D18/840/sprockets%2F50c1885539f61359c48af74fcae1df31
|
121
|
+
- test/dummy/tmp/cache/assets/CCA/0C0/sprockets%2F6c3e053393afe303432ca73f1b41490b
|
122
|
+
- test/dummy/tmp/cache/assets/D5E/470/sprockets%2Fb90e61060b73e4c4c2466c5ad8acc06b
|
123
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
124
|
+
- test/dummy/tmp/cache/assets/CE3/2B0/sprockets%2Fac9929105133c62d94cedd5e46b52493
|
125
|
+
- test/dummy/tmp/cache/assets/DA6/120/sprockets%2Fc5880aca76ccbb51f9388362e8afc1e6
|
126
|
+
- test/dummy/tmp/cache/assets/CC3/D80/sprockets%2F664f76338152c770cfef980d5588be21
|
127
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
128
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
129
|
+
- test/dummy/tmp/cache/assets/CBE/460/sprockets%2F82cd2698ea187319b82eee783227407b
|
130
|
+
- test/dummy/tmp/cache/assets/DF1/3C0/sprockets%2Fa6c7bdfdcdc7a50417324089c9a1abcc
|
131
|
+
- test/dummy/tmp/cache/assets/D35/5E0/sprockets%2F50cfa004a8a405f2e48625bec5c583e6
|
132
|
+
- test/dummy/tmp/cache/assets/D44/0E0/sprockets%2Fe82cfc1252647fb8586c7abf2c2056c7
|
133
|
+
- test/dummy/tmp/cache/assets/D58/580/sprockets%2F82e92c71c797dac98897e20a7df20df7
|
134
|
+
- test/dummy/tmp/cache/assets/D8F/EC0/sprockets%2Fc501d0e26be5fc8f613a8faa5c003c49
|
135
|
+
- test/dummy/app/helpers/application_helper.rb
|
136
|
+
- test/dummy/app/assets/stylesheets/application.css.sass
|
137
|
+
- test/dummy/app/assets/stylesheets/_typography.sass
|
138
|
+
- test/dummy/app/assets/javascripts/application.js
|
139
|
+
- test/dummy/app/controllers/application_controller.rb
|
140
|
+
- test/dummy/app/views/layouts/application.html.erb
|
141
|
+
- test/dummy/script/rails
|
142
|
+
- test/dummy/Rakefile
|
143
|
+
- test/dummy/db/test.sqlite3
|
144
|
+
- test/dummy/db/development.sqlite3
|
145
|
+
- test/dummy/config/boot.rb
|
146
|
+
- test/dummy/config/locales/en.yml
|
147
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
148
|
+
- test/dummy/config/initializers/smurf.rb
|
149
|
+
- test/dummy/config/initializers/mime_types.rb
|
150
|
+
- test/dummy/config/initializers/secret_token.rb
|
151
|
+
- test/dummy/config/initializers/session_store.rb
|
152
|
+
- test/dummy/config/initializers/inflections.rb
|
153
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
154
|
+
- test/dummy/config/database.yml
|
155
|
+
- test/dummy/config/environments/test.rb
|
156
|
+
- test/dummy/config/environments/production.rb
|
157
|
+
- test/dummy/config/environments/development.rb
|
158
|
+
- test/dummy/config/application.rb
|
159
|
+
- test/dummy/config/routes.rb
|
160
|
+
- test/dummy/config/environment.rb
|
161
|
+
- test/dummy/config.ru
|
162
|
+
- test/dummy/public/500.html
|
163
|
+
- test/dummy/public/404.html
|
164
|
+
- test/dummy/public/favicon.ico
|
165
|
+
- test/dummy/public/422.html
|
166
|
+
- test/dummy/README.rdoc
|
167
|
+
- test/dummy/log/test.log
|
168
|
+
- test/dummy/log/development.log
|
169
|
+
- test/unit/color_variable_parser_test.rb
|
170
|
+
- test/unit/sass/colors_02.css.sass
|
171
|
+
- test/unit/sass/colors_01.sass
|
172
|
+
- test/unit/helpers/smurf/styleguide_helper_test.rb
|
173
|
+
homepage: https://github.com/railslove/smurf
|
174
|
+
licenses: []
|
175
|
+
post_install_message:
|
176
|
+
rdoc_options: []
|
177
|
+
require_paths:
|
178
|
+
- lib
|
179
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
181
|
+
requirements:
|
182
|
+
- - ! '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
segments:
|
186
|
+
- 0
|
187
|
+
hash: 1856091207856947843
|
188
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
|
+
none: false
|
190
|
+
requirements:
|
191
|
+
- - ! '>='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
segments:
|
195
|
+
- 0
|
196
|
+
hash: 1856091207856947843
|
197
|
+
requirements: []
|
198
|
+
rubyforge_project:
|
199
|
+
rubygems_version: 1.8.19
|
200
|
+
signing_key:
|
201
|
+
specification_version: 3
|
202
|
+
summary: ! 'Conventions and tools for: Scalable, Modular, reUsable Rails Frontends
|
203
|
+
-- SMURF'
|
204
|
+
test_files:
|
205
|
+
- test/functional/smurf/styleguide_controller_test.rb
|
206
|
+
- test/smurf_test.rb
|
207
|
+
- test/test_helper.rb
|
208
|
+
- test/integration/navigation_test.rb
|
209
|
+
- test/dummy/tmp/sass-cache/8533189236bf1aa999c1f771fbe4dd9915738473/typography.sassc
|
210
|
+
- test/dummy/tmp/cache/assets/DF2/040/sprockets%2Fabe2c880aeb0bf05a2651c9a3d68ce5f
|
211
|
+
- test/dummy/tmp/cache/assets/D16/910/sprockets%2Ff4ea1f2c07dd541e81f481f835a64838
|
212
|
+
- test/dummy/tmp/cache/assets/D03/150/sprockets%2F82855a1c8339d7bef8a98868ab858f18
|
213
|
+
- test/dummy/tmp/cache/assets/D97/AA0/sprockets%2F30c4ef2c6254a2c8ecedf8f7259c01b0
|
214
|
+
- test/dummy/tmp/cache/assets/D18/840/sprockets%2F50c1885539f61359c48af74fcae1df31
|
215
|
+
- test/dummy/tmp/cache/assets/CCA/0C0/sprockets%2F6c3e053393afe303432ca73f1b41490b
|
216
|
+
- test/dummy/tmp/cache/assets/D5E/470/sprockets%2Fb90e61060b73e4c4c2466c5ad8acc06b
|
217
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
218
|
+
- test/dummy/tmp/cache/assets/CE3/2B0/sprockets%2Fac9929105133c62d94cedd5e46b52493
|
219
|
+
- test/dummy/tmp/cache/assets/DA6/120/sprockets%2Fc5880aca76ccbb51f9388362e8afc1e6
|
220
|
+
- test/dummy/tmp/cache/assets/CC3/D80/sprockets%2F664f76338152c770cfef980d5588be21
|
221
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
222
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
223
|
+
- test/dummy/tmp/cache/assets/CBE/460/sprockets%2F82cd2698ea187319b82eee783227407b
|
224
|
+
- test/dummy/tmp/cache/assets/DF1/3C0/sprockets%2Fa6c7bdfdcdc7a50417324089c9a1abcc
|
225
|
+
- test/dummy/tmp/cache/assets/D35/5E0/sprockets%2F50cfa004a8a405f2e48625bec5c583e6
|
226
|
+
- test/dummy/tmp/cache/assets/D44/0E0/sprockets%2Fe82cfc1252647fb8586c7abf2c2056c7
|
227
|
+
- test/dummy/tmp/cache/assets/D58/580/sprockets%2F82e92c71c797dac98897e20a7df20df7
|
228
|
+
- test/dummy/tmp/cache/assets/D8F/EC0/sprockets%2Fc501d0e26be5fc8f613a8faa5c003c49
|
229
|
+
- test/dummy/app/helpers/application_helper.rb
|
230
|
+
- test/dummy/app/assets/stylesheets/application.css.sass
|
231
|
+
- test/dummy/app/assets/stylesheets/_typography.sass
|
232
|
+
- test/dummy/app/assets/javascripts/application.js
|
233
|
+
- test/dummy/app/controllers/application_controller.rb
|
234
|
+
- test/dummy/app/views/layouts/application.html.erb
|
235
|
+
- test/dummy/script/rails
|
236
|
+
- test/dummy/Rakefile
|
237
|
+
- test/dummy/db/test.sqlite3
|
238
|
+
- test/dummy/db/development.sqlite3
|
239
|
+
- test/dummy/config/boot.rb
|
240
|
+
- test/dummy/config/locales/en.yml
|
241
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
242
|
+
- test/dummy/config/initializers/smurf.rb
|
243
|
+
- test/dummy/config/initializers/mime_types.rb
|
244
|
+
- test/dummy/config/initializers/secret_token.rb
|
245
|
+
- test/dummy/config/initializers/session_store.rb
|
246
|
+
- test/dummy/config/initializers/inflections.rb
|
247
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
248
|
+
- test/dummy/config/database.yml
|
249
|
+
- test/dummy/config/environments/test.rb
|
250
|
+
- test/dummy/config/environments/production.rb
|
251
|
+
- test/dummy/config/environments/development.rb
|
252
|
+
- test/dummy/config/application.rb
|
253
|
+
- test/dummy/config/routes.rb
|
254
|
+
- test/dummy/config/environment.rb
|
255
|
+
- test/dummy/config.ru
|
256
|
+
- test/dummy/public/500.html
|
257
|
+
- test/dummy/public/404.html
|
258
|
+
- test/dummy/public/favicon.ico
|
259
|
+
- test/dummy/public/422.html
|
260
|
+
- test/dummy/README.rdoc
|
261
|
+
- test/dummy/log/test.log
|
262
|
+
- test/dummy/log/development.log
|
263
|
+
- test/unit/color_variable_parser_test.rb
|
264
|
+
- test/unit/sass/colors_02.css.sass
|
265
|
+
- test/unit/sass/colors_01.sass
|
266
|
+
- test/unit/helpers/smurf/styleguide_helper_test.rb
|