Hello community,

here is the log from the commit of package rubygem-js-routes for 
openSUSE:Factory checked in at 2016-04-12 19:35:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-js-routes (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-js-routes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-js-routes"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-js-routes/rubygem-js-routes.changes      
2016-03-18 21:39:31.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-js-routes.new/rubygem-js-routes.changes 
2016-04-12 19:35:45.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Apr  6 06:23:51 UTC 2016 - [email protected]
+
+- updated to version 1.2.5
+ see installed CHANGELOG.md
+
+  ## v1.2.5
+  
+  * Bugfix subdomain default parameter in routes #184
+  * Bugfix infinite recursion in some specific route sets #183
+  
+  ## v1.2.4
+  
+  * Additional bugfixes to support all versions of Sprockets: 2.x and 3.x
+
+-------------------------------------------------------------------

Old:
----
  js-routes-1.2.4.gem

New:
----
  js-routes-1.2.5.gem

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

Other differences:
------------------
++++++ rubygem-js-routes.spec ++++++
--- /var/tmp/diff_new_pack.ZzN5TA/_old  2016-04-12 19:35:46.000000000 +0200
+++ /var/tmp/diff_new_pack.ZzN5TA/_new  2016-04-12 19:35:46.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-js-routes
-Version:        1.2.4
+Version:        1.2.5
 Release:        0
 %define mod_name js-routes
 %define mod_full_name %{mod_name}-%{version}

++++++ js-routes-1.2.4.gem -> js-routes-1.2.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2016-02-13 09:48:00.000000000 +0100
+++ new/CHANGELOG.md    2016-03-24 05:55:28.000000000 +0100
@@ -1,5 +1,14 @@
 ## master
 
+## v1.2.5
+
+* Bugfix subdomain default parameter in routes #184
+* Bugfix infinite recursion in some specific route sets #183
+
+## v1.2.4
+
+* Additional bugfixes to support all versions of Sprockets: 2.x and 3.x
+
 ## v1.2.3
 
 * Sprockets ~= 3.0 support
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/js_routes/version.rb new/lib/js_routes/version.rb
--- old/lib/js_routes/version.rb        2016-02-13 09:48:00.000000000 +0100
+++ new/lib/js_routes/version.rb        2016-03-24 05:55:28.000000000 +0100
@@ -1,3 +1,3 @@
 class JsRoutes
-  VERSION = "1.2.4"
+  VERSION = "1.2.5"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/js_routes.rb new/lib/js_routes.rb
--- old/lib/js_routes.rb        2016-02-13 09:48:00.000000000 +0100
+++ new/lib/js_routes.rb        2016-03-24 05:55:28.000000000 +0100
@@ -35,7 +35,7 @@
   }
 
   LAST_OPTIONS_KEY = "options".freeze
-  FILTERED_DEFAULT_PARTS = [:controller, :action]
+  FILTERED_DEFAULT_PARTS = [:controller, :action, :subdomain]
 
   class Options < Struct.new(*DEFAULTS.keys)
     def to_hash
@@ -150,7 +150,7 @@
   protected
 
   def js_routes
-    js_routes = 
Rails.application.routes.named_routes.to_a.sort_by(&:to_s).flat_map do |_, 
route|
+    js_routes = 
Rails.application.routes.named_routes.to_a.sort_by(&:first).flat_map do |_, 
route|
       rails_engine_app = get_app_from_route(route)
       if rails_engine_app.respond_to?(:superclass) && 
rails_engine_app.superclass == Rails::Engine && !route.path.anchored
         rails_engine_app.routes.named_routes.map do |_, engine_route|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2016-02-13 09:48:00.000000000 +0100
+++ new/metadata        2016-03-24 05:55:28.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: js-routes
 version: !ruby/object:Gem::Version
-  version: 1.2.4
+  version: 1.2.5
 platform: ruby
 authors:
 - Bogdan Gusiev
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-02-13 00:00:00.000000000 Z
+date: 2016-03-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: railties
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/js_routes/rails_routes_compatibility_spec.rb 
new/spec/js_routes/rails_routes_compatibility_spec.rb
--- old/spec/js_routes/rails_routes_compatibility_spec.rb       2016-02-13 
09:48:00.000000000 +0100
+++ new/spec/js_routes/rails_routes_compatibility_spec.rb       2016-03-24 
05:55:28.000000000 +0100
@@ -66,6 +66,10 @@
       expect(evaljs("Routes.api_purchases_path()")).to 
eq(routes.api_purchases_path)
     end
 
+    it 'should support route default subdomain' do
+      expect(evaljs("Routes.backend_root_path()")).to 
eq(routes.backend_root_path)
+    end
+
     it "should support default format override" do
       expect(evaljs("Routes.api_purchases_path({format: 'xml'})")).to 
eq(routes.api_purchases_path(format: 'xml'))
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb
--- old/spec/spec_helper.rb     2016-02-13 09:48:00.000000000 +0100
+++ new/spec/spec_helper.rb     2016-03-24 05:55:28.000000000 +0100
@@ -116,7 +116,7 @@
 
     get '/привет' => "foo#foo", :as => :hello
     get '(/o/:organization)/search/:q' => "foo#foo", as: :search
-      
+
     resources :sessions, :only => [:new, :create, :destroy], :protocol => 
'https'
 
     get '/' => 'sso#login', host: 'sso.example.com', as: :sso
@@ -131,6 +131,10 @@
       get "descendents"
     end
 
+    namespace :backend, path: '', constraints: {subdomain: 'backend'} do
+      root to: 'backend#index'
+    end
+
   end
 
 end


Reply via email to