Hello community,

here is the log from the commit of package rubygem-coffee-rails for 
openSUSE:Factory checked in at 2016-07-21 07:57:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-coffee-rails (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-coffee-rails.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-coffee-rails"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-coffee-rails/rubygem-coffee-rails.changes    
    2016-04-28 16:52:59.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-coffee-rails.new/rubygem-coffee-rails.changes
   2016-07-21 07:57:47.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul  1 04:29:20 UTC 2016 - [email protected]
+
+- updated to version 4.2.1
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  coffee-rails-4.1.1.gem

New:
----
  coffee-rails-4.2.1.gem

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

Other differences:
------------------
++++++ rubygem-coffee-rails.spec ++++++
--- /var/tmp/diff_new_pack.k8no5U/_old  2016-07-21 07:57:48.000000000 +0200
+++ /var/tmp/diff_new_pack.k8no5U/_new  2016-07-21 07:57:48.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-coffee-rails
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-coffee-rails
-Version:        4.1.1
+Version:        4.2.1
 Release:        0
 %define mod_name coffee-rails
 %define mod_full_name %{mod_name}-%{version}

++++++ coffee-rails-4.1.1.gem -> coffee-rails-4.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-12-18 19:40:30.000000000 +0100
+++ new/CHANGELOG.md    2016-06-30 18:32:25.000000000 +0200
@@ -1,4 +1,13 @@
-## 4.1.1 (December 18, 2018) ##
+## 4.2.1 (June 30, 2016) ##
+
+*   Fix error in the gem package.
+
+## 4.2.0 (June 30, 2016) ##
+
+*   Override `js_tempalte` hook in the Rails generator to allow Rails to
+    be CoffeeScript agnostic.
+
+## 4.1.1 (December 18, 2015) ##
 
 *   Allow Rails 5.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIT-LICENSE new/MIT-LICENSE
--- old/MIT-LICENSE     2015-12-18 19:40:30.000000000 +0100
+++ new/MIT-LICENSE     2016-06-30 18:32:25.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2011 Santiago Pastorino
+Copyright (c) 2011-2016 Santiago Pastorino
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/coffee/rails/engine.rb 
new/lib/coffee/rails/engine.rb
--- old/lib/coffee/rails/engine.rb      2015-12-18 19:40:30.000000000 +0100
+++ new/lib/coffee/rails/engine.rb      2016-06-30 18:32:25.000000000 +0200
@@ -1,4 +1,6 @@
 require 'rails/engine'
+require 'rails/generators'
+require 'coffee/rails/js_hook'
 
 module Coffee
   module Rails
@@ -8,6 +10,12 @@
       if config.respond_to?(:annotations)
         config.annotations.register_extensions("coffee") { |annotation| 
/#\s*(#{annotation}):?\s*(.*)$/ }
       end
+
+      initializer 'override js_template hook' do |app|
+        if app.config.generators.rails[:javascript_engine] == :coffee
+          ::Rails::Generators::NamedBase.send :include, Coffee::Rails::JsHook
+        end
+      end
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/coffee/rails/js_hook.rb 
new/lib/coffee/rails/js_hook.rb
--- old/lib/coffee/rails/js_hook.rb     1970-01-01 01:00:00.000000000 +0100
+++ new/lib/coffee/rails/js_hook.rb     2016-06-30 18:32:25.000000000 +0200
@@ -0,0 +1,15 @@
+module Coffee
+  module Rails
+    module JsHook
+      extend ActiveSupport::Concern
+
+      included do
+        no_tasks do
+          redefine_method :js_template do |source, destination|
+            template(source + '.coffee', destination + '.coffee')
+          end
+        end
+      end
+    end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/coffee/rails/version.rb 
new/lib/coffee/rails/version.rb
--- old/lib/coffee/rails/version.rb     2015-12-18 19:40:30.000000000 +0100
+++ new/lib/coffee/rails/version.rb     2016-06-30 18:32:25.000000000 +0200
@@ -1,5 +1,5 @@
 module Coffee
   module Rails
-    VERSION = "4.1.1"
+    VERSION = "4.2.1"
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-12-18 19:40:30.000000000 +0100
+++ new/metadata        2016-06-30 18:32:25.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: coffee-rails
 version: !ruby/object:Gem::Version
-  version: 4.1.1
+  version: 4.2.1
 platform: ruby
 authors:
 - Santiago Pastorino
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-12-18 00:00:00.000000000 Z
+date: 2016-06-30 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: coffee-script
@@ -33,7 +33,7 @@
         version: 4.0.0
     - - "<"
       - !ruby/object:Gem::Version
-        version: 5.1.x
+        version: 5.2.x
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@
         version: 4.0.0
     - - "<"
       - !ruby/object:Gem::Version
-        version: 5.1.x
+        version: 5.2.x
 description: CoffeeScript adapter for the Rails asset pipeline.
 email:
 - [email protected]
@@ -57,6 +57,7 @@
 - lib/assets/javascripts/coffee-script.js.erb
 - lib/coffee-rails.rb
 - lib/coffee/rails/engine.rb
+- lib/coffee/rails/js_hook.rb
 - lib/coffee/rails/template_handler.rb
 - lib/coffee/rails/version.rb
 - lib/rails/generators/coffee/assets/assets_generator.rb
@@ -81,7 +82,7 @@
       version: '0'
 requirements: []
 rubyforge_project: coffee-rails
-rubygems_version: 2.5.1
+rubygems_version: 2.6.6
 signing_key: 
 specification_version: 4
 summary: CoffeeScript adapter for the Rails asset pipeline.


Reply via email to