activemodel 3.1.8 → 3.1.9

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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +13 -79
  3. data/lib/active_model/version.rb +1 -1
  4. metadata +13 -24
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: 5d244790da0902913c69bec599dbfff227168382
4
+ data.tar.gz: 797bce6de120dc003eeafe285003d4904c5f20d6
5
+ !binary "U0hBNTEy":
6
+ metadata.gz: fe4928e312344298117c404341df0dd27aa97d5267c308432d5bd88e9595cb23e52a992c52bc5924a5330bc108e19c694fa50644f3cc3846cb14467f6ec9d40d
7
+ data.tar.gz: 7b985b33e19c0eea8ea929cff46692226ff36a59f6e00985368150712ee86ef90441306ebc9c3d37437caea3ba900b98dff43e23a4244382923f6bc67dba2a46
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Rails 3.1.9 ##
2
+
3
+ * Due to a change in builder, nil values now generates closed tags, so instead of this:
4
+
5
+ <pseudonyms nil=\"true\"></pseudonyms>
6
+
7
+ It generates this:
8
+
9
+ <pseudonyms nil=\"true\"/>
10
+
11
+ *Carlos Antonio da Silva*
12
+
1
13
  ## Rails 3.1.8 (Aug 9, 2012)
2
14
 
3
15
  * No changes.
@@ -45,82 +57,4 @@
45
57
 
46
58
  * Add support for selectively enabling/disabling observers *Myron Marston*
47
59
 
48
-
49
- ## Rails 3.0.7 (April 18, 2011) ##
50
-
51
- * No changes.
52
-
53
-
54
- * Rails 3.0.6 (April 5, 2011)
55
-
56
- * Fix when database column name has some symbolic characters (e.g. Oracle CASE# VARCHAR2(20)) #5818 #6850 *Robert Pankowecki, Santiago Pastorino*
57
-
58
- * Fix length validation for fixnums #6556 *Andriy Tyurnikov*
59
-
60
- * Fix i18n key collision with namespaced models #6448 *yves.senn*
61
-
62
-
63
- ## Rails 3.0.5 (February 26, 2011) ##
64
-
65
- * No changes.
66
-
67
-
68
- ## Rails 3.0.4 (February 8, 2011) ##
69
-
70
- * No changes.
71
-
72
-
73
- ## Rails 3.0.3 (November 16, 2010) ##
74
-
75
- * No changes.
76
-
77
-
78
- ## Rails 3.0.2 (November 15, 2010) ##
79
-
80
- * No changes
81
-
82
-
83
- ## Rails 3.0.1 (October 15, 2010) ##
84
-
85
- * No Changes, just a version bump.
86
-
87
-
88
- ## Rails 3.0.0 (August 29, 2010) ##
89
-
90
- * Added ActiveModel::MassAssignmentSecurity *Eric Chapweske, Josh Kalderimis*
91
-
92
- * JSON supports a custom root option: to_json(:root => 'custom') #4515 *Jatinder Singh*
93
-
94
- * #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
95
- persisted? instead. A model is persisted if it's not a new_record? and it was
96
- not destroyed? *MG*
97
-
98
- * Added validations reflection in ActiveModel::Validations *JV*
99
-
100
- Model.validators
101
- Model.validators_on(:field)
102
-
103
- * #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
104
- AMo objects with composite keys *MG*
105
-
106
- * ActiveModel::Observer#add_observer!
107
-
108
- It has a custom hook to define after_find that should really be in a
109
- ActiveRecord::Observer subclass:
110
-
111
- def add_observer!(klass)
112
- klass.add_observer(self)
113
- klass.class_eval 'def after_find() end' unless klass.respond_to?(:after_find)
114
- end
115
-
116
- * Change the ActiveModel::Base.include_root_in_json default to true for Rails 3 *DHH*
117
-
118
- * Add validates_format_of :without => /regexp/ option. #430 *Elliot Winkler, Peer Allan*
119
-
120
- Example :
121
-
122
- validates_format_of :subdomain, :without => /www|admin|mail/
123
-
124
- * Introduce validates_with to encapsulate attribute validations in a class. #2630 *Jeff Dean*
125
-
126
- * Extracted from Active Record and Active Resource.
60
+ Please check [3-0-stable](https://github.com/rails/rails/blob/3-0-stable/activemodel/CHANGELOG) for previous changes.
@@ -2,7 +2,7 @@ module ActiveModel
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- TINY = 8
5
+ TINY = 9
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.8
5
- prerelease:
4
+ version: 3.1.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Heinemeier Hansson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-09 00:00:00.000000000 Z
11
+ date: 2012-12-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 3.1.8
19
+ version: 3.1.9
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 3.1.8
26
+ version: 3.1.9
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: builder
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 3.0.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 3.0.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: i18n
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0.6'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0.6'
62
55
  description: A toolkit for building modeling frameworks like Active Record and Active
@@ -107,29 +100,25 @@ files:
107
100
  - lib/active_model.rb
108
101
  homepage: http://www.rubyonrails.org
109
102
  licenses: []
103
+ metadata: {}
110
104
  post_install_message:
111
105
  rdoc_options: []
112
106
  require_paths:
113
107
  - lib
114
108
  required_ruby_version: !ruby/object:Gem::Requirement
115
- none: false
116
109
  requirements:
117
- - - ! '>='
110
+ - - ">="
118
111
  - !ruby/object:Gem::Version
119
112
  version: 1.8.7
120
113
  required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
114
  requirements:
123
- - - ! '>='
115
+ - - ">="
124
116
  - !ruby/object:Gem::Version
125
117
  version: '0'
126
- segments:
127
- - 0
128
- hash: -1039536443134573190
129
118
  requirements: []
130
119
  rubyforge_project:
131
- rubygems_version: 1.8.24
120
+ rubygems_version: 2.0.0.preview2.1
132
121
  signing_key:
133
- specification_version: 3
122
+ specification_version: 4
134
123
  summary: A toolkit for building modeling frameworks (part of Rails).
135
124
  test_files: []