dog_ears 0.1.0 → 0.1.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: 709c098d8cff2b4bc02746ea114aeca43e94ec35
4
- data.tar.gz: 01728ee8bdc68c526b421a11d0011a12dee9b72d
3
+ metadata.gz: 1da6e49146a33b2208eb7dab25f9dbec40d009f3
4
+ data.tar.gz: 7d100050446363ce4996a9487de8112703ca7bb9
5
5
  SHA512:
6
- metadata.gz: 0b4d0b5e1168aff07808acac3773a4ca4bfbe44e77212c6ec8ac47fdbd257872f121127e6f227adea64a17e3235ea4701b99afc4d0f9558e62fd264f5247d241
7
- data.tar.gz: b16a5362c48123887315fec8e2c6b13c4f66932ae145cee8e54e2b62374d596366fc9e0a611bd47b8be6fa785ab6dacf49c5579f9d42e46345d56b83f4eb848e
6
+ metadata.gz: d07454047ac809e443e8b1b6165144c5b0fec07bd685c0fa27b08433770a463800f29c023e20c55394b1d62be350c994103c38ab4ae42b4acbb3bebd3dc04574
7
+ data.tar.gz: 51f9f9e5b16d3c9d40ccb201360b42253ef6175d25846ebfd909a75c7b069874a32730529116651c402ffdb1d0a07f48d6ca1159e7f5d0a8242de270388e2100
@@ -1,5 +1,8 @@
1
1
  module DogEars
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace DogEars
4
+ initializer "dog_ears.view_helpers" do |app|
5
+ ActionView::Base.send :include, ::DogEars::ViewHelpers
6
+ end
4
7
  end
5
8
  end
@@ -1,4 +1,4 @@
1
- module DogEarsHelper
1
+ module DogEars::ViewHelpers
2
2
 
3
3
  def dog_ears(bookmark_url)
4
4
  raise "give the path for dog_ears" unless bookmark_url.present?
@@ -1,3 +1,3 @@
1
1
  module DogEars
2
- VERSION = "0.1.0 "
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dog_ears
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Horn, Provideal GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-28 00:00:00.000000000 Z
11
+ date: 2013-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -48,7 +48,6 @@ files:
48
48
  - app/assets/javascripts/dog_ears/application.js
49
49
  - app/assets/stylesheets/dog_ears/application.css
50
50
  - app/controllers/dog_ears/application_controller.rb
51
- - app/helpers/application_helper.rb
52
51
  - app/models/dog_ears/bookmark.rb
53
52
  - app/views/dog_ears/_dog_ears.html.erb
54
53
  - app/views/layouts/dog_ears/application.html.erb
@@ -65,7 +64,8 @@ files:
65
64
  - Rakefile
66
65
  - README.rdoc
67
66
  homepage: https://github.com/provideal/dog_ears
68
- licenses: []
67
+ licenses:
68
+ - MIT
69
69
  metadata: {}
70
70
  post_install_message:
71
71
  rdoc_options: []
@@ -1,3 +0,0 @@
1
- module ApplicationHelper
2
- include DogEarsHelper
3
- end