batch-rails2 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 21886cda56f8b48bc18bf37bfb6749d9b35666d4
4
+ data.tar.gz: 0f8dbb9649328341d1e4f4320e0fdd0d67f0b73b
5
+ SHA512:
6
+ metadata.gz: ddbb91062c54da16257c9fa809f5ec57601a568f41270f7f7f012457407dd87a5a807ab81c2b4ceae7248f877cee87496149ca898ef79380ecaf89f779ef5ff9
7
+ data.tar.gz: c053a927069f8231abacf12fc301e75a446b30d1e2a309439d42102850d01fc14b46ebc8de2e8df8de0e500ae94fa0ca094fb3162e6d19e9f5914b1c0485a2e6
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Batch Webfont for Rails
2
2
  [![Build Status](https://travis-ci.org/mortik/batch-rails2.png?branch=master)](https://travis-ci.org/mortik/batch-rails2)
3
3
  [![Gem Version](https://badge.fury.io/rb/batch-rails2.png)](http://badge.fury.io/rb/batch-rails2)
4
+ [![Dependency Status](https://gemnasium.com/mortik/batch-rails2.png)](https://gemnasium.com/mortik/batch-rails2)
4
5
 
5
6
  Basic integration for the Batch Webfont Icons found here [http://adamwhitcroft.com/batch/](http://adamwhitcroft.com/batch/)
6
7
 
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,10 @@
1
- $fontFileName: "/assets/batch";
1
+ $fontFileNameSvg: "<%= asset_path('batch.svg') %>";
2
+ $fontFileNameTtf: "<%= asset_path('batch.ttf') %>";
3
+ $fontFileNameEot: "<%= asset_path('batch.eot') %>";
4
+ $fontFileNameWoff: "<%= asset_path('batch.woff') %>";
2
5
  $fontName: "batch";
3
6
  $classPrefix: "<%= BatchRails2.prefix %>";
4
7
 
5
8
  @import "batch/settings";
6
9
 
7
- @import "batch/icons-ie7"
10
+ @import "batch/icons-ie7"
@@ -1,7 +1,10 @@
1
- $fontFileName: "/assets/batch";
1
+ $fontFileNameSvg: "<%= asset_path('batch.svg') %>";
2
+ $fontFileNameTtf: "<%= asset_path('batch.ttf') %>";
3
+ $fontFileNameEot: "<%= asset_path('batch.eot') %>";
4
+ $fontFileNameWoff: "<%= asset_path('batch.woff') %>";
2
5
  $fontName: "batch";
3
6
  $classPrefix: "<%= BatchRails2.prefix %>";
4
7
 
5
8
  @import "batch/settings";
6
9
 
7
- @import "batch/icons"
10
+ @import "batch/icons"
@@ -13,12 +13,12 @@
13
13
  @mixin face {
14
14
  @font-face {
15
15
  font-family: $fontName;
16
- src: url('#{$fontFileName}.eot');
17
- src: url('#{$fontFileName}.eot?#iefix') format('embedded-opentype'),
18
- url('#{$fontFileName}.woff') format('woff'),
19
- url('#{$fontFileName}.ttf') format('truetype'),
20
- url('#{$fontFileName}.svg##{$fontName}') format('svg');
16
+ src: url('#{$fontFileNameEot}');
17
+ src: url('#{$fontFileNameEot}?#iefix') format('embedded-opentype'),
18
+ url('#{$fontFileNameWoff}') format('woff'),
19
+ url('#{$fontFileNameTtf}') format('truetype'),
20
+ url('#{$fontFileNameSvg}##{$fontName}') format('svg');
21
21
  font-weight: normal;
22
22
  font-style: normal;
23
23
  }
24
- }
24
+ }
@@ -1,3 +1,3 @@
1
1
  module BatchRails2
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch-rails2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Marten Klitzke
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-02 00:00:00.000000000 Z
11
+ date: 2013-07-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,81 +27,71 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mocha
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: sqlite3
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: 3.2.12
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: 3.2.12
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: sass-rails
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: 3.2.6
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: 3.2.6
110
97
  description: Batch icons as a webfont for rails
@@ -119,8 +106,15 @@ files:
119
106
  - LICENSE.txt
120
107
  - README.md
121
108
  - Rakefile
109
+ - app/assets/fonts/batch.eot
110
+ - app/assets/fonts/batch.svg
111
+ - app/assets/fonts/batch.ttf
112
+ - app/assets/fonts/batch.woff
122
113
  - app/assets/stylesheets/batch-ie7.scss
123
114
  - app/assets/stylesheets/batch.scss.erb
115
+ - app/assets/stylesheets/batch/_icons-ie7.scss
116
+ - app/assets/stylesheets/batch/_icons.scss
117
+ - app/assets/stylesheets/batch/_settings.scss
124
118
  - batch-rails2.gemspec
125
119
  - lib/batch-rails2.rb
126
120
  - lib/batch-rails2/version.rb
@@ -163,36 +157,28 @@ files:
163
157
  - test/fixtures/settings.scss.erb
164
158
  - test/settings_test.rb
165
159
  - test/test_helper.rb
166
- - vendor/assets/fonts/batch.eot
167
- - vendor/assets/fonts/batch.svg
168
- - vendor/assets/fonts/batch.ttf
169
- - vendor/assets/fonts/batch.woff
170
- - vendor/assets/stylesheets/batch/_icons-ie7.scss
171
- - vendor/assets/stylesheets/batch/_icons.scss
172
- - vendor/assets/stylesheets/batch/_settings.scss
173
160
  homepage: https://github.com/mortik/batch-rails2
174
161
  licenses: []
162
+ metadata: {}
175
163
  post_install_message:
176
164
  rdoc_options: []
177
165
  require_paths:
178
166
  - lib
179
167
  required_ruby_version: !ruby/object:Gem::Requirement
180
- none: false
181
168
  requirements:
182
- - - ! '>='
169
+ - - '>='
183
170
  - !ruby/object:Gem::Version
184
171
  version: '0'
185
172
  required_rubygems_version: !ruby/object:Gem::Requirement
186
- none: false
187
173
  requirements:
188
- - - ! '>='
174
+ - - '>='
189
175
  - !ruby/object:Gem::Version
190
176
  version: '0'
191
177
  requirements: []
192
178
  rubyforge_project:
193
- rubygems_version: 1.8.23
179
+ rubygems_version: 2.0.2
194
180
  signing_key:
195
- specification_version: 3
181
+ specification_version: 4
196
182
  summary: Basic integration for the Batch Webfont Icons
197
183
  test_files:
198
184
  - test/batch-rails2_test.rb