railties 4.0.9 → 4.0.10.rc1

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: 36f2b38d8c68ffb7a3d0482f6a94232d742e3340
4
- data.tar.gz: 617a80a53272c8e498e6b39d1efe1997d97efca1
3
+ metadata.gz: b80050aab11ab93b6d0c7a171a35143069471178
4
+ data.tar.gz: 662b22a8fbacffc02588762a1fbb592f069e10b6
5
5
  SHA512:
6
- metadata.gz: d168598c432d81ab079e26ef072b85e03560be5c8452772dee994873ae4c608a0d93af42d8aeb4df392a7aac3149af0b3d4a855b674a6e463b18fc6de7257b30
7
- data.tar.gz: 4459bc0221d69c97bb2bd45146fa7d698b6f87dc78f6954721353df126780d9f15bdb533c39f6055c4a51a22c7d24456d29a5b9f7f646a0518a66bbea657d654
6
+ metadata.gz: 42da06cf0fc6f9f2a6f7ed6846b8caff9a4d440619318f93118ea10b5632a2db7c6134411fbb1780b374a65ac4b613cb92ef72b7f1dbf00cd72a6b1cff4f17cb
7
+ data.tar.gz: e52292c1c9a5aa48d6f569ac8680ab00cd6587b80be62b5ababf0750612a5e1ad734a522fb65b7ae296e6369863b30a7724b02f9c9994e825b3d5fa6844a9c75
@@ -1,3 +1,11 @@
1
+ ## Rails 4.0.10 (August 19, 2014) ##
2
+
3
+ * Scaffold generator `_form` partial adds `class="field"` for password
4
+ confirmation fields.
5
+
6
+ *noinkling*
7
+
8
+
1
9
  ## Rails 4.0.9 (August 18, 2014) ##
2
10
 
3
11
  *No changes*
@@ -235,6 +235,10 @@ module Rails
235
235
  config.helpers_paths
236
236
  end
237
237
 
238
+ def migration_railties # :nodoc:
239
+ (ordered_railties & railties_without_main_app).reverse
240
+ end
241
+
238
242
  protected
239
243
 
240
244
  alias :build_middleware_stack :app
@@ -266,6 +270,11 @@ module Rails
266
270
  super
267
271
  end
268
272
 
273
+ def railties_without_main_app # :nodoc:
274
+ @railties_without_main_app ||= Rails::Railtie.subclasses.map(&:instance) +
275
+ Rails::Engine.subclasses.map(&:instance)
276
+ end
277
+
269
278
  # Returns the ordered railties for this application considering railties_order.
270
279
  def ordered_railties #:nodoc:
271
280
  @ordered_railties ||= begin
@@ -17,7 +17,7 @@
17
17
  <%%= f.label :password %><br>
18
18
  <%%= f.password_field :password %>
19
19
  </div>
20
- <div>
20
+ <div class="field">
21
21
  <%%= f.label :password_confirmation %><br>
22
22
  <%%= f.password_field :password_confirmation %>
23
23
  <% else -%>
@@ -30,4 +30,7 @@
30
30
  # number of complex assets.
31
31
  config.assets.debug = true
32
32
  <%- end -%>
33
+
34
+ # Raises error for missing translations
35
+ # config.action_view.raise_on_missing_translations = true
33
36
  end
@@ -33,4 +33,7 @@
33
33
 
34
34
  # Print deprecation notices to the stderr.
35
35
  config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
36
39
  end
@@ -80,7 +80,7 @@ module Rails
80
80
  to_prepare_blocks << blk if blk
81
81
  end
82
82
 
83
- def respond_to?(name)
83
+ def respond_to?(name, include_private = false)
84
84
  super || @@options.key?(name.to_sym)
85
85
  end
86
86
 
@@ -2,8 +2,8 @@ module Rails
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- TINY = 9
6
- PRE = nil
5
+ TINY = 10
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.9
4
+ version: 4.0.10.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: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.9
19
+ version: 4.0.10.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.0.9
26
+ version: 4.0.10.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.9
33
+ version: 4.0.10.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.9
40
+ version: 4.0.10.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -321,9 +321,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
321
  version: 1.9.3
322
322
  required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  requirements:
324
- - - ">="
324
+ - - ">"
325
325
  - !ruby/object:Gem::Version
326
- version: '0'
326
+ version: 1.3.1
327
327
  requirements: []
328
328
  rubyforge_project:
329
329
  rubygems_version: 2.3.0