smurfville 0.1.1 → 0.1.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.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmE0ZWQzYmZiZTEwZWY2OTZkM2VlMWJmMjA4MmRmZTFjZDRkMWM1OQ==
5
+ data.tar.gz: !binary |-
6
+ YzhiMjM4N2I5YjBhYzA1MTljYzRmM2Y4ZTRmY2E2NDJjZjYwMTQyZQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ODNlZmJkMTM2Mjg2NDAwNjFkMjA0N2VjMDlmYTU4NGM3ZGFkYWQ3ODQ0ZDEy
10
+ MDllMzMxZTRmYjcyYzhkYjRjYjJjMjA5ZGQxNzI0NjQ5MTU4YWZiOWY4MmFm
11
+ NDY2ODAxNDU1OTMwZGQ5NThmZDIxNTI3Nzg1NDA1YjVhOTVhOTI=
12
+ data.tar.gz: !binary |-
13
+ MmE5NjdhMDRhM2JkZjc4Y2Q2ODMzZjQ0ZTQyMTMxMzgyZjMyN2UwZDA1M2M0
14
+ OTExMGFiMDhlY2VkMWQ0ZjBiMTQzY2NmZmIxMWNmM2Y2NmUzYWY4ODNlOWNk
15
+ YjA0NDFiMmNlMjZlMzk4ZThiNTM3ODU2ZmI1NDNjNDNmZTQxZWQ=
data/README.md CHANGED
@@ -86,3 +86,7 @@ Restart your server and you should be able to access the SMURF pages, e.g. `your
86
86
  Here is a screenshot of how a very simple living color styleguide will look like:
87
87
 
88
88
  ![Smurfville screenshot](https://raw.github.com/wiki/railslove/smurfville/images/smurfville_styleguide_screenshot.png)
89
+
90
+
91
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/railslove/smurfville/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
92
+
@@ -1,4 +1,4 @@
1
- require "color/css"
1
+ require "color"
2
2
 
3
3
  module Smurfville
4
4
  module StyleguideHelper
@@ -1,4 +1,4 @@
1
- require "color/css"
1
+ # require "color/css"
2
2
  require "sass"
3
3
 
4
4
  module Smurfville
@@ -1,3 +1,3 @@
1
1
  module Smurfville
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -56,6 +56,8 @@ module Dummy
56
56
 
57
57
  # Version of your assets, change this if you want to expire all your assets
58
58
  config.assets.version = '1.0'
59
+
60
+ config.secret_token = "some secret phrase of at least 30 characters"
59
61
  end
60
62
  end
61
63
 
@@ -438,3 +438,101 @@ Smurfville::StyleguideHelperTest: test_foreground_color
438
438
  --------------------------
439
439
  SmurfvilleTest: test_truth
440
440
  --------------------------
441
+ ----------------------------------------
442
+ ColorVariablesTest: test_parse_sass_file
443
+ ----------------------------------------
444
+ ---------------------------------------------
445
+ ColorVariablesTest: test_parse_variable_usage
446
+ ---------------------------------------------
447
+ -------------------------------------------------------
448
+ ColorVariablesTest: test_print_variable_usage_count_for
449
+ -------------------------------------------------------
450
+ ---------------------------
451
+ NavigationTest: test_colors
452
+ ---------------------------
453
+ Started GET "/smurfville/colors" for 127.0.0.1 at 2014-01-29 15:51:05 +0100
454
+ Processing by Smurfville::StyleguideController#colors as HTML
455
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (1.7ms)
456
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
457
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
458
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
459
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
460
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
461
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
462
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/colors.html.haml within layouts/smurfville/application (11.6ms)
463
+ Completed 200 OK in 71ms (Views: 24.1ms)
464
+ ------------------------------
465
+ NavigationTest: test_root_path
466
+ ------------------------------
467
+ Started GET "/smurfville" for 127.0.0.1 at 2014-01-29 15:51:05 +0100
468
+ Processing by Smurfville::StyleguideController#colors as HTML
469
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.5ms)
470
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.3ms)
471
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.4ms)
472
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.3ms)
473
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.3ms)
474
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
475
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
476
+ Completed 200 OK in 29ms (Views: 10.6ms)
477
+ -------------------------------------------------------
478
+ Smurfville::StyleguideHelperTest: test_foreground_color
479
+ -------------------------------------------------------
480
+ --------------------------
481
+ SmurfvilleTest: test_truth
482
+ --------------------------
483
+
484
+
485
+ Started GET "/smurfville/colors" for 127.0.0.1 at 2014-01-29 16:15:20 +0100
486
+
487
+
488
+ Started GET "/smurfville" for 127.0.0.1 at 2014-01-29 16:15:20 +0100
489
+
490
+
491
+ Started GET "/smurfville/colors" for 127.0.0.1 at 2014-01-29 16:16:33 +0100
492
+ Processing by Smurfville::StyleguideController#colors as HTML
493
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (1.7ms)
494
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
495
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
496
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
497
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
498
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.0ms)
499
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.0ms)
500
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/colors.html.haml within layouts/smurfville/application (21.7ms)
501
+ Completed 200 OK in 99ms (Views: 54.6ms)
502
+
503
+
504
+ Started GET "/smurfville" for 127.0.0.1 at 2014-01-29 16:16:33 +0100
505
+ Processing by Smurfville::StyleguideController#colors as HTML
506
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.3ms)
507
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
508
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
509
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
510
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
511
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
512
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
513
+ Completed 200 OK in 44ms (Views: 10.7ms)
514
+
515
+
516
+ Started GET "/smurfville/colors" for 127.0.0.1 at 2014-01-29 16:17:43 +0100
517
+ Processing by Smurfville::StyleguideController#colors as HTML
518
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (1.7ms)
519
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
520
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
521
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.0ms)
522
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.1ms)
523
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.0ms)
524
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.0ms)
525
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/colors.html.haml within layouts/smurfville/application (8.7ms)
526
+ Completed 200 OK in 74ms (Views: 45.5ms)
527
+
528
+
529
+ Started GET "/smurfville" for 127.0.0.1 at 2014-01-29 16:17:43 +0100
530
+ Processing by Smurfville::StyleguideController#colors as HTML
531
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.4ms)
532
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
533
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
534
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
535
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
536
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
537
+ Rendered /home/jk/railslove/smurfville/app/views/smurfville/styleguide/_color_var.html.haml (0.2ms)
538
+ Completed 200 OK in 46ms (Views: 11.2ms)
@@ -12,7 +12,7 @@ module Smurfville
12
12
  # bright colors
13
13
  assert_equal "black", foreground_color("#efefef")
14
14
  assert_equal "black", foreground_color("white")
15
- assert_equal "black", foreground_color("red")
15
+ assert_equal "white", foreground_color("red")
16
16
 
17
17
  # non-colors
18
18
  # => black = default
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smurfville
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jakob Hilden
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-08-13 00:00:00.000000000 Z
13
+ date: 2014-01-29 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: color
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: sass
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ~>
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ~>
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rails
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ! '>='
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ! '>='
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: haml
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ! '>='
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :runtime
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ! '>='
78
69
  - !ruby/object:Gem::Version
@@ -170,33 +161,26 @@ files:
170
161
  - test/functional/smurf/styleguide_controller_test.rb
171
162
  homepage: https://github.com/railslove/smurfville
172
163
  licenses: []
164
+ metadata: {}
173
165
  post_install_message:
174
166
  rdoc_options: []
175
167
  require_paths:
176
168
  - lib
177
169
  required_ruby_version: !ruby/object:Gem::Requirement
178
- none: false
179
170
  requirements:
180
171
  - - ! '>='
181
172
  - !ruby/object:Gem::Version
182
173
  version: '0'
183
- segments:
184
- - 0
185
- hash: 1025808035885307875
186
174
  required_rubygems_version: !ruby/object:Gem::Requirement
187
- none: false
188
175
  requirements:
189
176
  - - ! '>='
190
177
  - !ruby/object:Gem::Version
191
178
  version: '0'
192
- segments:
193
- - 0
194
- hash: 1025808035885307875
195
179
  requirements: []
196
180
  rubyforge_project:
197
- rubygems_version: 1.8.25
181
+ rubygems_version: 2.1.9
198
182
  signing_key:
199
- specification_version: 3
183
+ specification_version: 4
200
184
  summary: ! 'Conventions and tools for: Scalable, Modular, reUsable Rails Frontends
201
185
  -- SMURF'
202
186
  test_files: