Hello community,

here is the log from the commit of package rubygem-docile for openSUSE:Factory 
checked in at 2018-05-29 10:43:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-docile (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-docile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-docile"

Tue May 29 10:43:50 2018 rev:9 rq:612184 version:1.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-docile/rubygem-docile.changes    
2018-02-22 15:03:25.567888479 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-docile.new/rubygem-docile.changes       
2018-05-29 10:43:54.862719013 +0200
@@ -1,0 +2,6 @@
+Thu May 24 15:03:35 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.3.1
+ see installed HISTORY.md
+
+-------------------------------------------------------------------

Old:
----
  docile-1.3.0.gem

New:
----
  docile-1.3.1.gem

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

Other differences:
------------------
++++++ rubygem-docile.spec ++++++
--- /var/tmp/diff_new_pack.5qcbYT/_old  2018-05-29 10:43:55.642690228 +0200
+++ /var/tmp/diff_new_pack.5qcbYT/_new  2018-05-29 10:43:55.646690081 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-docile
-Version:        1.3.0
+Version:        1.3.1
 Release:        0
 %define mod_name docile
 %define mod_full_name %{mod_name}-%{version}

++++++ docile-1.3.0.gem -> docile-1.3.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HISTORY.md new/HISTORY.md
--- old/HISTORY.md      2018-02-07 23:25:18.000000000 +0100
+++ new/HISTORY.md      2018-05-24 16:48:38.000000000 +0200
@@ -1,9 +1,14 @@
 # HISTORY
 
-## [Unreleased 
changes](http://github.com/ms-ati/docile/compare/v1.3.0...master)
+## [Unreleased 
changes](http://github.com/ms-ati/docile/compare/v1.3.1...master)
 
   - ...
 
+## [v1.3.1 (May 24, 
2018)](http://github.com/ms-ati/docile/compare/v1.3.0...v1.3.1)
+
+  - Special thanks to Taichi Ishitani (@taichi-ishitani):
+    - Fix for when DSL object is also the block's context (#30)
+
 ## [v1.3.0 (Feb 7, 
2018)](http://github.com/ms-ati/docile/compare/v1.2.0...v1.3.0)
 
   - Allow helper methods in block's context to call DSL methods
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2018-02-07 23:25:18.000000000 +0100
+++ new/README.md       2018-05-24 16:48:38.000000000 +0200
@@ -9,7 +9,6 @@
 
 [![Build 
Status](https://img.shields.io/travis/ms-ati/docile/master.svg)](https://travis-ci.org/ms-ati/docile)
 [![Code 
Coverage](https://img.shields.io/codecov/c/github/ms-ati/docile.svg)](https://codecov.io/github/ms-ati/docile)
-[![Dependency 
Status](https://gemnasium.com/ms-ati/docile.svg)](https://gemnasium.com/ms-ati/docile)
 
[![Maintainability](https://api.codeclimate.com/v1/badges/79ca631bc123f7b83b34/maintainability)](https://codeclimate.com/github/ms-ati/docile/maintainability)
 
 Ruby makes it possible to create very expressive **Domain Specific
@@ -82,7 +81,7 @@
 Not if you want the code in the block to be able to refer to anything
 the block would normally have access to from the surrounding context.
 
-Let's be very specific. Docile internally uses `instance_exec` (see 
[execution.rb#25](lib/docile/execution.rb#L25)), adding a small layer to 
support referencing *local variables*, *instance variables*, and *methods* from 
the _block's context_ **or** the target _object's context_, interchangeably. 
This is "**the hard part**", where most folks making a DSL in Ruby throw up 
their hands.
+Let's be very specific. Docile internally uses `instance_exec` (see 
[execution.rb#26](lib/docile/execution.rb#L26)), adding a small layer to 
support referencing *local variables*, *instance variables*, and *methods* from 
the _block's context_ **or** the target _object's context_, interchangeably. 
This is "**the hard part**", where most folks making a DSL in Ruby throw up 
their hands.
 
 For example:
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/docile/execution.rb new/lib/docile/execution.rb
--- old/lib/docile/execution.rb 2018-02-07 23:25:18.000000000 +0100
+++ new/lib/docile/execution.rb 2018-05-24 16:48:38.000000000 +0200
@@ -30,6 +30,7 @@
         end
 
         block_context.instance_variables.each do |ivar|
+          next unless proxy_context.instance_variables.include?(ivar)
           value_from_dsl_proxy = proxy_context.instance_variable_get(ivar)
           block_context.instance_variable_set(ivar, value_from_dsl_proxy)
         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   2018-02-07 23:25:18.000000000 +0100
+++ new/lib/docile/version.rb   2018-05-24 16:48:38.000000000 +0200
@@ -1,4 +1,4 @@
 module Docile
   # The current version of this library
-  VERSION = "1.3.0"
+  VERSION = "1.3.1"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-02-07 23:25:18.000000000 +0100
+++ new/metadata        2018-05-24 16:48:38.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: docile
 version: !ruby/object:Gem::Version
-  version: 1.3.0
+  version: 1.3.1
 platform: ruby
 authors:
 - Marc Siegel
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-02-07 00:00:00.000000000 Z
+date: 2018-05-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake


Reply via email to