activemodel 4.2.5.2 → 4.2.6.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/active_model/dirty.rb +5 -1
- data/lib/active_model/gem_version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e7bc44980486ff4bf7d22cef76749da2d8a403
|
4
|
+
data.tar.gz: 194a5a81d51f2b3d3e22252ad5abc764a50c15f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b64303a2ea6d23701a4de3904fc53ea72e04129e32021cae51b412df0456e3f94b2a9784749aa4921a90960e5ebe4632ed37cf0a3d336ae11a6af0a2584dc59f
|
7
|
+
data.tar.gz: d0aa662170ec4d7f1af056442d6bccabe3a1ef7296020256233789f038bf69295e789aad2f9119827d29090e725d2ba90a017dfa001a1c0c1e3adbb8b72cd351
|
data/CHANGELOG.md
CHANGED
data/lib/active_model/dirty.rb
CHANGED
@@ -27,6 +27,10 @@ module ActiveModel
|
|
27
27
|
#
|
28
28
|
# define_attribute_methods :name
|
29
29
|
#
|
30
|
+
# def initialize(name)
|
31
|
+
# @name = name
|
32
|
+
# end
|
33
|
+
#
|
30
34
|
# def name
|
31
35
|
# @name
|
32
36
|
# end
|
@@ -55,7 +59,7 @@ module ActiveModel
|
|
55
59
|
#
|
56
60
|
# A newly instantiated +Person+ object is unchanged:
|
57
61
|
#
|
58
|
-
# person = Person.new
|
62
|
+
# person = Person.new("Uncle Bob")
|
59
63
|
# person.changed? # => false
|
60
64
|
#
|
61
65
|
# Change the name:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemodel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.6.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.
|
19
|
+
version: 4.2.6.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.2.
|
26
|
+
version: 4.2.6.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,9 +99,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: 1.9.3
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - "
|
102
|
+
- - ">"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 1.3.1
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
107
|
rubygems_version: 2.5.1
|