Hello community,

here is the log from the commit of package rubygem-coffee-rails for 
openSUSE:Factory checked in at 2019-07-16 08:41:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-coffee-rails (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-coffee-rails.new.1887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-coffee-rails"

Tue Jul 16 08:41:43 2019 rev:7 rq:715399 version:5.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-coffee-rails/rubygem-coffee-rails.changes    
    2019-06-21 11:38:41.339787201 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-coffee-rails.new.1887/rubygem-coffee-rails.changes
      2019-07-16 08:41:44.643028863 +0200
@@ -1,0 +2,8 @@
+Mon Jul 15 07:38:44 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 5.0.0
+
+  * Remove support to Rails < 5.2.
+  * Support Rails 6.
+
+-------------------------------------------------------------------

Old:
----
  coffee-rails-4.2.2.gem

New:
----
  coffee-rails-5.0.0.gem

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

Other differences:
------------------
++++++ rubygem-coffee-rails.spec ++++++
--- /var/tmp/diff_new_pack.Z2xJoV/_old  2019-07-16 08:41:45.139028596 +0200
+++ /var/tmp/diff_new_pack.Z2xJoV/_new  2019-07-16 08:41:45.143028594 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-coffee-rails
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-coffee-rails
-Version:        4.2.2
+Version:        5.0.0
 Release:        0
 %define mod_name coffee-rails
 %define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 Url:            https://github.com/rails/coffee-rails
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        CoffeeScript adapter for the Rails asset pipeline
 License:        MIT

++++++ coffee-rails-4.2.2.gem -> coffee-rails-5.0.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-05-24 19:29:40.000000000 +0200
+++ new/CHANGELOG.md    2019-04-23 20:41:18.000000000 +0200
@@ -1,3 +1,8 @@
+## 5.0.0 (Apr 23, 2019) ##
+
+* Remove support to Rails < 5.2.
+* Support Rails 6.
+
 ## 4.2.2 (May 24, 2017) ##
 
 *   Support digest resolution for coffee templates.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-05-24 19:29:40.000000000 +0200
+++ new/README.md       2019-04-23 20:41:18.000000000 +0200
@@ -21,4 +21,3 @@
 
 * [![Travis 
CI](https://api.travis-ci.org/rails/coffee-rails.png)](http://travis-ci.org/rails/coffee-rails)
 * [![Gem 
Version](https://badge.fury.io/rb/coffee-rails.png)](http://badge.fury.io/rb/coffee-rails)
-* 
[![Dependencies](https://gemnasium.com/rails/coffee-rails.png)](https://gemnasium.com/rails/coffee-rails)
Binary 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      2017-05-24 19:29:40.000000000 +0200
+++ new/lib/coffee/rails/engine.rb      2019-04-23 20:41:18.000000000 +0200
@@ -5,6 +5,7 @@
 module Coffee
   module Rails
     class Engine < ::Rails::Engine
+      config.app_generators.javascripts true
       config.app_generators.javascript_engine :coffee
 
       if config.respond_to?(:annotations)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/coffee/rails/template_handler.rb 
new/lib/coffee/rails/template_handler.rb
--- old/lib/coffee/rails/template_handler.rb    2017-05-24 19:29:40.000000000 
+0200
+++ new/lib/coffee/rails/template_handler.rb    2019-04-23 20:41:18.000000000 
+0200
@@ -5,8 +5,12 @@
         @@erb_handler ||= 
ActionView::Template.registered_template_handler(:erb)
       end
 
-      def self.call(template)
-        compiled_source = erb_handler.call(template)
+      def self.call(template, source = nil)
+        compiled_source = if source
+          erb_handler.call(template, source)
+        else
+          erb_handler.call(template)
+        end
         "CoffeeScript.compile(begin;#{compiled_source};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     2017-05-24 19:29:40.000000000 +0200
+++ new/lib/coffee/rails/version.rb     2019-04-23 20:41:18.000000000 +0200
@@ -1,5 +1,5 @@
 module Coffee
   module Rails
-    VERSION = "4.2.2"
+    VERSION = "5.0.0"
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-05-24 19:29:40.000000000 +0200
+++ new/metadata        2019-04-23 20:41:18.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: coffee-rails
 version: !ruby/object:Gem::Version
-  version: 4.2.2
+  version: 5.0.0
 platform: ruby
 authors:
 - Santiago Pastorino
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-05-24 00:00:00.000000000 Z
+date: 2019-04-23 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: coffee-script
@@ -30,14 +30,14 @@
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: 4.0.0
+        version: 5.2.0
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: 4.0.0
+        version: 5.2.0
 description: CoffeeScript adapter for the Rails asset pipeline.
 email:
 - [email protected]
@@ -75,8 +75,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: coffee-rails
-rubygems_version: 2.6.11
+rubygems_version: 3.0.1
 signing_key: 
 specification_version: 4
 summary: CoffeeScript adapter for the Rails asset pipeline.


Reply via email to