wordnik_ruby_helpers 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/init.rb CHANGED
@@ -1,3 +1,5 @@
1
1
  require File.dirname(__FILE__) + '/lib/wordnik_ruby_helpers'
2
2
 
3
- ActionView::Base.send( :include, WordnikRubyHelpers::ViewHelpers )
3
+ # ActionView::Base.send( :include, WordnikRubyHelpers::ViewHelpers )
4
+
5
+ ActionController::Base.helper(WordnikRubyHelpers::ViewHelpers)
@@ -1,3 +1,3 @@
1
1
  module WordnikRubyHelpers
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,7 +1,3 @@
1
- require 'i18n'
2
- path=File.dirname(__FILE__)
3
- I18n.load_path += Dir[ File.join(path, 'locales', '*.{rb,yml}') ]
4
-
5
1
  module WordnikRubyHelpers
6
2
  module ViewHelpers
7
3
 
@@ -14,7 +14,6 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "wordnik_ruby_helpers"
16
16
 
17
- s.add_dependency 'i18n'
18
17
  s.add_dependency 'rails'
19
18
  s.add_dependency 'RedCloth', '>= 4.2.3'
20
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Zeke Sikelianos
@@ -19,7 +19,7 @@ date: 2011-01-12 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: i18n
22
+ name: rails
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
@@ -31,23 +31,10 @@ dependencies:
31
31
  version: "0"
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rails
36
- prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- segments:
43
- - 0
44
- version: "0"
45
- type: :runtime
46
- version_requirements: *id002
47
34
  - !ruby/object:Gem::Dependency
48
35
  name: RedCloth
49
36
  prerelease: false
50
- requirement: &id003 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
51
38
  none: false
52
39
  requirements:
53
40
  - - ">="
@@ -58,11 +45,11 @@ dependencies:
58
45
  - 3
59
46
  version: 4.2.3
60
47
  type: :runtime
61
- version_requirements: *id003
48
+ version_requirements: *id002
62
49
  - !ruby/object:Gem::Dependency
63
50
  name: rspec
64
51
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
52
+ requirement: &id003 !ruby/object:Gem::Requirement
66
53
  none: false
67
54
  requirements:
68
55
  - - ">="
@@ -71,7 +58,7 @@ dependencies:
71
58
  - 0
72
59
  version: "0"
73
60
  type: :development
74
- version_requirements: *id004
61
+ version_requirements: *id003
75
62
  description: A handful of monkey patches and view helpers that we use in our ruby/rails projects
76
63
  email:
77
64
  - zeke@wordnik.com