ezy 0.0.8 → 0.1.0

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.
Files changed (6) hide show
  1. data/README.md +12 -18
  2. data/VERSION +1 -1
  3. data/ezy.gemspec +2 -2
  4. data/sass/_ezy.scss +2 -2
  5. metadata +69 -46
  6. checksums.yaml +0 -7
data/README.md CHANGED
@@ -20,14 +20,6 @@ Import all features:
20
20
 
21
21
  `@import "ezy";`
22
22
 
23
- Import grid only:
24
-
25
- `@import "ezy/grid";`
26
-
27
- Import media queries only:
28
-
29
- `@import "ezy/media";`
30
-
31
23
  Import sprites only:
32
24
 
33
25
  `@import "ezy/sprites";`
@@ -60,24 +52,26 @@ Advanced use:
60
52
  $name: "icons", // (required) your name to use when calling sprites
61
53
  $folder: "icon-images", // (required) folder path relative to image folder
62
54
  $folder-retina: "icon-images@2x", // (optional) folder path relative to image folder
63
- $spacing: 20px, // (optional) defaults to 0px
64
- $layout: vertical, // (optional) vertical, horizontal, diagonal
65
- $spacing-retina: null, // (optional) defaults to $spacing x 2
66
- $layout-retina: null // (optional) defaults to $layout
55
+ $spacing: 20px, // (optional) [default: 0px] spacing between images in compiled sprite
56
+ $layout: vertical, // (optional) [default: vertical] vertical, horizontal, diagonal
57
+ $position: 0%, // (optional) [default: 0%] alignment of images in the sprite
58
+ $spacing-retina: 40px, // (optional) [default: $spacing x 2]
59
+ $layout-retina: diagonal, // (optional) [default: $layout]
60
+ $position-retina: 100% // (optional) [default: $position]
67
61
  );
68
62
 
69
63
  #### 2) Use sprite
70
64
 
71
- Simple use without retina:
65
+ Simple use: (if a sprite has a retina version, it uses retina as a default)
72
66
 
73
67
  .icon-git-fork {
74
68
  @include background-sprite( "icons", "git-fork" ); // using image git-fork.png from images/icon-images/
75
69
  }
76
70
 
77
- Simple use with retina:
71
+ Simple use, force no retina:
78
72
 
79
73
  .icon-git-fork {
80
- @include background-sprite( "icons", "git-fork", $use-retina: true );
74
+ @include background-sprite( "icons", "git-fork", $use-retina: false );
81
75
  }
82
76
 
83
77
  Advanced use:
@@ -86,9 +80,9 @@ Advanced use:
86
80
  @include background-sprite(
87
81
  $name: "icons", // (required) sprite name
88
82
  $image: "git-fork", // (required) image to use
89
- $offset-x: 10px, // (optional) background offset x
90
- $offset-y: 20px, // (optional) background offset y
91
- $use-retina: true // (optional) wether to use retina on hi-res screens
83
+ $offset-x: 10px, // (optional) [default: 0] background offset x
84
+ $offset-y: 20px, // (optional) [default: 0] background offset y
85
+ $use-retina: true // (optional) [default: true] wether to use retina on hi-res screens
92
86
  );
93
87
  }
94
88
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.1.0
data/ezy.gemspec CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  # Release Specific Information
5
- s.version = "0.0.8"
6
- s.date = "2013-11-12"
5
+ s.version = "0.1.0"
6
+ s.date = "2013-11-13"
7
7
 
8
8
  # Gem Details
9
9
  s.name = "ezy"
data/sass/_ezy.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  // ---------------------------------------------------------------------------
2
2
  // Partials
3
3
 
4
- @import "ezy/media";
5
- @import "ezy/grid";
4
+ // @import "ezy/media";
5
+ // @import "ezy/grid";
6
6
  @import "ezy/sprites";
metadata CHANGED
@@ -1,50 +1,63 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ezy
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.8
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - Frej Raahede Nielsen
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2013-11-12 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-11-13 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: compass
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: 0.12.2
20
- type: :runtime
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 43
29
+ segments:
30
+ - 0
31
+ - 12
32
+ - 2
26
33
  version: 0.12.2
27
- - !ruby/object:Gem::Dependency
28
- name: sass
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: 3.2.0
34
34
  type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: sass
35
38
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 15
45
+ segments:
46
+ - 3
47
+ - 2
48
+ - 0
40
49
  version: 3.2.0
41
- description: A collection of SCSS tools for creating responsive websites. Includes
42
- a simple but powerful grid framework, media query helpers and sprite helpers.
50
+ type: :runtime
51
+ version_requirements: *id002
52
+ description: A collection of SCSS tools for creating responsive websites. Includes a simple but powerful grid framework, media query helpers and sprite helpers.
43
53
  email: frejraahede@gmail.com
44
54
  executables: []
55
+
45
56
  extensions: []
57
+
46
58
  extra_rdoc_files: []
47
- files:
59
+
60
+ files:
48
61
  - README.md
49
62
  - ezy.gemspec
50
63
  - VERSION
@@ -130,27 +143,37 @@ files:
130
143
  - test/img/test-spacing@2x/classic.png
131
144
  - test/img/test-spacing@2x/indy.png
132
145
  homepage: http://github.com/raahede/
133
- licenses:
146
+ licenses:
134
147
  - MIT
135
- metadata: {}
136
148
  post_install_message:
137
149
  rdoc_options: []
138
- require_paths:
150
+
151
+ require_paths:
139
152
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - '>='
143
- - !ruby/object:Gem::Version
144
- version: '0'
145
- required_rubygems_version: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ hash: 3
159
+ segments:
160
+ - 0
161
+ version: "0"
162
+ required_rubygems_version: !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ hash: 3
168
+ segments:
169
+ - 0
170
+ version: "0"
150
171
  requirements: []
172
+
151
173
  rubyforge_project:
152
- rubygems_version: 2.1.10
174
+ rubygems_version: 1.8.25
153
175
  signing_key:
154
- specification_version: 4
176
+ specification_version: 3
155
177
  summary: The developer's toolbox for responsive websites
156
178
  test_files: []
179
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: e7b9087ea62ca40b3cdf5404be3e1369b8fd5620
4
- data.tar.gz: 5cc4539b113cd219ec2a6c1a24e7af0eb507201b
5
- SHA512:
6
- metadata.gz: 13b0c11a859f8f4eef501a676b28af83cd2da38eafec70d3b3ae45833695c6763284d3aefd5d74e2faa633e71fd8f02817cbb8dac3cf04b4ba3715da83311bb4
7
- data.tar.gz: 7e490d565c7eb6c7114164134ddd7d77341a12a54f94e5a1458bf32b5293ddf57be29c53f0c3df4312fb273b7a8da78b5eed58da2cfc07f97ea34bec0083a675