Hello community,

here is the log from the commit of package rubygem-railties-4_2 for 
openSUSE:Factory checked in at 2015-08-27 08:57:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-4_2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-railties-4_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-railties-4_2"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-railties-4_2/rubygem-railties-4_2.changes    
    2015-07-08 06:59:11.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-railties-4_2.new/rubygem-railties-4_2.changes
   2015-08-27 08:57:35.000000000 +0200
@@ -1,0 +2,19 @@
+Tue Aug 25 04:35:57 UTC 2015 - [email protected]
+
+- updated to version 4.2.4
+ see installed CHANGELOG.md
+
+  ## Rails 4.2.4 (August 24, 2015) ##
+  
+  *   Fix STATS_DIRECTORIES already defined warning when running rake from 
within
+      the top level directory of an engine that has a test app.
+  
+      Fixes #20510
+  
+      *Ersin Akinci*
+  
+  *   Fix `NoMethodError` when generating a scaffold inside a full engine.
+  
+      *Yuji Yaginuma*
+
+-------------------------------------------------------------------

Old:
----
  railties-4.2.3.gem

New:
----
  railties-4.2.4.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-railties-4_2.spec ++++++
--- /var/tmp/diff_new_pack.igEANO/_old  2015-08-27 08:57:35.000000000 +0200
+++ /var/tmp/diff_new_pack.igEANO/_new  2015-08-27 08:57:35.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-railties-4_2
-Version:        4.2.3
+Version:        4.2.4
 Release:        0
 %define mod_name railties
 %define mod_full_name %{mod_name}-%{version}

++++++ railties-4.2.3.gem -> railties-4.2.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-06-25 23:30:27.000000000 +0200
+++ new/CHANGELOG.md    2015-08-24 20:23:22.000000000 +0200
@@ -1,3 +1,17 @@
+## Rails 4.2.4 (August 24, 2015) ##
+
+*   Fix STATS_DIRECTORIES already defined warning when running rake from within
+    the top level directory of an engine that has a test app.
+
+    Fixes #20510
+
+    *Ersin Akinci*
+
+*   Fix `NoMethodError` when generating a scaffold inside a full engine.
+
+    *Yuji Yaginuma*
+
+
 ## Rails 4.2.3 (June 25, 2015) ##
 
 *   `assert_file` understands paths with special characters
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/gem_version.rb new/lib/rails/gem_version.rb
--- old/lib/rails/gem_version.rb        2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/gem_version.rb        2015-08-24 20:23:22.000000000 +0200
@@ -7,7 +7,7 @@
   module VERSION
     MAJOR = 4
     MINOR = 2
-    TINY  = 3
+    TINY  = 4
     PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/generators/actions.rb 
new/lib/rails/generators/actions.rb
--- old/lib/rails/generators/actions.rb 2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/generators/actions.rb 2015-08-24 20:23:22.000000000 +0200
@@ -1,4 +1,3 @@
-require 'open-uri'
 require 'rbconfig'
 
 module Rails
@@ -79,11 +78,11 @@
       # file in <tt>config/environments</tt>.
       #
       #   environment do
-      #     "config.autoload_paths += %W(#{config.root}/extras)"
+      #     "config.action_controller.asset_host = 'cdn.provider.com'"
       #   end
       #
       #   environment(nil, env: "development") do
-      #     "config.autoload_paths += %W(#{config.root}/extras)"
+      #     "config.action_controller.asset_host = 'localhost:3000'"
       #   end
       def environment(data=nil, options={})
         sentinel = /class [a-z_:]+ < Rails::Application/i
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/generators/named_base.rb 
new/lib/rails/generators/named_base.rb
--- old/lib/rails/generators/named_base.rb      2015-06-25 23:30:27.000000000 
+0200
+++ new/lib/rails/generators/named_base.rb      2015-08-24 20:23:22.000000000 
+0200
@@ -179,6 +179,10 @@
           !defined?(ActiveRecord::Base) || 
ActiveRecord::Base.pluralize_table_names
         end
 
+        def mountable_engine?
+          defined?(ENGINE_ROOT) && namespaced?
+        end
+
         # Add a class collisions name to be checked on class initialization. 
You
         # can supply a hash with a :prefix or :suffix to be tested.
         #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/generators/rails/app/templates/Gemfile 
new/lib/rails/generators/rails/app/templates/Gemfile
--- old/lib/rails/generators/rails/app/templates/Gemfile        2015-06-25 
23:30:27.000000000 +0200
+++ new/lib/rails/generators/rails/app/templates/Gemfile        2015-08-24 
20:23:22.000000000 +0200
@@ -21,8 +21,8 @@
 # Use Capistrano for deployment
 # gem 'capistrano-rails', group: :development
 
-group :development, :test do
 <% unless defined?(JRUBY_VERSION) -%>
+group :development, :test do
   <%- if RUBY_VERSION < '2.0.0' -%>
   # Call 'debugger' anywhere in the code to stop execution and get a debugger 
console
   gem 'debugger'
@@ -30,15 +30,17 @@
   # Call 'byebug' anywhere in the code to stop execution and get a debugger 
console
   gem 'byebug'
   <%- end -%>
+end
 
+group :development do
   # Access an IRB console on exception pages or by using <%%= console %> in 
views
   gem 'web-console', '~> 2.0'
 <%- if spring_install? %>
   # Spring speeds up development by keeping your application running in the 
background. Read more: https://github.com/rails/spring
   gem 'spring'
 <% end -%>
-<% end -%>
 end
+<% end -%>
 
 <% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince|java/) -%>
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb
 
new/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb
--- 
old/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb
 2015-06-25 23:30:27.000000000 +0200
+++ 
new/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb
 2015-08-24 20:23:23.000000000 +0200
@@ -1,10 +1,6 @@
 require 'test_helper'
 
 class NavigationTest < ActionDispatch::IntegrationTest
-<% unless options[:skip_active_record] -%>
-  fixtures :all
-<% end -%>
-
   # test "the truth" do
   #   assert true
   # end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rails/generators/rails/plugin/templates/test/test_helper.rb 
new/lib/rails/generators/rails/plugin/templates/test/test_helper.rb
--- old/lib/rails/generators/rails/plugin/templates/test/test_helper.rb 
2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/generators/rails/plugin/templates/test/test_helper.rb 
2015-08-24 20:23:23.000000000 +0200
@@ -20,5 +20,6 @@
 # Load fixtures from the engine
 if ActiveSupport::TestCase.respond_to?(:fixture_path=)
   ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", 
__FILE__)
+  ActionDispatch::IntegrationTest.fixture_path = 
ActiveSupport::TestCase.fixture_path
   ActiveSupport::TestCase.fixtures :all
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rails/generators/test_unit/controller/templates/functional_test.rb 
new/lib/rails/generators/test_unit/controller/templates/functional_test.rb
--- old/lib/rails/generators/test_unit/controller/templates/functional_test.rb  
2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/generators/test_unit/controller/templates/functional_test.rb  
2015-08-24 20:23:23.000000000 +0200
@@ -2,7 +2,7 @@
 
 <% module_namespacing do -%>
 class <%= class_name %>ControllerTest < ActionController::TestCase
-<% if defined?(ENGINE_ROOT) -%>
+<% if mountable_engine? -%>
   setup do
     @routes = Engine.routes
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb 
new/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
--- old/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb   
2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb   
2015-08-24 20:23:23.000000000 +0200
@@ -17,7 +17,7 @@
 
       def fixture_name
         @fixture_name ||=
-          if defined?(ENGINE_ROOT)
+          if mountable_engine?
             "%s_%s" % [namespaced_path, table_name]
           else
             table_name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb 
new/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
--- old/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb    
2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb    
2015-08-24 20:23:23.000000000 +0200
@@ -4,7 +4,7 @@
 class <%= controller_class_name %>ControllerTest < ActionController::TestCase
   setup do
     @<%= singular_table_name %> = <%= fixture_name %>(:one)
-<% if defined?(ENGINE_ROOT) -%>
+<% if mountable_engine? -%>
     @routes = Engine.routes
 <% end -%>
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/tasks.rb new/lib/rails/tasks.rb
--- old/lib/rails/tasks.rb      2015-06-25 23:30:27.000000000 +0200
+++ new/lib/rails/tasks.rb      2015-08-24 20:23:23.000000000 +0200
@@ -7,8 +7,9 @@
   middleware
   misc
   routes
-  statistics
   tmp
-).each do |task|
+).tap { |arr|
+  arr << 'statistics' if Rake.application.current_scope.empty?
+}.each do |task|
   load "rails/tasks/#{task}.rake"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-06-25 23:30:27.000000000 +0200
+++ new/metadata        2015-08-24 20:23:22.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: railties
 version: !ruby/object:Gem::Version
-  version: 4.2.3
+  version: 4.2.4
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-06-25 00:00:00.000000000 Z
+date: 2015-08-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,28 +16,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 - !ruby/object:Gem::Dependency
   name: actionpack
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 description: 'Rails internals: application bootup, plugins, generators, and 
rake tasks.'
 email: [email protected]
 executables:
@@ -357,8 +357,9 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5
+rubygems_version: 2.4.7
 signing_key: 
 specification_version: 4
 summary: Tools for creating, working with, and running Rails applications.
 test_files: []
+has_rdoc: 


Reply via email to