active_object 4.0.0 → 4.0.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: b52b58238d84ad6594aaafcb63c961ac46f6ad81
4
- data.tar.gz: 503f279e954d375b381a7b67a6228b3752e11d22
3
+ metadata.gz: fc5b28fc164c1bfa373d711a9398fa66f8d51e06
4
+ data.tar.gz: 2558b490bb6a693f8486ff90ce7f001d8f5b833d
5
5
  SHA512:
6
- metadata.gz: b8bad73d734c8812f45f71fb0db9eef0085d561edf6eb4f80c8cd89b8508b2e163b285c2d858042e282e71c70f02d5a10329c62a67a3ecccee19811ef856734b
7
- data.tar.gz: 6adf3e1b464d321452602f6a9153163f4270720f829d319cf86f0e197606153125984cce45fc1f520cb22146bd5c0bdf6a58ead42a71f41ef530436b05739b96
6
+ metadata.gz: 3767feeea978823569a8e6d9bfd75f5f8e6e0a37ee600b8b88241860b79b7b35f968949b3668454d2d1d5ca8ff36c603eb911baa8f4e58f8ae5d22691816a4ce
7
+ data.tar.gz: 6ae0499fe1c98b83d173e0436eed3733dd2e4542208f4f5d7a4f6d3a232b47174a9dbf0635d4b0894874ff2e66299969751d01dd7b49ba088b5e9083f11d35ed
data/README.md CHANGED
@@ -42,11 +42,10 @@ Or install it yourself as:
42
42
 
43
43
  ## Configuration
44
44
 
45
- `rails g active_object:install` will generate the following `active_object.rb` file:
45
+ `rails generate active_object:install` will generate the following file:
46
+ `../config/initalizers/active_object.rb`
46
47
 
47
48
  ```ruby
48
- # config/initalizers/active_object.rb
49
-
50
49
  ActiveObject.configure do |config|
51
50
  config.autoload_array = true
52
51
  config.autoload_date = true
@@ -197,4 +197,4 @@ module ActiveObject::Array
197
197
 
198
198
  end
199
199
 
200
- Array.send(:include, ActiveObject::Array) if ActiveObject::Settings.config.autoload_array
200
+ Array.include(ActiveObject::Array) if ActiveObject::Settings.config.autoload_array
@@ -99,4 +99,4 @@ module ActiveObject::Date
99
99
 
100
100
  end
101
101
 
102
- Date.send(:include, ActiveObject::Date) if ActiveObject::Settings.config.autoload_date
102
+ Date.include(ActiveObject::Date) if ActiveObject::Settings.config.autoload_date
@@ -229,4 +229,4 @@ module ActiveObject::Hash
229
229
 
230
230
  end
231
231
 
232
- Hash.send(:include, ActiveObject::Hash) if ActiveObject::Settings.config.autoload_hash
232
+ Hash.include(ActiveObject::Hash) if ActiveObject::Settings.config.autoload_hash
@@ -26,4 +26,4 @@ module ActiveObject::Integer
26
26
 
27
27
  end
28
28
 
29
- Integer.send(:include, ActiveObject::Integer) if ActiveObject::Settings.config.autoload_integer
29
+ Integer.include(ActiveObject::Integer) if ActiveObject::Settings.config.autoload_integer
@@ -566,4 +566,4 @@ module ActiveObject::Numeric
566
566
 
567
567
  end
568
568
 
569
- Numeric.send(:include, ActiveObject::Numeric) if ActiveObject::Settings.config.autoload_numeric
569
+ Numeric.include(ActiveObject::Numeric) if ActiveObject::Settings.config.autoload_numeric
@@ -90,4 +90,4 @@ module ActiveObject::Object
90
90
 
91
91
  end
92
92
 
93
- Object.send(:include, ActiveObject::Object) if ActiveObject::Settings.config.autoload_object
93
+ Object.include(ActiveObject::Object) if ActiveObject::Settings.config.autoload_object
@@ -31,4 +31,4 @@ module ActiveObject::Range
31
31
 
32
32
  end
33
33
 
34
- Range.send(:include, ActiveObject::Range) if ActiveObject::Settings.config.autoload_range
34
+ Range.include(ActiveObject::Range) if ActiveObject::Settings.config.autoload_range
@@ -381,4 +381,4 @@ module ActiveObject::String
381
381
 
382
382
  end
383
383
 
384
- String.send(:include, ActiveObject::String) if ActiveObject::Settings.config.autoload_string
384
+ String.include(ActiveObject::String) if ActiveObject::Settings.config.autoload_string
@@ -117,4 +117,4 @@ module ActiveObject::Time
117
117
 
118
118
  end
119
119
 
120
- Time.send(:include, ActiveObject::Time) if ActiveObject::Settings.config.autoload_time
120
+ Time.include(ActiveObject::Time) if ActiveObject::Settings.config.autoload_time
@@ -1,3 +1,3 @@
1
1
  module ActiveObject
2
- VERSION = '4.0.0'.freeze
2
+ VERSION = '4.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler