eyeballs_rails 0.1.2.1 → 0.1.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.
data/Rakefile CHANGED
@@ -23,8 +23,8 @@ begin
23
23
  gemspec.email = "paul@rslw.com"
24
24
  gemspec.homepage = "http://github.com/paulca/eyeballs_rails"
25
25
  gemspec.authors = ["Paul Campbell"]
26
- gemspec.files = FileList["[A-Z]*", "lib/**/*", "app/**/*"]
27
- gemspec.version = "0.1.2.1"
26
+ gemspec.files = FileList["[A-Za-z]*", "lib/**/*"]
27
+ gemspec.version = "0.1.4"
28
28
  end
29
29
  rescue LoadError
30
30
  puts "Jeweler not available. Install it with: gem install jeweler"
@@ -0,0 +1,64 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{eyeballs_rails}
8
+ s.version = "0.1.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Paul Campbell"]
12
+ s.date = %q{2010-10-22}
13
+ s.description = %q{Helpers for using eyeballs.js with Ruby on Rails}
14
+ s.email = %q{paul@rslw.com}
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ "Gemfile",
20
+ "Gemfile.lock",
21
+ "MIT-LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "eyeballs_rails.gemspec",
25
+ "init.rb",
26
+ "lib/eyeballs_rails_helper.rb"
27
+ ]
28
+ s.homepage = %q{http://github.com/paulca/eyeballs_rails}
29
+ s.rdoc_options = ["--charset=UTF-8"]
30
+ s.require_paths = ["lib"]
31
+ s.rubygems_version = %q{1.3.7}
32
+ s.summary = %q{Include eyeballs.js javascripts automatically}
33
+ s.test_files = [
34
+ "test/dummy/app/controllers/application_controller.rb",
35
+ "test/dummy/app/helpers/application_helper.rb",
36
+ "test/dummy/config/application.rb",
37
+ "test/dummy/config/boot.rb",
38
+ "test/dummy/config/environment.rb",
39
+ "test/dummy/config/environments/development.rb",
40
+ "test/dummy/config/environments/production.rb",
41
+ "test/dummy/config/environments/test.rb",
42
+ "test/dummy/config/initializers/backtrace_silencers.rb",
43
+ "test/dummy/config/initializers/inflections.rb",
44
+ "test/dummy/config/initializers/mime_types.rb",
45
+ "test/dummy/config/initializers/secret_token.rb",
46
+ "test/dummy/config/initializers/session_store.rb",
47
+ "test/dummy/config/routes.rb",
48
+ "test/eyeballs_rails_helper_test.rb",
49
+ "test/integration/navigation_test.rb",
50
+ "test/support/integration_case.rb",
51
+ "test/test_helper.rb"
52
+ ]
53
+
54
+ if s.respond_to? :specification_version then
55
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
56
+ s.specification_version = 3
57
+
58
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
59
+ else
60
+ end
61
+ else
62
+ end
63
+ end
64
+
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require 'eyeballs_rails_helper'
@@ -23,4 +23,6 @@ module EyeballsRailsHelper
23
23
  javascript_include_tag(javascripts)
24
24
  end
25
25
  end
26
- end
26
+ end
27
+
28
+ ActionView::Base.send(:include, EyeballsRailsHelper)
@@ -7,7 +7,7 @@ require "action_view/railtie"
7
7
  require "action_mailer/railtie"
8
8
 
9
9
  Bundler.require
10
- require "eyeballs_rails"
10
+ require "eyeballs_rails_helper"
11
11
 
12
12
  module Dummy
13
13
  class Application < Rails::Application
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyeballs_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 77
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- - 1
11
- version: 0.1.2.1
9
+ - 4
10
+ version: 0.1.4
12
11
  platform: ruby
13
12
  authors:
14
13
  - Paul Campbell
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-08-23 00:00:00 +01:00
18
+ date: 2010-10-22 00:00:00 +01:00
20
19
  default_executable:
21
20
  dependencies: []
22
21
 
@@ -34,8 +33,9 @@ files:
34
33
  - MIT-LICENSE
35
34
  - README.md
36
35
  - Rakefile
37
- - app/helpers/eyeballs_rails_helper.rb
38
- - lib/eyeballs_rails.rb
36
+ - eyeballs_rails.gemspec
37
+ - init.rb
38
+ - lib/eyeballs_rails_helper.rb
39
39
  - test/dummy/app/controllers/application_controller.rb
40
40
  - test/dummy/app/helpers/application_helper.rb
41
41
  - test/dummy/config/application.rb
@@ -1,3 +0,0 @@
1
- require File.join(File.dirname(__FILE__), '..', 'app', 'helpers', 'eyeballs_rails_helper')
2
-
3
- ActionController::Base.helper(EyeballsRailsHelper)