antw-kin 0.3.2 → 0.3.3
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.
- data/CHANGELOG +11 -0
- data/VERSION.yml +1 -1
- data/lib/kin.rb +4 -1
- data/lib/kin/masthead.rb +113 -60
- data/lib/kin/nav.rb +29 -4
- data/lib/kin/nav/builder.rb +4 -2
- data/lib/kin/nav/formatters.rb +187 -92
- data/lib/kin/nav/helper_mixin.rb +1 -1
- data/lib/kin/sprites.rb +100 -0
- data/lib/kin/sprites/image_generator.rb +75 -0
- data/lib/kin/sprites/rake_runner.rb +179 -0
- data/lib/kin/sprites/sass_generator.rb +81 -0
- data/lib/kin/tasks/sprites.rb +34 -0
- data/spec/fixture/app/views/nav_specs/has_right_formatter.html.haml +9 -0
- data/spec/fixture/app/views/nav_specs/subnav_formatter.html.haml +7 -0
- data/spec/fixture/config/sprites.different.yml +11 -0
- data/spec/fixture/config/sprites.yml +9 -0
- data/spec/fixture/public/images/sprites/src/one.png +0 -0
- data/spec/fixture/public/images/sprites/src/three.png +0 -0
- data/spec/fixture/public/images/sprites/src/two.png +0 -0
- data/spec/masthead_spec.rb +1 -77
- data/spec/nav_spec.rb +32 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/sprites_spec.rb +349 -0
- metadata +16 -4
- data/lib/kin/merbtasks.rb +0 -0
- data/spec/fixture/app/views/masthead_specs/no_border.html.haml +0 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antw-kin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-06 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -37,11 +37,15 @@ files:
|
|
37
37
|
- lib/kin/core_ext/time.rb
|
38
38
|
- lib/kin/form_builder.rb
|
39
39
|
- lib/kin/masthead.rb
|
40
|
-
- lib/kin/merbtasks.rb
|
41
40
|
- lib/kin/nav.rb
|
42
41
|
- lib/kin/nav/builder.rb
|
43
42
|
- lib/kin/nav/formatters.rb
|
44
43
|
- lib/kin/nav/helper_mixin.rb
|
44
|
+
- lib/kin/sprites.rb
|
45
|
+
- lib/kin/sprites/image_generator.rb
|
46
|
+
- lib/kin/sprites/rake_runner.rb
|
47
|
+
- lib/kin/sprites/sass_generator.rb
|
48
|
+
- lib/kin/tasks/sprites.rb
|
45
49
|
- lib/kin/tasks/sync_assets.rb
|
46
50
|
- spec/configurable_spec.rb
|
47
51
|
- spec/core_ext/date_spec.rb
|
@@ -92,7 +96,6 @@ files:
|
|
92
96
|
- spec/fixture/app/views/masthead_specs/all.html.haml
|
93
97
|
- spec/fixture/app/views/masthead_specs/border.html.haml
|
94
98
|
- spec/fixture/app/views/masthead_specs/escaping.html.haml
|
95
|
-
- spec/fixture/app/views/masthead_specs/no_border.html.haml
|
96
99
|
- spec/fixture/app/views/masthead_specs/no_extras.html.haml
|
97
100
|
- spec/fixture/app/views/masthead_specs/no_subtitles.html.haml
|
98
101
|
- spec/fixture/app/views/masthead_specs/right_subtitle.html.haml
|
@@ -109,12 +112,14 @@ files:
|
|
109
112
|
- spec/fixture/app/views/nav_specs/guard_with_all_params.html.haml
|
110
113
|
- spec/fixture/app/views/nav_specs/guard_with_single_param.html.haml
|
111
114
|
- spec/fixture/app/views/nav_specs/guard_without_param.html.haml
|
115
|
+
- spec/fixture/app/views/nav_specs/has_right_formatter.html.haml
|
112
116
|
- spec/fixture/app/views/nav_specs/item_with_title.html.haml
|
113
117
|
- spec/fixture/app/views/nav_specs/item_without_title.html.haml
|
114
118
|
- spec/fixture/app/views/nav_specs/multiple_injection.html.haml
|
115
119
|
- spec/fixture/app/views/nav_specs/resource_url.html.haml
|
116
120
|
- spec/fixture/app/views/nav_specs/resource_url_without_resource.html.haml
|
117
121
|
- spec/fixture/app/views/nav_specs/show_resource_url.html.haml
|
122
|
+
- spec/fixture/app/views/nav_specs/subnav_formatter.html.haml
|
118
123
|
- spec/fixture/app/views/nav_specs/with_custom_formatter.html.haml
|
119
124
|
- spec/fixture/config/environments/development.rb
|
120
125
|
- spec/fixture/config/environments/production.rb
|
@@ -124,12 +129,18 @@ files:
|
|
124
129
|
- spec/fixture/config/init.rb
|
125
130
|
- spec/fixture/config/rack.rb
|
126
131
|
- spec/fixture/config/router.rb
|
132
|
+
- spec/fixture/config/sprites.different.yml
|
133
|
+
- spec/fixture/config/sprites.yml
|
127
134
|
- spec/fixture/public/images/merb.jpg
|
135
|
+
- spec/fixture/public/images/sprites/src/one.png
|
136
|
+
- spec/fixture/public/images/sprites/src/three.png
|
137
|
+
- spec/fixture/public/images/sprites/src/two.png
|
128
138
|
- spec/fixture/public/stylesheets/master.css
|
129
139
|
- spec/form_builder_spec.rb
|
130
140
|
- spec/masthead_spec.rb
|
131
141
|
- spec/nav_spec.rb
|
132
142
|
- spec/spec_helper.rb
|
143
|
+
- spec/sprites_spec.rb
|
133
144
|
has_rdoc: false
|
134
145
|
homepage:
|
135
146
|
post_install_message:
|
@@ -181,3 +192,4 @@ test_files:
|
|
181
192
|
- spec/masthead_spec.rb
|
182
193
|
- spec/nav_spec.rb
|
183
194
|
- spec/spec_helper.rb
|
195
|
+
- spec/sprites_spec.rb
|
data/lib/kin/merbtasks.rb
DELETED
File without changes
|