Hello community, here is the log from the commit of package rubygem-docile for openSUSE:Factory checked in at 2014-10-18 09:09:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-docile (Old) and /work/SRC/openSUSE:Factory/.rubygem-docile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-docile" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-docile/rubygem-docile.changes 2014-10-14 07:11:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-docile.new/rubygem-docile.changes 2014-10-18 09:09:54.000000000 +0200 @@ -1,0 +2,11 @@ +Wed Oct 15 11:18:53 UTC 2014 - [email protected] + +- updated to version 1.1.5 + - as much as possible, loosen version restrictions on development dependencies + - clarify gemspec settings as much as possible + - bump rspec dependency to 3.0.x + - Special thanks to Ken Dreyer (@ktdreyer): + - make simplecov/coveralls optional for running tests \[[33834852c7](https://github.com/ms-ati/docile/commit/33834852c7849912b97e109e8c5c193579cc5e98)\] + - update URL in gemspec \[[174e654a07](https://github.com/ms-ati/docile/commit/174e654a075c8350b3411b212cfb409bc605348a)\] + +------------------------------------------------------------------- Old: ---- docile-1.1.3.gem New: ---- docile-1.1.5.gem gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-docile.spec ++++++ --- /var/tmp/diff_new_pack.gUQylo/_old 2014-10-18 09:09:55.000000000 +0200 +++ /var/tmp/diff_new_pack.gUQylo/_new 2014-10-18 09:09:55.000000000 +0200 @@ -16,16 +16,25 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-docile -Version: 1.1.3 +Version: 1.1.5 Release: 0 %define mod_name docile %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 1.8.7} +BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 -Url: http://ms-ati.github.com/docile/ +Url: https://ms-ati.github.io/docile/ Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: Docile keeps your Ruby DSLs tame and well-behaved License: MIT Group: Development/Languages/Ruby @@ -40,7 +49,6 @@ %install %gem_install \ - --symlink-binaries \ --doc-files="HISTORY.md LICENSE README.md" \ -f ++++++ docile-1.1.3.gem -> docile-1.1.5.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.coveralls.yml new/.coveralls.yml --- old/.coveralls.yml 2014-02-04 21:36:10.000000000 +0100 +++ new/.coveralls.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -service_name: travis-ci - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 2014-02-04 21:36:10.000000000 +0100 +++ new/.gitignore 2014-06-15 21:51:29.000000000 +0200 @@ -6,3 +6,4 @@ doc .yardoc coverage +vendor \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2014-02-04 21:36:10.000000000 +0100 +++ new/.travis.yml 2014-06-15 21:51:29.000000000 +0200 @@ -1,12 +1,21 @@ language: ruby cache: bundler rvm: + - ruby-head + - 2.1.2 + - 2.1.1 - 2.1.0 - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree - - jruby-18mode + - jruby-head - jruby-19mode - - rbx + - jruby-18mode + - rbx-2 +matrix: + allow_failures: + - rvm: ruby-head + - rvm: jruby-head + fast_finish: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HISTORY.md new/HISTORY.md --- old/HISTORY.md 2014-02-04 21:36:10.000000000 +0100 +++ new/HISTORY.md 2014-06-15 21:51:29.000000000 +0200 @@ -1,5 +1,17 @@ # HISTORY +## [v1.1.5 (Jun 15, 2014)](http://github.com/ms-ati/docile/compare/v1.1.4...v1.1.5) + + - as much as possible, loosen version restrictions on development dependencies + - clarify gemspec settings as much as possible + - bump rspec dependency to 3.0.x + +## [v1.1.4 (Jun 11, 2014)](http://github.com/ms-ati/docile/compare/v1.1.3...v1.1.4) + + - Special thanks to Ken Dreyer (@ktdreyer): + - make simplecov/coveralls optional for running tests \[[33834852c7](https://github.com/ms-ati/docile/commit/33834852c7849912b97e109e8c5c193579cc5e98)\] + - update URL in gemspec \[[174e654a07](https://github.com/ms-ati/docile/commit/174e654a075c8350b3411b212cfb409bc605348a)\] + ## [v1.1.3 (Feb 4, 2014)](http://github.com/ms-ati/docile/compare/v1.1.2...v1.1.3) - Special thanks to Alexey Vasiliev (@le0pard): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-02-04 21:36:10.000000000 +0100 +++ new/README.md 2014-06-15 21:51:29.000000000 +0200 @@ -4,6 +4,7 @@ [](https://gemnasium.com/ms-ati/docile) [](https://codeclimate.com/github/ms-ati/docile) [](https://coveralls.io/r/ms-ati/docile) +[](http://inch-ci.org/github/ms-ati/docile) [](https://bitdeli.com/free "Bitdeli Badge") Ruby makes it possible to create very expressive **Domain Specific @@ -214,7 +215,9 @@ ## Status -Works on [all ruby versions since 1.8.7](https://github.com/ms-ati/docile/blob/master/.travis.yml). +Works on [all ruby versions since 1.8.7](https://github.com/ms-ati/docile/blob/master/.travis.yml), or so Travis CI [tells us](https://travis-ci.org/ms-ati/docile). + +Used by some pretty cool gems to implement their DSLs, notably including [SimpleCov](https://github.com/colszowka/simplecov). Keep an eye out for new gems using Docile at the [Ruby Toolbox](https://www.ruby-toolbox.com/projects/docile). ## Note on Patches/Pull Requests @@ -229,8 +232,10 @@ commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches. -## Copyright +## Copyright & License + +Copyright (c) 2012-2014 Marc Siegel. -Copyright (c) 2012-2014 Marc Siegel. See LICENSE for details. +Licensed under the [MIT License](http://choosealicense.com/licenses/mit/), see [LICENSE](LICENSE) for details. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2014-02-04 21:36:10.000000000 +0100 +++ new/Rakefile 2014-06-15 21:51:29.000000000 +0200 @@ -1,6 +1,7 @@ require 'rake/clean' require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require File.expand_path('on_what', File.dirname(__FILE__)) # Default task for `rake` is to run rspec task :default => [:spec] @@ -11,12 +12,13 @@ # Configure `rake clobber` to delete all generated files CLOBBER.include('pkg', 'doc', 'coverage') -# Only configure yard doc generation when *not* on Travis -if ENV['CI'] != 'true' - require "github/markup" - require "redcarpet" - require "yard" - require "yard/rake/yardoc_task" +# To limit needed compatibility with versions of dependencies, only configure +# yard doc generation when *not* on Travis, JRuby, or 1.8 +if !on_travis? && !on_jruby? && !on_1_8? + require 'github/markup' + require 'redcarpet' + require 'yard' + require 'yard/rake/yardoc_task' YARD::Rake::YardocTask.new do |t| OTHER_PATHS = %w() Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/docile.gemspec new/docile.gemspec --- old/docile.gemspec 2014-02-04 21:36:10.000000000 +0100 +++ new/docile.gemspec 2014-06-15 21:51:29.000000000 +0200 @@ -1,41 +1,43 @@ +require File.expand_path('on_what', File.dirname(__FILE__)) $:.push File.expand_path('../lib', __FILE__) require 'docile/version' Gem::Specification.new do |s| s.name = 'docile' s.version = Docile::VERSION - s.authors = ['Marc Siegel'] - s.email = %w([email protected]) - s.homepage = 'http://ms-ati.github.com/docile/' + s.author = 'Marc Siegel' + s.email = '[email protected]' + s.homepage = 'https://ms-ati.github.io/docile/' s.summary = 'Docile keeps your Ruby DSLs tame and well-behaved' s.description = 'Docile turns any Ruby object into a DSL. Especially useful with the Builder pattern.' s.license = 'MIT' - s.rubyforge_project = 'docile' - + # Files included in the gem s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = %w(lib) - # Running rspec tests from rake - s.add_development_dependency 'rake', '~> 10.1.1' - s.add_development_dependency 'rspec', '~> 2.14.0' - s.add_development_dependency 'mime-types', '~> 1.25.1' - - if defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE - s.add_development_dependency 'rubysl' - s.add_development_dependency 'rubinius-coverage' - end + # Specify oldest supported Ruby version + s.required_ruby_version = '>= 1.8.7' - if !(defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE) + # Run rspec tests from rake + s.add_development_dependency 'rake' + s.add_development_dependency 'rspec', '~> 3.0.0' + + # NOTE: needed for Travis builds on 1.8, but can't yet reproduce failure locally + s.add_development_dependency 'mime-types', '~> 1.25.1' if on_1_8? + + # To limit needed compatibility with versions of dependencies, only configure + # yard doc generation when *not* on Travis, JRuby, or 1.8 + if !on_travis? && !on_jruby? && !on_1_8? # Github flavored markdown in YARD documentation # http://blog.nikosd.com/2011/11/github-flavored-markdown-in-yard.html s.add_development_dependency 'yard' - s.add_development_dependency 'redcarpet', '2.3.0' # because 1.8 + s.add_development_dependency 'redcarpet' s.add_development_dependency 'github-markup' end - # Coveralls test coverage tool + # Coveralls test coverage tool, basically hosted SimpleCov s.add_development_dependency 'coveralls' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/docile/version.rb new/lib/docile/version.rb --- old/lib/docile/version.rb 2014-02-04 21:36:10.000000000 +0100 +++ new/lib/docile/version.rb 2014-06-15 21:51:29.000000000 +0200 @@ -1,4 +1,4 @@ module Docile # The current version of this library - VERSION = '1.1.3' + VERSION = '1.1.5' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2014-02-04 21:36:10.000000000 +0100 +++ new/metadata 2014-06-15 21:51:29.000000000 +0200 @@ -1,128 +1,112 @@ --- !ruby/object:Gem::Specification name: docile version: !ruby/object:Gem::Version - version: 1.1.3 + version: 1.1.5 platform: ruby authors: - Marc Siegel autorequire: bindir: bin cert_chain: [] -date: 2014-02-04 00:00:00.000000000 Z +date: 2014-06-15 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - ">=" - !ruby/object:Gem::Version - version: 10.1.1 + version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - ">=" - !ruby/object:Gem::Version - version: 10.1.1 + version: '0' - !ruby/object:Gem::Dependency name: rspec requirement: !ruby/object:Gem::Requirement requirements: - - - ~> - - !ruby/object:Gem::Version - version: 2.14.0 - type: :development - prerelease: false - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - ~> - - !ruby/object:Gem::Version - version: 2.14.0 -- !ruby/object:Gem::Dependency - name: mime-types - requirement: !ruby/object:Gem::Requirement - requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version - version: 1.25.1 + version: 3.0.0 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version - version: 1.25.1 + version: 3.0.0 - !ruby/object:Gem::Dependency name: yard requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: redcarpet requirement: !ruby/object:Gem::Requirement requirements: - - - '=' + - - ">=" - !ruby/object:Gem::Version - version: 2.3.0 + version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '=' + - - ">=" - !ruby/object:Gem::Version - version: 2.3.0 + version: '0' - !ruby/object:Gem::Dependency name: github-markup requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: coveralls requirement: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' description: Docile turns any Ruby object into a DSL. Especially useful with the Builder pattern. -email: -- [email protected] +email: [email protected] executables: [] extensions: [] extra_rdoc_files: [] files: -- .coveralls.yml -- .gitignore -- .rspec -- .ruby-gemset -- .ruby-version -- .travis.yml -- .yardopts +- ".gitignore" +- ".rspec" +- ".ruby-gemset" +- ".ruby-version" +- ".travis.yml" +- ".yardopts" - Gemfile - HISTORY.md - LICENSE @@ -134,9 +118,10 @@ - lib/docile/execution.rb - lib/docile/fallback_context_proxy.rb - lib/docile/version.rb +- on_what.rb - spec/docile_spec.rb - spec/spec_helper.rb -homepage: http://ms-ati.github.com/docile/ +homepage: https://ms-ati.github.io/docile/ licenses: - MIT metadata: {} @@ -146,19 +131,21 @@ - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version - version: '0' + version: 1.8.7 required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] -rubyforge_project: docile -rubygems_version: 2.1.11 +rubyforge_project: +rubygems_version: 2.2.2 signing_key: specification_version: 4 summary: Docile keeps your Ruby DSLs tame and well-behaved -test_files: [] +test_files: +- spec/docile_spec.rb +- spec/spec_helper.rb has_rdoc: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/on_what.rb new/on_what.rb --- old/on_what.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/on_what.rb 2014-06-15 21:51:29.000000000 +0200 @@ -0,0 +1,14 @@ +# NOTE: Very simple tests for what system we are on, extracted for sharing +# between Rakefile, gemspec, and spec_helper. Not for use in actual library. + +def on_travis? + ENV['CI'] == 'true' +end + +def on_jruby? + (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE) +end + +def on_1_8? + RUBY_VERSION.start_with? '1.8' +end \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/docile_spec.rb new/spec/docile_spec.rb --- old/spec/docile_spec.rb 2014-02-04 21:36:10.000000000 +0100 +++ new/spec/docile_spec.rb 2014-06-15 21:51:29.000000000 +0200 @@ -1,4 +1,5 @@ require 'spec_helper' +require 'singleton' describe Docile do @@ -18,11 +19,11 @@ end it 'executes the block against the DSL context object' do - expect(array).to eq([1, 3]) + expect(array).to eq([1, 3]) end it 'returns the DSL object after executing block against it' do - expect(result).to eq(array) + expect(result).to eq(array) end it "doesn't proxy #__id__" do @@ -276,11 +277,11 @@ end it "doesn't modify the original string" do - expect(original).to eq("I'm immutable!") + expect(original).to eq("I'm immutable!") end it 'chains the commands in the block against the DSL context object' do - expect(result).to eq("!ELBATUMMI M'I") + expect(result).to eq("!ELBATUMMI M'I") end end @@ -296,7 +297,7 @@ end it 'chains the commands in the block against the DSL context object' do - expect(result).to eq(42) + expect(result).to eq(42) end end end @@ -305,7 +306,7 @@ describe Docile::FallbackContextProxy do - describe "#instance_variables" do + describe '#instance_variables' do subject { create_fcp_and_set_one_instance_variable.instance_variables } let(:expected_type_of_names) { type_of_ivar_names_on_this_ruby } let(:actual_type_of_names) { subject.first.class } 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 2014-02-04 21:36:10.000000000 +0100 +++ new/spec/spec_helper.rb 2014-06-15 21:51:29.000000000 +0200 @@ -1,28 +1,30 @@ -require 'rubygems' -require 'rspec' -require 'singleton' -require 'simplecov' -require 'coveralls' +require File.expand_path('on_what', File.dirname(File.dirname(__FILE__))) -# Both local SimpleCov and publish to Coveralls.io -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter -] -SimpleCov.start do - add_filter "/spec/" -end +begin + require 'simplecov' + require 'coveralls' + + # On Ruby 1.9+ use SimpleCov and publish to Coveralls.io + if !on_1_8? + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] + SimpleCov.start do + add_filter '/spec/' # exclude test code + add_filter '/vendor/' # exclude gems which are vendored on Travis CI + end -test_dir = File.dirname(__FILE__) -$LOAD_PATH.unshift test_dir unless $LOAD_PATH.include?(test_dir) + # Remove Docile, which was required by SimpleCov, to require again later + Object.send(:remove_const, :Docile) + $LOADED_FEATURES.reject! { |f| f =~ /\/docile\// } + end +rescue LoadError + warn 'warning: simplecov/coveralls gems not found; skipping coverage' +end -lib_dir = File.join(File.dirname(test_dir), 'lib') -$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir) +lib_dir = File.join(File.dirname(File.dirname(__FILE__)), 'lib') +$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include? lib_dir +# Require Docile again, now with coverage enabled on 1.9+ require 'docile' - -RSpec.configure do |config| - config.expect_with :rspec do |c| - c.syntax = :expect - end -end \ No newline at end of file ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
