railties 4.1.9 → 4.1.10.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 +15 -0
- data/lib/rails/gem_version.rb +2 -2
- data/lib/rails/generators/actions.rb +2 -2
- data/lib/rails/generators/rails/app/templates/config/application.rb +1 -0
- data/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +1 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec946c52c557e04cefa1b1ee39885643af576688
|
4
|
+
data.tar.gz: d1fc76275c44d3f182e77a28f97abe3c1ad19337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52fc98afb4dadfff02fe27370b9406356b4142ccf25c2203e27cbb00aa79222bc0525ee16460df237fb7b513f0ceab88796954137ccdfe1630964b716facee4
|
7
|
+
data.tar.gz: 2d85081725e79003fbf7b3dcb57c0db5e267306ce8f73a1e4a39c6802c2e996926d4a573df7d0f9406543ef0326e57730ab780788ac66c1a77f5fb668163b83a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
* Force generated routes to be inserted into routes.rb
|
2
|
+
|
3
|
+
*Andrew White*
|
4
|
+
|
5
|
+
* Don't remove all line endings from routes.rb when revoking scaffold.
|
6
|
+
|
7
|
+
Fixes #15913.
|
8
|
+
|
9
|
+
*Andrew White*
|
10
|
+
|
11
|
+
* Fix scaffold generator with `--helper=false` option.
|
12
|
+
|
13
|
+
*Rafael Mendonça França*
|
14
|
+
|
15
|
+
|
1
16
|
## Rails 4.1.9 (January 6, 2015) ##
|
2
17
|
|
3
18
|
* No changes.
|
data/lib/rails/gem_version.rb
CHANGED
@@ -218,10 +218,10 @@ module Rails
|
|
218
218
|
# route "root 'welcome#index'"
|
219
219
|
def route(routing_code)
|
220
220
|
log :route, routing_code
|
221
|
-
sentinel = /\.routes\.draw do\s
|
221
|
+
sentinel = /\.routes\.draw do\s*\n/m
|
222
222
|
|
223
223
|
in_root do
|
224
|
-
inject_into_file 'config/routes.rb', "
|
224
|
+
inject_into_file 'config/routes.rb', " #{routing_code}", { after: sentinel, verbose: false, force: true }
|
225
225
|
end
|
226
226
|
end
|
227
227
|
|
@@ -3,6 +3,7 @@ require File.expand_path('../boot', __FILE__)
|
|
3
3
|
<% if include_all_railties? -%>
|
4
4
|
require 'rails/all'
|
5
5
|
<% else -%>
|
6
|
+
require "rails"
|
6
7
|
# Pick the frameworks you want:
|
7
8
|
require "active_model/railtie"
|
8
9
|
<%= comment_if :skip_active_record %>require "active_record/railtie"
|
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.1.
|
4
|
+
version: 4.1.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: 2015-
|
11
|
+
date: 2015-02-20 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.1.
|
19
|
+
version: 4.1.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.1.
|
26
|
+
version: 4.1.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.1.
|
33
|
+
version: 4.1.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.1.
|
40
|
+
version: 4.1.10.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - '='
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 4.1.
|
81
|
+
version: 4.1.10.rc1
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - '='
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 4.1.
|
88
|
+
version: 4.1.10.rc1
|
89
89
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
90
90
|
email: david@loudthinking.com
|
91
91
|
executables:
|
@@ -349,9 +349,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
349
349
|
version: 1.9.3
|
350
350
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
351
351
|
requirements:
|
352
|
-
- - "
|
352
|
+
- - ">"
|
353
353
|
- !ruby/object:Gem::Version
|
354
|
-
version:
|
354
|
+
version: 1.3.1
|
355
355
|
requirements: []
|
356
356
|
rubyforge_project:
|
357
357
|
rubygems_version: 2.4.5
|