railties 4.1.13 → 4.1.14.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: f867f26ca8766a1399bdff4ceb4b90cd88407a44
4
- data.tar.gz: ea5bb377ccf676db3375ff346d81b18e864fad81
3
+ metadata.gz: c9e7f782ffd0c14d66f1193acf1873794452d03e
4
+ data.tar.gz: a04ab3d8966ea09d322d64eb713e68ac60a1fd33
5
5
  SHA512:
6
- metadata.gz: b339434cba88469e861495c91e91dab937e5e3bf50386933016fe443e1487d72eba31af090b538a5394de43d15f2880fa70fe1c1aec06caf884b38f166151e5b
7
- data.tar.gz: f18670d438a257b1a92d8f81f4b431a24f727e9091473e9d6851bb3094eaa5600a0e5ff9df7f877f4388604a28fc6fa3296c9bb4716f1bcb0f4a74ff09e63fde
6
+ metadata.gz: ce91d25d3285c2fa55c010b03e8930a7cc6ed89ce2fd023fef891131bf63bdbe2ca365dfe434b5a561e569f56a9d551638892400a29d3f38935ef437ebe2a427
7
+ data.tar.gz: 5a7f8c55719cb7288454b4a3bc2d345d30dbf0af5d237715feadff4a209614b34846c932b33f029ed701fd5132ecb889fd9e32583a2322770989ac77c8046ef8
@@ -1,3 +1,8 @@
1
+ ## Rails 4.1.14.rc1 (October 30, 2015) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 4.1.13 (August 24, 2015) ##
2
7
 
3
8
  * No changes.
@@ -7,8 +7,8 @@ module Rails
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
- TINY = 13
11
- PRE = nil
10
+ TINY = 14
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -160,7 +160,8 @@ module Rails
160
160
 
161
161
  def database_gemfile_entry
162
162
  return [] if options[:skip_active_record]
163
- GemfileEntry.version gem_for_database, nil,
163
+ gem_name, gem_version = gem_for_database
164
+ GemfileEntry.version gem_name, gem_version,
164
165
  "Use #{options[:database]} as the database for Active Record"
165
166
  end
166
167
 
@@ -196,6 +197,16 @@ module Rails
196
197
  def padding(max_width)
197
198
  ' ' * (max_width - name.length + 2)
198
199
  end
200
+
201
+ def version
202
+ version = super
203
+
204
+ if version.is_a?(Array)
205
+ version.join("', '")
206
+ else
207
+ version
208
+ end
209
+ end
199
210
  end
200
211
 
201
212
  def rails_gemfile_entry
@@ -214,16 +225,16 @@ module Rails
214
225
  def gem_for_database
215
226
  # %w( mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql )
216
227
  case options[:database]
217
- when "oracle" then "ruby-oci8"
218
- when "postgresql" then "pg"
219
- when "frontbase" then "ruby-frontbase"
220
- when "mysql" then "mysql2"
221
- when "sqlserver" then "activerecord-sqlserver-adapter"
222
- when "jdbcmysql" then "activerecord-jdbcmysql-adapter"
223
- when "jdbcsqlite3" then "activerecord-jdbcsqlite3-adapter"
224
- when "jdbcpostgresql" then "activerecord-jdbcpostgresql-adapter"
225
- when "jdbc" then "activerecord-jdbc-adapter"
226
- else options[:database]
228
+ when "oracle" then ["ruby-oci8", nil]
229
+ when "postgresql" then ["pg", ["~> 0.11"]]
230
+ when "frontbase" then ["ruby-frontbase", nil]
231
+ when "mysql" then ["mysql2", ["~> 0.3.13"]]
232
+ when "sqlserver" then ["activerecord-sqlserver-adapter", nil]
233
+ when "jdbcmysql" then ["activerecord-jdbcmysql-adapter", nil]
234
+ when "jdbcsqlite3" then ["activerecord-jdbcsqlite3-adapter", nil]
235
+ when "jdbcpostgresql" then ["activerecord-jdbcpostgresql-adapter", nil]
236
+ when "jdbc" then ["activerecord-jdbc-adapter", nil]
237
+ else [options[:database], nil]
227
238
  end
228
239
  end
229
240
 
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
22
22
  <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "~> <%= Rails::VERSION::STRING %>"
23
23
  <% unless options[:skip_active_record] -%>
24
24
 
25
- s.add_development_dependency "<%= gem_for_database %>"
25
+ s.add_development_dependency "<%= gem_for_database[0] %>"
26
26
  <% end -%>
27
27
  end
@@ -11,7 +11,7 @@ gemspec
11
11
 
12
12
  <% if options[:skip_gemspec] -%>
13
13
  group :development do
14
- gem "<%= gem_for_database %>"
14
+ gem "<%= gem_for_database[0] %>"
15
15
  end
16
16
  <% else -%>
17
17
  # Declare any dependencies that are still in development here instead of in
@@ -1,5 +1,5 @@
1
1
  <% if namespaced? -%>
2
- require_dependency "<%= namespaced_file_path %>/application_controller"
2
+ require_dependency "<%= namespaced_path %>/application_controller"
3
3
 
4
4
  <% end -%>
5
5
  <% module_namespacing do -%>
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.13
4
+ version: 4.1.14.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-08-24 00:00:00.000000000 Z
11
+ date: 2015-10-30 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.13
19
+ version: 4.1.14.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.13
26
+ version: 4.1.14.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.13
33
+ version: 4.1.14.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.13
40
+ version: 4.1.14.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.13
81
+ version: 4.1.14.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.13
88
+ version: 4.1.14.rc1
89
89
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
90
90
  email: david@loudthinking.com
91
91
  executables:
@@ -349,14 +349,13 @@ 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: '0'
354
+ version: 1.3.1
355
355
  requirements: []
356
356
  rubyforge_project:
357
- rubygems_version: 2.4.7
357
+ rubygems_version: 2.4.5.1
358
358
  signing_key:
359
359
  specification_version: 4
360
360
  summary: Tools for creating, working with, and running Rails applications.
361
361
  test_files: []
362
- has_rdoc: