dashy 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5212cd83f171323eba3d6ed500348b72902cfe1c
4
- data.tar.gz: 3e71a8269019cf37f21cf115a3175d405b0a0e15
3
+ metadata.gz: b9b98d495058b3c193a3404ae8966bc0b7a45571
4
+ data.tar.gz: b68fb0ad51d184adfef33f31dcd1313762fdfcb3
5
5
  SHA512:
6
- metadata.gz: 45a311573d70218d33997c80ce9fd4d17cce9a061946c94896d4b70eee16fb40e9966b368f963761dc6f83453a001774801303525bea84ff33a8125493a8a4e5
7
- data.tar.gz: 89f3ffac18fda0fc1b3c7f6318f392f4623af0af6b3b89cc76887a76193c5acc2c857af2aa0890b8f8a1706f2a3318f9c7860a1769d2bef983ab24261b609072
6
+ metadata.gz: 110b17dc2ad50730bf42f0a73eb310f72de3ed63cf61d6c33ea85073c07aaecdc4fef52768519b9cfa070a2e0b4c4762cb740730d74f57487e404a395f3cc28c
7
+ data.tar.gz: 1bc1e87a77dccfa9cf679cda88120911f46ef5af38b20ba0e4aba1ad16a7aaade05eabed7dc211c9d7f7d90cb26e67d4eb88aafaccf6aff724f7c193c31d9319
data/README.md CHANGED
@@ -1,31 +1,36 @@
1
1
  # Dashy
2
-
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'dashy'
2
+ > Selector combinators and other helpers for Sass...
3
+
4
+ This is going to take a while to document, so in the meantime, here's how Dashy looks in the wild:
5
+
6
+ ```scss
7
+ #{ select-table-groups-rows-cells('.vertically-striped', '*', select-odd-siblings(100)) }
8
+ {
9
+ background-color:gray;
10
+ }
11
+
12
+ #{ select-table-groups-rows-cells('.vertically-ruled', '*', '* + *') }
13
+ {
14
+ border-left:1px solid black;
15
+ }
16
+
17
+ #{ select-table-groups-rows-cells('.lightly-vertically-ruled', '*', '* + *') }
18
+ {
19
+ border-left:1px solid gray;
20
+ }
21
+
22
+ #{ select-table-groups-rows-cells('.horizontally-striped', select-odd-siblings(100)) }
23
+ {
24
+ background-color:gray;
25
+ }
26
+
27
+ #{ select-table-groups-rows-cells('.horizontally-ruled', '* + *') }
28
+ {
29
+ border-top:1px solid black;
30
+ }
31
+
32
+ #{ select-table-groups-rows-cells('.lightly-horizontally-ruled', '* + *') }
33
+ {
34
+ border-top:1px solid gray;
35
+ }
11
36
  ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install dashy
20
-
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
-
25
- ## Contributing
26
-
27
- 1. Fork it ( https://github.com/[my-github-username]/dashy/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
@@ -0,0 +1,13 @@
1
+ @mixin when-device-pixel-ratio($number)
2
+ {
3
+ @media
4
+ only screen and (-webkit-min-device-pixel-ratio: #{ $number }),
5
+ only screen and ( min--moz-device-pixel-ratio: #{ $number }),
6
+ only screen and ( -o-min-device-pixel-ratio: #{ $number }/1),
7
+ only screen and ( min-device-pixel-ratio: #{ $number }),
8
+ only screen and ( min-resolution: #{ $number * 96 }dpi),
9
+ only screen and ( min-resolution: #{ $number }dppx)
10
+ {
11
+ @content;
12
+ }
13
+ }
@@ -0,0 +1,7 @@
1
+ @mixin when-retina-display
2
+ {
3
+ @include when-device-pixel-ratio(2)
4
+ {
5
+ @content;
6
+ }
7
+ }
@@ -1,5 +1,5 @@
1
1
  module Dashy
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
4
4
 
5
5
  # Gem structure adapted from thoughtbot/bourbon...
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dashy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Goldsmith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aruba
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.4'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: |
@@ -75,18 +75,13 @@ executables:
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - .DS_Store
79
- - .gitignore
80
- - .npmignore
78
+ - ".gitignore"
79
+ - ".npmignore"
81
80
  - Gemfile
82
81
  - LICENSE.txt
83
82
  - README.md
84
83
  - Rakefile
85
- - app/.DS_Store
86
- - app/assets/.DS_Store
87
- - app/assets/stylesheets/.DS_Store
88
84
  - app/assets/stylesheets/_dashy.scss
89
- - app/assets/stylesheets/dashy/.DS_Store
90
85
  - app/assets/stylesheets/dashy/_select.scss
91
86
  - app/assets/stylesheets/dashy/_set.scss
92
87
  - app/assets/stylesheets/dashy/all/_clears.scss
@@ -111,13 +106,11 @@ files:
111
106
  - app/assets/stylesheets/dashy/all/vertical/_dimensions.scss
112
107
  - app/assets/stylesheets/dashy/all/vertical/_directions.scss
113
108
  - app/assets/stylesheets/dashy/all/vertical/_sides.scss
114
- - app/assets/stylesheets/dashy/default/.DS_Store
115
109
  - app/assets/stylesheets/dashy/default/font/_size.scss
116
110
  - app/assets/stylesheets/dashy/default/line/_height.scss
117
111
  - app/assets/stylesheets/dashy/default/page/_width.scss
118
112
  - app/assets/stylesheets/dashy/default/text/_align.scss
119
113
  - app/assets/stylesheets/dashy/default/vertical/_align.scss
120
- - app/assets/stylesheets/dashy/define/.DS_Store
121
114
  - app/assets/stylesheets/dashy/define/_append.scss
122
115
  - app/assets/stylesheets/dashy/define/_backspace.scss
123
116
  - app/assets/stylesheets/dashy/define/_clear.scss
@@ -136,7 +129,6 @@ files:
136
129
  - app/assets/stylesheets/dashy/define/_push.scss
137
130
  - app/assets/stylesheets/dashy/define/_space.scss
138
131
  - app/assets/stylesheets/dashy/define/_width.scss
139
- - app/assets/stylesheets/dashy/define/column/.DS_Store
140
132
  - app/assets/stylesheets/dashy/define/column/_count.scss
141
133
  - app/assets/stylesheets/dashy/define/column/_fill.scss
142
134
  - app/assets/stylesheets/dashy/define/column/_gap.scss
@@ -161,7 +153,6 @@ files:
161
153
  - app/assets/stylesheets/dashy/get/opposite/_side.scss
162
154
  - app/assets/stylesheets/dashy/initialize/_pull.scss
163
155
  - app/assets/stylesheets/dashy/initialize/_push.scss
164
- - app/assets/stylesheets/dashy/is/.DS_Store
165
156
  - app/assets/stylesheets/dashy/is/_blank.scss
166
157
  - app/assets/stylesheets/dashy/is/_boolean.scss
167
158
  - app/assets/stylesheets/dashy/is/_color.scss
@@ -198,7 +189,6 @@ files:
198
189
  - app/assets/stylesheets/dashy/number/_round.scss
199
190
  - app/assets/stylesheets/dashy/number/_squared.scss
200
191
  - app/assets/stylesheets/dashy/number/_unit.scss
201
- - app/assets/stylesheets/dashy/select/.DS_Store
202
192
  - app/assets/stylesheets/dashy/select/_as.scss
203
193
  - app/assets/stylesheets/dashy/select/_attribute.scss
204
194
  - app/assets/stylesheets/dashy/select/_buttons.scss
@@ -213,7 +203,6 @@ files:
213
203
  - app/assets/stylesheets/dashy/select/_pseudoclass.scss
214
204
  - app/assets/stylesheets/dashy/select/_tables.scss
215
205
  - app/assets/stylesheets/dashy/select/_tabloids.scss
216
- - app/assets/stylesheets/dashy/select/as/.DS_Store
217
206
  - app/assets/stylesheets/dashy/select/as/_children.scss
218
207
  - app/assets/stylesheets/dashy/select/as/_descendants.scss
219
208
  - app/assets/stylesheets/dashy/select/as/_following.scss
@@ -232,7 +221,6 @@ files:
232
221
  - app/assets/stylesheets/dashy/select/tabloids/_rows.scss
233
222
  - app/assets/stylesheets/dashy/select/tabloids/rows/_cells.scss
234
223
  - app/assets/stylesheets/dashy/select/text/_inputs.scss
235
- - app/assets/stylesheets/dashy/set/.DS_Store
236
224
  - app/assets/stylesheets/dashy/set/_animation.scss
237
225
  - app/assets/stylesheets/dashy/set/_append.scss
238
226
  - app/assets/stylesheets/dashy/set/_backspace.scss
@@ -263,7 +251,6 @@ files:
263
251
  - app/assets/stylesheets/dashy/set/border/_radius.scss
264
252
  - app/assets/stylesheets/dashy/set/box/_shadow.scss
265
253
  - app/assets/stylesheets/dashy/set/box/_sizing.scss
266
- - app/assets/stylesheets/dashy/set/column/.DS_Store
267
254
  - app/assets/stylesheets/dashy/set/column/_count.scss
268
255
  - app/assets/stylesheets/dashy/set/column/_fill.scss
269
256
  - app/assets/stylesheets/dashy/set/column/_gap.scss
@@ -290,16 +277,15 @@ files:
290
277
  - app/assets/stylesheets/dashy/to/_percentage.scss
291
278
  - app/assets/stylesheets/dashy/to/_px.scss
292
279
  - app/assets/stylesheets/dashy/to/_unitless.scss
280
+ - app/assets/stylesheets/dashy/when/_device-pixel-ratio.scss
281
+ - app/assets/stylesheets/dashy/when/_retina-display.scss
293
282
  - bin/dashy
294
283
  - dashy.gemspec
295
284
  - dashy.json
296
- - lib/.DS_Store
297
285
  - lib/dashy.rb
298
286
  - lib/dashy/engine.rb
299
287
  - lib/dashy/generator.rb
300
288
  - lib/dashy/version.rb
301
- - lib/sass/.DS_Store
302
- - lib/sass/script/.DS_Store
303
289
  - lib/sass/script/functions/dashy.rb
304
290
  - lib/sass/script/value/string/dashy.rb
305
291
  - lib/tasks/install.rake
@@ -315,17 +301,17 @@ require_paths:
315
301
  - lib
316
302
  required_ruby_version: !ruby/object:Gem::Requirement
317
303
  requirements:
318
- - - '>='
304
+ - - ">="
319
305
  - !ruby/object:Gem::Version
320
306
  version: '0'
321
307
  required_rubygems_version: !ruby/object:Gem::Requirement
322
308
  requirements:
323
- - - '>='
309
+ - - ">="
324
310
  - !ruby/object:Gem::Version
325
311
  version: '0'
326
312
  requirements: []
327
313
  rubyforge_project:
328
- rubygems_version: 2.0.14
314
+ rubygems_version: 2.2.2
329
315
  signing_key:
330
316
  specification_version: 4
331
317
  summary: Selector combinators and other helpers for Sass.
data/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file