Hello community,

here is the log from the commit of package rubygem-gettext_i18n_rails_js for 
openSUSE:Factory checked in at 2016-06-12 18:54:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-gettext_i18n_rails_js (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-gettext_i18n_rails_js.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-gettext_i18n_rails_js"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-gettext_i18n_rails_js/rubygem-gettext_i18n_rails_js.changes
      2015-12-03 13:30:02.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-gettext_i18n_rails_js.new/rubygem-gettext_i18n_rails_js.changes
 2016-06-12 18:54:34.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Jun  1 04:29:55 UTC 2016 - co...@suse.com
+
+- updated to version 1.0.4
+ see installed CHANGELOG.md
+
+  ## 
[1.0.4](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.0.4) 
- 2016-05-31
+  
+  * Support ES2015 template strings (@bradbarrow)
+
+-------------------------------------------------------------------

Old:
----
  gettext_i18n_rails_js-1.0.3.gem

New:
----
  gettext_i18n_rails_js-1.0.4.gem

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

Other differences:
------------------
++++++ rubygem-gettext_i18n_rails_js.spec ++++++
--- /var/tmp/diff_new_pack.1pwLvB/_old  2016-06-12 18:54:35.000000000 +0200
+++ /var/tmp/diff_new_pack.1pwLvB/_new  2016-06-12 18:54:35.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-gettext_i18n_rails_js
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-gettext_i18n_rails_js
-Version:        1.0.3
+Version:        1.0.4
 Release:        0
 %define mod_name gettext_i18n_rails_js
 %define mod_full_name %{mod_name}-%{version}

++++++ gettext_i18n_rails_js-1.0.3.gem -> gettext_i18n_rails_js-1.0.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-11-03 20:47:37.000000000 +0100
+++ new/CHANGELOG.md    2016-05-31 10:09:53.000000000 +0200
@@ -1,5 +1,9 @@
 # Changelog
 
+## 
[1.0.4](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.0.4) 
- 2016-05-31
+
+* Support ES2015 template strings (@bradbarrow)
+
 ## 
[1.0.3](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.0.3) 
- 2015-11-03
 
 * Stop using bundler within the core lib (@domcleal)
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails_js/parser/base.rb 
new/lib/gettext_i18n_rails_js/parser/base.rb
--- old/lib/gettext_i18n_rails_js/parser/base.rb        2015-11-03 
20:47:37.000000000 +0100
+++ new/lib/gettext_i18n_rails_js/parser/base.rb        2016-05-31 
10:09:53.000000000 +0200
@@ -73,7 +73,7 @@
       def parse(file, _msgids = [])
         collect_for(file) do |function, arguments, line|
           key = arguments.scan(
-            /('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*")/
+            /('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*`)/
           ).collect do |match|
             match.first[1..-2]
           end.join(separator_for(function))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails_js/parser/javascript.rb 
new/lib/gettext_i18n_rails_js/parser/javascript.rb
--- old/lib/gettext_i18n_rails_js/parser/javascript.rb  2015-11-03 
20:47:37.000000000 +0100
+++ new/lib/gettext_i18n_rails_js/parser/javascript.rb  2016-05-31 
10:09:53.000000000 +0200
@@ -86,6 +86,7 @@
           (
             '(?:[^'\\]|\\.)*?'|
             "(?:[^"\\]|\\.)*?"|
+            `(?:[^`\\]|\\.)*?`|
             [a-zA-Z0-9_\.()]*?
           )
           \s*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails_js/version.rb 
new/lib/gettext_i18n_rails_js/version.rb
--- old/lib/gettext_i18n_rails_js/version.rb    2015-11-03 20:47:37.000000000 
+0100
+++ new/lib/gettext_i18n_rails_js/version.rb    2016-05-31 10:09:53.000000000 
+0200
@@ -27,7 +27,7 @@
   class Version
     MAJOR = 1
     MINOR = 0
-    PATCH = 3
+    PATCH = 4
 
     PRE = nil
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-11-03 20:47:37.000000000 +0100
+++ new/metadata        2016-05-31 10:55:33.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: gettext_i18n_rails_js
 version: !ruby/object:Gem::Version
-  version: 1.0.3
+  version: 1.0.4
 platform: ruby
 authors:
 - Thomas Boerger
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-11-03 00:00:00.000000000 Z
+date: 2016-05-31 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: bundler
@@ -178,18 +178,18 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5.1
+rubygems_version: 2.2.5
 signing_key: 
 specification_version: 4
 summary: Extends gettext_i18n_rails making your .po files available to client 
side
   javascript as JSON
 test_files:
-- spec/fixtures/example.coffee
-- spec/fixtures/example.handlebars
 - spec/fixtures/example.js
-- spec/gettext_i18n_rails_js/parser/handlebars_spec.rb
+- spec/fixtures/example.handlebars
+- spec/fixtures/example.coffee
+- spec/support/with_file.rb
 - spec/gettext_i18n_rails_js/parser/javascript_spec.rb
+- spec/gettext_i18n_rails_js/parser/handlebars_spec.rb
 - spec/gettext_i18n_rails_js_spec.rb
 - spec/spec_helper.rb
-- spec/support/with_file.rb
 has_rdoc: 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/gettext_i18n_rails_js/parser/javascript_spec.rb 
new/spec/gettext_i18n_rails_js/parser/javascript_spec.rb
--- old/spec/gettext_i18n_rails_js/parser/javascript_spec.rb    2015-11-03 
20:47:37.000000000 +0100
+++ new/spec/gettext_i18n_rails_js/parser/javascript_spec.rb    2016-05-31 
10:09:53.000000000 +0200
@@ -123,6 +123,22 @@
       end
     end
 
+    it "finds messages with newlines/tabs (backticks)" do
+      content = <<-'EOF'
+        bla = __(`xxxx\n\tfoo`)
+      EOF
+
+      with_file content do |path|
+        expect(parser.parse(path, [])).to(
+          eq(
+            [
+              ["xxxx\\n\\tfoo", "#{path}:1"]
+            ]
+          )
+        )
+      end
+    end
+
     it "finds interpolated multi-line messages" do
       content = <<-'EOF'
         """ Parser should grab


Reply via email to