stateface-rails 0.0.3 → 0.0.4

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.
@@ -1,5 +1,3 @@
1
- # require "jquery/assert_select" if ::Rails.env.test?
2
-
3
1
  module Stateface
4
2
  module Rails
5
3
  class Engine < ::Rails::Engine
@@ -0,0 +1,9 @@
1
+ module Stateface
2
+ module Rails
3
+ module Helpers
4
+ def stateface_tag(abbreviation)
5
+
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ require 'stateface/rails/helpers'
2
+ module Stateface
3
+ module Rails
4
+ class Railtie < Rails::Railtie
5
+ initializer "stateface.rails.helpers" do
6
+ ActionView::Base.send :include, Helpers
7
+ end
8
+ end
9
+ end
10
+
@@ -1,5 +1,5 @@
1
1
  module Stateface
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ["chris@farski.com"]
7
7
  gem.description = %q{Use StateFace in your rails app}
8
8
  gem.summary = %q{Makes using the ProPublica StateFace webfont a little easier in your rails apps}
9
- gem.homepage = ""
9
+ gem.homepage = "https://github.com/farski/stateface-rails"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
12
  gem.files = `git ls-files`.split("\n")
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -26,6 +26,8 @@ files:
26
26
  - lib/stateface-rails.rb
27
27
  - lib/stateface/rails.rb
28
28
  - lib/stateface/rails/engine.rb
29
+ - lib/stateface/rails/helpers.rb
30
+ - lib/stateface/rails/railtie.rb
29
31
  - lib/stateface/rails/version.rb
30
32
  - stateface-rails.gemspec
31
33
  - vendor/assets/stylesheets/propublica/stateface.css
@@ -33,7 +35,7 @@ files:
33
35
  - vendor/assets/typefaces/propublica/stateface-regular-webfont.svg
34
36
  - vendor/assets/typefaces/propublica/stateface-regular-webfont.ttf
35
37
  - vendor/assets/typefaces/propublica/stateface-regular-webfont.woff
36
- homepage: ''
38
+ homepage: https://github.com/farski/stateface-rails
37
39
  licenses: []
38
40
  post_install_message:
39
41
  rdoc_options: []