Hello community,

here is the log from the commit of package rubygem-execjs for openSUSE:Factory 
checked in at 2015-08-27 08:56:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-execjs (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-execjs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-execjs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-execjs/rubygem-execjs.changes    
2015-04-13 20:30:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-execjs.new/rubygem-execjs.changes       
2015-08-27 08:56:11.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Aug 15 04:30:48 UTC 2015 - [email protected]
+
+- updated to version 2.6.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  execjs-2.5.2.gem

New:
----
  execjs-2.6.0.gem

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

Other differences:
------------------
++++++ rubygem-execjs.spec ++++++
--- /var/tmp/diff_new_pack.JOIJ49/_old  2015-08-27 08:56:12.000000000 +0200
+++ /var/tmp/diff_new_pack.JOIJ49/_new  2015-08-27 08:56:12.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-execjs
-Version:        2.5.2
+Version:        2.6.0
 Release:        0
 %define mod_name execjs
 %define mod_full_name %{mod_name}-%{version}

++++++ execjs-2.5.2.gem -> execjs-2.6.0.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/execjs/external_runtime.rb 
new/lib/execjs/external_runtime.rb
--- old/lib/execjs/external_runtime.rb  2015-04-09 17:58:38.000000000 +0200
+++ new/lib/execjs/external_runtime.rb  2015-08-14 19:58:59.000000000 +0200
@@ -120,20 +120,25 @@
         @binary ||= which(@command)
       end
 
-      def locate_executable(cmd)
-        if ExecJS.windows? && File.extname(cmd) == ""
-          cmd << ".exe"
-        end
-
-        if File.executable? cmd
-          cmd
-        else
-          path = ENV['PATH'].split(File::PATH_SEPARATOR).find { |p|
-            full_path = File.join(p, cmd)
-            File.executable?(full_path) && File.file?(full_path)
+      def locate_executable(command)
+        commands = Array(command)
+        if ExecJS.windows? && File.extname(command) == ""
+          ENV['PATHEXT'].split(File::PATH_SEPARATOR).each { |p|
+            commands << (command + p)
           }
-          path && File.expand_path(cmd, path)
         end
+
+        commands.find { |cmd|
+          if File.executable? cmd
+            cmd
+          else
+            path = ENV['PATH'].split(File::PATH_SEPARATOR).find { |p|
+              full_path = File.join(p, cmd)
+              File.executable?(full_path) && File.file?(full_path)
+            }
+            path && File.expand_path(cmd, path)
+          end
+        }
       end
 
     protected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/execjs/runtimes.rb new/lib/execjs/runtimes.rb
--- old/lib/execjs/runtimes.rb  2015-04-09 17:58:38.000000000 +0200
+++ new/lib/execjs/runtimes.rb  2015-08-14 19:58:59.000000000 +0200
@@ -57,7 +57,7 @@
       if name = ENV["EXECJS_RUNTIME"]
         raise RuntimeUnavailable, "#{name} runtime is not defined" unless 
const_defined?(name)
         runtime = const_get(name)
-        
+
         raise RuntimeUnavailable, "#{runtime.name} runtime is not available on 
this system" unless runtime.available?
         runtime
       end
@@ -72,8 +72,8 @@
         RubyRacer,
         RubyRhino,
         Duktape,
-        JavaScriptCore,
         Node,
+        JavaScriptCore,
         SpiderMonkey,
         JScript
       ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/execjs/version.rb new/lib/execjs/version.rb
--- old/lib/execjs/version.rb   2015-04-09 17:58:38.000000000 +0200
+++ new/lib/execjs/version.rb   2015-08-14 19:58:59.000000000 +0200
@@ -1,3 +1,3 @@
 module ExecJS
-  VERSION = "2.5.2"
+  VERSION = "2.6.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-04-09 17:58:38.000000000 +0200
+++ new/metadata        2015-08-14 19:58:59.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: execjs
 version: !ruby/object:Gem::Version
-  version: 2.5.2
+  version: 2.6.0
 platform: ruby
 authors:
 - Sam Stephenson
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-04-09 00:00:00.000000000 Z
+date: 2015-08-14 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -71,8 +71,9 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5
+rubygems_version: 2.4.7
 signing_key: 
 specification_version: 4
 summary: Run JavaScript code from Ruby
 test_files: []
+has_rdoc: 


Reply via email to