gon 0.2.2 → 0.3.0

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/README.md CHANGED
@@ -40,13 +40,13 @@ alert(Gon.your_hash)
40
40
  Puts this line into `Gemfile` then run `$ bundle`:
41
41
 
42
42
  ``` ruby
43
- gem 'gon', '0.2.2'
43
+ gem 'gon', '0.3.0'
44
44
  ```
45
45
 
46
46
  Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
47
47
 
48
48
  ``` ruby
49
- config.gem 'gon', :version => '0.2.2'
49
+ config.gem 'gon', :version => '0.3.0'
50
50
  ```
51
51
 
52
52
  Or manually install gon gem: `$ gem install gon`
data/lib/gon/helpers.rb CHANGED
@@ -20,6 +20,4 @@ module Gon
20
20
  end
21
21
  end
22
22
 
23
- module ActionView::Helpers
24
- include Gon::Helpers
25
- end
23
+ ActionView::Base.send :include, Gon::Helpers
data/lib/gon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gon
2
- VERSION = '0.2.2'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-11 00:00:00.000000000 +04:00
12
+ date: 2011-06-23 00:00:00.000000000 %:z
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: If you need to send some data to your js files and you don't want to