action_widget 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b55679eb4877455d51a7e8f16038608e91a191e9
4
- data.tar.gz: 5078838b75852803999e6f1357a06d4328b3ee55
3
+ metadata.gz: dba13c5767716e2031d96aef351a03bb32ce2102
4
+ data.tar.gz: f7526842c103cf04048e340c4622ede18720779b
5
5
  SHA512:
6
- metadata.gz: 5c2add84e52d6f3259c6da7186f28c0668c834a3628325d569f9010979f8508258a9dabb55215cefc4b21e864d467ccba6d0eac853465c45b1c28c40ee226286
7
- data.tar.gz: 8bb1b072a106dea18e5c69691f8efac3b348d80b898abe93dc442457807acf6a8b7b5ff5a3a31be093e625a34e6829960b04e1f5b02f566ec8f734334fa0a7b5
6
+ metadata.gz: be72bd032fbc25b1acdb4c5d08832e198cacfa5a4c6e19ac2c92306391a8b0e8ad6c2c7c03df7c66d8fcb77798486863d0d8861401eb242dd5106b38f157e739
7
+ data.tar.gz: 4e1966a15edf1dc8b1df2f69a6cb3122e7efc9cc21d5edf8e002a7947a0661988123e4c69b8b1eb8755a8fbdbfabcc04d2cc03a0aa25678d637db6ad7b615d91
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require_relative 'lib/action_widget/version.rb'
2
+ require File.expand_path('../lib/action_widget/version.rb', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Konstantin Tennhard"]
@@ -1,3 +1,5 @@
1
+ require 'rails/generators'
2
+
1
3
  module ActionWidget
2
4
  module Extensions
3
5
  module Rails
@@ -1,15 +1,13 @@
1
+ require 'rails/railtie'
2
+
1
3
  module ActionWidget
2
4
  module Extensions
3
5
  module Rails
4
-
5
6
  class Railtie < ::Rails::Railtie
6
-
7
7
  initializer "action_widget.helper" do
8
8
  ActionView::Base.send(:include, ::ActionWidget::ViewHelper)
9
9
  end
10
-
11
10
  end
12
-
13
11
  end
14
12
  end
15
- end
13
+ end
@@ -1,2 +1,2 @@
1
- require 'action_widget/extensions/rails/railtie' if defined?(::Rails::Railtie)
2
- require 'action_widget/extensions/rails/generators' if defined?(::Rails::Generators::Base)
1
+ require 'action_widget/extensions/rails/railtie'
2
+ require 'action_widget/extensions/rails/generators'
@@ -1,2 +1,2 @@
1
1
  require 'action_widget/extensions/rails' if defined?(::Rails)
2
- require 'action_widget/extensions/middleman' if defined?(::Middleman)
2
+ require 'action_widget/extensions/middleman' if defined?(::Middleman)
@@ -1,3 +1,3 @@
1
1
  module ActionWidget
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Tennhard