stateface-rails 0.0.9 → 0.0.10

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/README.md CHANGED
@@ -1,29 +1,17 @@
1
1
  # Stateface::Rails
2
2
 
3
- TODO: Write a gem description
3
+ In application.css
4
+
5
+ *= require propublica/stateface
4
6
 
5
- ## Installation
7
+ In your views
6
8
 
7
- Add this line to your application's Gemfile:
9
+ <p class='propublica-stateface'><%= 'ma'.to_stateface %></p>
8
10
 
9
- gem 'stateface-rails'
11
+ will map a state abbreviation (CA, HI, MA, etc) to the corresponding letter StateFace uses.
10
12
 
11
- And then execute:
13
+ Or create a span tag with the class for an abbreviation.
12
14
 
13
- $ bundle
15
+ <%= stateface_tag('ma') %>
14
16
 
15
- Or install it yourself as:
16
-
17
- $ gem install stateface-rails
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Added some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
17
+ or use font-face: StateFace however you'd like
@@ -1,5 +1,5 @@
1
1
  module Stateface
2
2
  module Rails
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
@@ -2,16 +2,16 @@
2
2
  font-family: 'StateFace';
3
3
  font-weight: normal;
4
4
  font-style: normal;
5
- src: url('stateface-regular-webfont.eot');
6
- src:
7
- url('stateface-regular-webfont.eot?#iefix') format('embedded-opentype'),
8
- url('stateface-regular-webfont.woff') format('woff'),
9
- url('stateface-regular-webfont.ttf') format('truetype'),
10
- url('stateface-regular-webfont.svg#StateFaceRegular') format('svg');
5
+ src: font-url('propublica/stateface-regular-webfont.eot');
6
+ src:
7
+ font-url('propublica/stateface-regular-webfont.eot?#iefix') format('embedded-opentype'),
8
+ font-url('propublica/stateface-regular-webfont.woff') format('woff'),
9
+ font-url('propublica/stateface-regular-webfont.ttf') format('truetype'),
10
+ font-url('propublica/stateface-regular-webfont.svg#StateFaceRegular') format('svg');
11
11
  }
12
12
 
13
13
  .propublica-stateface {
14
14
  font-family: StateFace;
15
15
  font-weight: normal;
16
16
  font-style: normal;
17
- }
17
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stateface-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-18 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Use StateFace in your rails app
15
15
  email:
@@ -31,11 +31,11 @@ files:
31
31
  - lib/stateface/rails/railtie.rb
32
32
  - lib/stateface/rails/version.rb
33
33
  - stateface-rails.gemspec
34
+ - vendor/assets/fonts/propublica/stateface-regular-webfont.eot
35
+ - vendor/assets/fonts/propublica/stateface-regular-webfont.svg
36
+ - vendor/assets/fonts/propublica/stateface-regular-webfont.ttf
37
+ - vendor/assets/fonts/propublica/stateface-regular-webfont.woff
34
38
  - vendor/assets/stylesheets/propublica/stateface.css
35
- - vendor/assets/typefaces/propublica/stateface-regular-webfont.eot
36
- - vendor/assets/typefaces/propublica/stateface-regular-webfont.svg
37
- - vendor/assets/typefaces/propublica/stateface-regular-webfont.ttf
38
- - vendor/assets/typefaces/propublica/stateface-regular-webfont.woff
39
39
  homepage: https://github.com/farski/stateface-rails
40
40
  licenses: []
41
41
  post_install_message:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 1.8.11
59
+ rubygems_version: 1.8.23
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Makes using the ProPublica StateFace webfont a little easier in your rails