Hello community, here is the log from the commit of package rubygem-coffee-rails for openSUSE:Factory checked in at 2016-04-28 16:52:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-04-18 10:39:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-coffee-rails.new/rubygem-coffee-rails.changes 2016-04-28 16:52:59.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Dec 19 05:31:17 UTC 2015 - coolo@suse.com + +- updated to version 4.1.1 + see installed CHANGELOG.md + +------------------------------------------------------------------- Old: ---- coffee-rails-4.1.0.gem New: ---- coffee-rails-4.1.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-coffee-rails.spec ++++++ --- /var/tmp/diff_new_pack.pTrAaR/_old 2016-04-28 16:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.pTrAaR/_new 2016-04-28 16:53:00.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-coffee-rails -Version: 4.1.0 +Version: 4.1.1 Release: 0 %define mod_name coffee-rails %define mod_full_name %{mod_name}-%{version} ++++++ coffee-rails-4.1.0.gem -> coffee-rails-4.1.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 2014-10-13 02:58:45.000000000 +0200 +++ new/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -tmp/ -test/tmp -Gemfile.lock diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2014-10-13 02:58:45.000000000 +0200 +++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -language: ruby -before_install: - - gem install bundler -rvm: - - 1.9.3 - - 2.0.0 - - 2.1.0 - - jruby - - rbx -gemfile: - - Gemfile - - gemfiles/Gemfile-4-0-stable - - gemfiles/Gemfile-4-1-stable -notifications: - email: false - campfire: - secure: "CGWvthGkBKNnTnk9YSmf9AXKoiRI33fCl5D3jU4nx3cOPu6kv2R9nMjt9EAo\nOuS4Q85qNSf4VNQ2cUPNiNYSWQ+XiTfivKvDUw/QW9r1FejYyeWarMsSBWA+\n0fADjF1M2dkDIVLgYPfwoXEv7l+j654F1KLKB69F0F/netwP9CQ=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2014-10-13 02:58:45.000000000 +0200 +++ new/CHANGELOG.md 2015-12-18 19:40:30.000000000 +0100 @@ -1,4 +1,10 @@ -## unreleased ## +## 4.1.1 (December 18, 2018) ## + +* Allow Rails 5. + + *Rafael Mendonça França* + +## 4.1.0 (October 12, 2014) ## * Default to .coffee extension instead of .js.coffee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2014-10-13 02:58:45.000000000 +0200 +++ new/Gemfile 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -source "https://rubygems.org" - -# Specify your gem's dependencies in coffee-rails.gemspec -gemspec - -gem "rails", github: "rails/rails" - -platforms :rbx do - gem "rubysl", "~> 2.0" - gem "racc", "~> 1.4" -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-10-13 02:58:45.000000000 +0200 +++ new/README.md 2015-12-18 19:40:30.000000000 +0100 @@ -1,25 +1,21 @@ # Coffee-Rails -CoffeeScript adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use .js.coffee views). +CoffeeScript adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use `.coffee` views). ## Installation Since Rails 3.1 Coffee-Rails is included in the default Gemfile when you create a new application. If you are upgrading to Rails 3.1 you must add the coffee-rails to your Gemfile: - gem 'coffee-rails' - -If you are precompiling your assets (with rake assets:precompile) before run your application in production, you might want add it to the assets group to prevent the gem being required in the production environment. _Note that this may prevent you from using Coffeescript for UJS responses_. - - group :assets do - gem 'coffee-rails' - end +~~~ruby +gem 'coffee-rails' +~~~ ## Running tests $ bundle install $ bundle exec rake test -If you need to test against local gems, use Bundler's gem :path option in the Gemfile. +If you need to test against local gems, use Bundler's gem `:path` option in the Gemfile. ## Code Status diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2014-10-13 02:58:45.000000000 +0200 +++ new/Rakefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ -require 'bundler' -Bundler::GemHelper.install_tasks - -require 'rake/testtask' - -Rake::TestTask.new(:test) do |t| - t.libs << 'lib' - t.libs << 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = false -end - -task default: :test - -specname = "coffee-rails.gemspec" -deps = `git ls-files`.split("\n") - [specname] - -file specname => deps do - files = `git ls-files`.split("\n") - test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - - require 'erb' - - File.open specname, 'w:utf-8' do |f| - f.write ERB.new(File.read("#{specname}.erb")).result(binding) - end -end Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coffee-rails.gemspec new/coffee-rails.gemspec --- old/coffee-rails.gemspec 2014-10-13 02:58:45.000000000 +0200 +++ new/coffee-rails.gemspec 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -$:.push File.expand_path("../lib", __FILE__) -require "coffee/rails/version" - -Gem::Specification.new do |s| - s.name = "coffee-rails" - s.version = Coffee::Rails::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Santiago Pastorino"] - s.email = ["santiago@wyeworks.com"] - s.homepage = "https://github.com/rails/coffee-rails" - s.summary = %q{CoffeeScript adapter for the Rails asset pipeline.} - s.description = %q{CoffeeScript adapter for the Rails asset pipeline.} - - s.rubyforge_project = "coffee-rails" - - s.add_runtime_dependency 'coffee-script', '>= 2.2.0' - s.add_runtime_dependency 'railties', '>= 4.0.0', '< 5.0' - - s.files = [".gitignore",".travis.yml","CHANGELOG.md","Gemfile","MIT-LICENSE","README.md","Rakefile","coffee-rails.gemspec","coffee-rails.gemspec.erb","gemfiles/Gemfile-4-0-stable","gemfiles/Gemfile-4-1-stable","lib/assets/javascripts/coffee-script.js.erb","lib/coffee-rails.rb","lib/coffee/rails/engine.rb","lib/coffee/rails/template_handler.rb","lib/coffee/rails/version.rb","lib/rails/generators/coffee/assets/assets_generator.rb","lib/rails/generators/coffee/assets/templates/javascript.coffee","test/assets_generator_test.rb","test/assets_test.rb","test/controller_generator_test.rb","test/scaffold_generator_test.rb","test/support/routes.rb","test/support/site/index.coffee","test/template_handler_test.rb","test/test_helper.rb"] - s.test_files = ["test/assets_generator_test.rb","test/assets_test.rb","test/controller_generator_test.rb","test/scaffold_generator_test.rb","test/support/routes.rb","test/support/site/index.coffee","test/template_handler_test.rb","test/test_helper.rb"] - s.executables = [] - s.require_paths = ["lib"] - s.license = "MIT" -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coffee-rails.gemspec.erb new/coffee-rails.gemspec.erb --- old/coffee-rails.gemspec.erb 2014-10-13 02:58:45.000000000 +0200 +++ new/coffee-rails.gemspec.erb 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -$:.push File.expand_path("../lib", __FILE__) -require "coffee/rails/version" - -Gem::Specification.new do |s| - s.name = "coffee-rails" - s.version = Coffee::Rails::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Santiago Pastorino"] - s.email = ["santiago@wyeworks.com"] - s.homepage = "https://github.com/rails/coffee-rails" - s.summary = %q{CoffeeScript adapter for the Rails asset pipeline.} - s.description = %q{CoffeeScript adapter for the Rails asset pipeline.} - - s.rubyforge_project = "coffee-rails" - - s.add_runtime_dependency 'coffee-script', '>= 2.2.0' - s.add_runtime_dependency 'railties', '>= 4.0.0', '< 5.0' - - s.files = [<%= files.map(&:inspect).join ',' %>] - s.test_files = [<%= test_files.map(&:inspect).join ',' %>] - s.executables = [<%= executables.map(&:inspect).join ',' %>] - s.require_paths = ["lib"] - s.license = "MIT" -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gemfiles/Gemfile-4-0-stable new/gemfiles/Gemfile-4-0-stable --- old/gemfiles/Gemfile-4-0-stable 2014-10-13 02:58:45.000000000 +0200 +++ new/gemfiles/Gemfile-4-0-stable 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -source 'https://rubygems.org' - -gemspec path: '..' - -gem 'rails', github: 'rails/rails', branch: '4-0-stable' - -platforms :rbx do - gem "rubysl", "~> 2.0" - gem "racc", "~> 1.4" - gem "json" -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gemfiles/Gemfile-4-1-stable new/gemfiles/Gemfile-4-1-stable --- old/gemfiles/Gemfile-4-1-stable 2014-10-13 02:58:45.000000000 +0200 +++ new/gemfiles/Gemfile-4-1-stable 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -source 'https://rubygems.org' - -gemspec path: '..' - -gem 'rails', github: 'rails/rails', branch: '4-1-stable' - -platforms :rbx do - gem "rubysl", "~> 2.0" - gem "racc", "~> 1.4" - gem "json" -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 2014-10-13 02:58:45.000000000 +0200 +++ new/lib/coffee/rails/version.rb 2015-12-18 19:40:30.000000000 +0100 @@ -1,5 +1,5 @@ module Coffee module Rails - VERSION = "4.1.0" + VERSION = "4.1.1" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2014-10-13 02:58:45.000000000 +0200 +++ new/metadata 2015-12-18 19:40:30.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: coffee-rails version: !ruby/object:Gem::Version - version: 4.1.0 + version: 4.1.1 platform: ruby authors: - Santiago Pastorino autorequire: bindir: bin cert_chain: [] -date: 2014-10-13 00:00:00.000000000 Z +date: 2015-12-18 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.0' + version: 5.1.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.0' + version: 5.1.x description: CoffeeScript adapter for the Rails asset pipeline. email: - santiago@wyeworks.com @@ -51,17 +51,9 @@ extensions: [] extra_rdoc_files: [] files: -- ".gitignore" -- ".travis.yml" - CHANGELOG.md -- Gemfile - MIT-LICENSE - README.md -- Rakefile -- coffee-rails.gemspec -- coffee-rails.gemspec.erb -- gemfiles/Gemfile-4-0-stable -- gemfiles/Gemfile-4-1-stable - lib/assets/javascripts/coffee-script.js.erb - lib/coffee-rails.rb - lib/coffee/rails/engine.rb @@ -69,14 +61,6 @@ - lib/coffee/rails/version.rb - lib/rails/generators/coffee/assets/assets_generator.rb - lib/rails/generators/coffee/assets/templates/javascript.coffee -- test/assets_generator_test.rb -- test/assets_test.rb -- test/controller_generator_test.rb -- test/scaffold_generator_test.rb -- test/support/routes.rb -- test/support/site/index.coffee -- test/template_handler_test.rb -- test/test_helper.rb homepage: https://github.com/rails/coffee-rails licenses: - MIT @@ -97,16 +81,8 @@ version: '0' requirements: [] rubyforge_project: coffee-rails -rubygems_version: 2.4.1 +rubygems_version: 2.5.1 signing_key: specification_version: 4 summary: CoffeeScript adapter for the Rails asset pipeline. -test_files: -- test/assets_generator_test.rb -- test/assets_test.rb -- test/controller_generator_test.rb -- test/scaffold_generator_test.rb -- test/support/routes.rb -- test/support/site/index.coffee -- test/template_handler_test.rb -- test/test_helper.rb +test_files: [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/assets_generator_test.rb new/test/assets_generator_test.rb --- old/test/assets_generator_test.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/assets_generator_test.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -require 'test_helper' -require 'rails/generators/coffee/assets/assets_generator' - -class AssetGeneratorTest < Rails::Generators::TestCase - tests Coffee::Generators::AssetsGenerator - - destination File.expand_path("../tmp", __FILE__) - setup :prepare_destination - - def test_assets - run_generator %w(posts) - assert_no_file "app/assets/javascripts/posts.js" - assert_file "app/assets/javascripts/posts.coffee" - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/assets_test.rb new/test/assets_test.rb --- old/test/assets_test.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/assets_test.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -require 'test_helper' -require 'coffee-rails' - -class AssetsTest < ActiveSupport::TestCase - def setup - require "rails" - require "action_controller/railtie" - require "sprockets/railtie" - - @app = Class.new(Rails::Application) - @app.config.eager_load = false - @app.config.active_support.deprecation = :stderr - @app.config.assets.enabled = true - @app.config.assets.cache_store = [ :file_store, "#{tmp_path}/cache" ] - @app.paths["log"] = "#{tmp_path}/log/test.log" - @app.initialize! - end - - def teardown - FileUtils.rm_rf "#{tmp_path}/cache" - FileUtils.rm_rf "#{tmp_path}/log" - File.delete "#{tmp_path}/coffee-script.js" - end - - test "coffee-script.js is included in Sprockets environment" do - @app.assets["coffee-script"].write_to("#{tmp_path}/coffee-script.js") - - assert_match "/lib/assets/javascripts/coffee-script.js.erb", @app.assets["coffee-script"].pathname.to_s - assert_match "CoffeeScript Compiler", File.open("#{tmp_path}/coffee-script.js").read - end - - def tmp_path - "#{File.dirname(__FILE__)}/tmp" - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/controller_generator_test.rb new/test/controller_generator_test.rb --- old/test/controller_generator_test.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/controller_generator_test.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -require 'test_helper' -require 'rails/generators/rails/controller/controller_generator' -require 'rails/generators/coffee/assets/assets_generator' - -class ControllerGeneratorTest < Rails::Generators::TestCase - tests Rails::Generators::ControllerGenerator - - destination File.expand_path("../tmp", __FILE__) - setup do - prepare_destination - copy_routes - end - - def test_assets - run_generator %w(posts --javascript-engine=coffee --orm=false) - assert_no_file "app/assets/javascripts/posts.js" - assert_file "app/assets/javascripts/posts.coffee" - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/scaffold_generator_test.rb new/test/scaffold_generator_test.rb --- old/test/scaffold_generator_test.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/scaffold_generator_test.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -require 'test_helper' -require 'rails/generators/rails/scaffold/scaffold_generator' -require 'rails/generators/coffee/assets/assets_generator' - -class ScaffoldGeneratorTest < Rails::Generators::TestCase - tests Rails::Generators::ScaffoldGenerator - - destination File.expand_path("../tmp", __FILE__) - setup do - prepare_destination - copy_routes - end - - def test_assets - run_generator %w(posts --javascript-engine=coffee --orm=false) - assert_no_file "app/assets/javascripts/posts.js" - assert_file "app/assets/javascripts/posts.coffee" - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/support/routes.rb new/test/support/routes.rb --- old/test/support/routes.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/support/routes.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -# routes dummy file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/support/site/index.coffee new/test/support/site/index.coffee --- old/test/support/site/index.coffee 2014-10-13 02:58:45.000000000 +0200 +++ new/test/support/site/index.coffee 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -alert 'hello world' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/template_handler_test.rb new/test/template_handler_test.rb --- old/test/template_handler_test.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/template_handler_test.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ -require 'test_helper' -require 'action_controller' -require 'coffee-rails' - -class SiteController < ActionController::Base - self.view_paths = File.expand_path("../support", __FILE__) -end - -DummyApp = ActionDispatch::Routing::RouteSet.new -DummyApp.draw do - get "site/index" -end - -class TemplateHandlerTest < ActiveSupport::TestCase - include Rack::Test::Methods - - def app - @app ||= DummyApp - end - - test "coffee views are served as javascript" do - get "/site/index.js" - - assert_match "alert('hello world');\n", last_response.body - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_helper.rb new/test/test_helper.rb --- old/test/test_helper.rb 2014-10-13 02:58:45.000000000 +0200 +++ new/test/test_helper.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -# Configure Rails Envinronment -ENV["RAILS_ENV"] = "test" - -require 'bundler/setup' -require 'rails' -require "rails/test_help" - -# For generators -require 'rails/generators/test_case' - -def copy_routes - routes = File.expand_path("../support/routes.rb", __FILE__) - destination = File.join(destination_root, "config") - - FileUtils.mkdir_p(destination) - FileUtils.cp routes, destination -end