surrounded-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Surrounded
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -4,8 +4,8 @@ require "rails"
4
4
  module Surrounded
5
5
  class Railtie < ::Rails::Railtie
6
6
  initializer 'surrounded.active_record' do |app|
7
- ActiveRecord::Base.send(:include, ::Surrounded)
8
7
  ActiveRecord::Base.class_eval {
8
+ include Surrounded
9
9
  # This relies on a private method (present in Rails 3 and 4)
10
10
  # because there is no earlier hook to set this variable.
11
11
  # The after_initialize callback occurs to late because
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "surrounded", "~> 0.4.0"
21
+ spec.add_dependency "surrounded", "~> 0.4.1"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,32 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surrounded-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - '''Jim Gay'''
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-08-20 00:00:00.000000000 Z
12
+ date: 2013-10-02 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: surrounded
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: 0.4.0
21
+ version: 0.4.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: 0.4.0
29
+ version: 0.4.1
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: bundler
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - '>='
53
60
  - !ruby/object:Gem::Version
@@ -71,25 +78,27 @@ files:
71
78
  homepage: ''
72
79
  licenses:
73
80
  - MIT
74
- metadata: {}
75
81
  post_install_message:
76
82
  rdoc_options: []
77
83
  require_paths:
78
84
  - lib
79
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
+ none: false
80
87
  requirements:
81
88
  - - '>='
82
89
  - !ruby/object:Gem::Version
83
90
  version: '0'
84
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
85
93
  requirements:
86
94
  - - '>='
87
95
  - !ruby/object:Gem::Version
88
96
  version: '0'
89
97
  requirements: []
90
98
  rubyforge_project:
91
- rubygems_version: 2.0.3
99
+ rubygems_version: 1.8.26
92
100
  signing_key:
93
- specification_version: 4
101
+ specification_version: 3
94
102
  summary: This sets up your ActiveRecord models to use Surrounded
95
103
  test_files: []
104
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2ddba4fbc6d5f185b51731509d819c8089bf890e
4
- data.tar.gz: a25c583ad1000c758cbbbd364e9cfe18e145767b
5
- SHA512:
6
- metadata.gz: 935633344a9e91c7c2e88deafb26b7538d8caad8c0a5ae9f8baaade06e0db0f0504282d86273a7284f4162447404cd468861df41811acc263ff1c7c9e719b744
7
- data.tar.gz: eb6ff1ac36e6dcae64263afdbf772735e2312aaf9c440ba0211455c9ae957f0372ca32eac5af3eacffc280652530a26b3991a45b934f425a327d63683ea43861