gettext_i18n_rails_js 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e795e764b0f9c03e5df55d3f15c39fee423e319
4
- data.tar.gz: fbcb7ededb2689c4df43bb3ca1eaf3f1b9cc6d41
3
+ metadata.gz: 9d1b5907d21b5b2433ed3277842c3b20091a1912
4
+ data.tar.gz: 4f8ec5b71d44cbb522cb469b9e26a11c8bf23315
5
5
  SHA512:
6
- metadata.gz: f66745cfff9918b085078838d02c5f8dbb55ec79de17cf37a8e7307cd8bdbbdcce99796296bbf77c6b0e7639640eacc94146463d0036fac4668e135c67951bc1
7
- data.tar.gz: ec293d9348999985d8c693fca283264143e559e6b7de242ccfc374a7c7ee71a9edbab4f3dc232805b84be97557b235fab1b5b529a5db964f3d4ddd6162fc54e0
6
+ metadata.gz: 0dd2b745b857659a2249c6f70047b4249b35b1c13469cfb0f8dc64a35a8affd155a6d67c8e43bf298ff26e025d5bb222022e0ae2ef9a2053ab54650ea31c1cad
7
+ data.tar.gz: 575ff0e579024f2c34acacd34fb429d7f3c07d8576f71b04aea08751ef9708ac318aa06536be47e157fdb061a8e3de264aa82f5afedc92051c7182f8e8747d90
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.2.0) - 2016-06-02
4
+
5
+ * Support for JSX files (@artemv)
6
+ * Fixed test suite, reduced test matrix (@tboerger)
7
+
3
8
  ## [1.1.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.1.0) - 2016-06-02
4
9
 
5
10
  * Replace hyphens with underscores in locale var from DOM (@filib)
data/README.md CHANGED
@@ -16,23 +16,24 @@ client side javascript.
16
16
 
17
17
  ## Versions
18
18
 
19
- This gem is tested on the following versions:
19
+ This gem is tested on the following versions, it's also possible that it works
20
+ with older versions, but because of version bumps at `gettext_i18n_rails` and
21
+ `fast_gettext` we have dropped the older versions from the testing matrix:
20
22
 
21
23
  * Ruby
22
- * 1.9.3
23
- * 2.0.0
24
24
  * 2.1.0
25
+ * 2.2.0
25
26
  * Rails
26
27
  * 3.2.21
27
28
  * 4.0.13
28
- * 4.1.9
29
- * 4.2.0
29
+ * 4.1.16
30
+ * 4.2.7
30
31
 
31
32
 
32
33
  ## Installation
33
34
 
34
35
  ```ruby
35
- gem "gettext_i18n_rails_js", "~> 1.0.0"
36
+ gem "gettext_i18n_rails_js", "~> 1.2.0"
36
37
  ```
37
38
 
38
39
 
@@ -36,6 +36,7 @@ module GettextI18nRailsJs
36
36
  def target?(file)
37
37
  [
38
38
  ".js",
39
+ ".jsx",
39
40
  ".coffee"
40
41
  ].include? ::File.extname(file)
41
42
  end
@@ -26,7 +26,7 @@
26
26
  module GettextI18nRailsJs
27
27
  class Version
28
28
  MAJOR = 1
29
- MINOR = 1
29
+ MINOR = 2
30
30
  PATCH = 0
31
31
 
32
32
  PRE = nil
@@ -48,6 +48,7 @@ namespace :gettext do
48
48
  "slim",
49
49
  "rhtml",
50
50
  "js",
51
+ "jsx",
51
52
  "coffee",
52
53
  "handlebars",
53
54
  "hbs",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext_i18n_rails_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-03 00:00:00.000000000 Z
12
+ date: 2016-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -178,18 +178,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.5.1
181
+ rubygems_version: 2.2.5
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Extends gettext_i18n_rails making your .po files available to client side
185
185
  javascript as JSON
186
186
  test_files:
187
- - spec/fixtures/example.coffee
188
- - spec/fixtures/example.handlebars
189
187
  - spec/fixtures/example.js
190
- - spec/gettext_i18n_rails_js/parser/handlebars_spec.rb
188
+ - spec/fixtures/example.handlebars
189
+ - spec/fixtures/example.coffee
190
+ - spec/support/with_file.rb
191
191
  - spec/gettext_i18n_rails_js/parser/javascript_spec.rb
192
+ - spec/gettext_i18n_rails_js/parser/handlebars_spec.rb
192
193
  - spec/gettext_i18n_rails_js_spec.rb
193
194
  - spec/spec_helper.rb
194
- - spec/support/with_file.rb
195
195
  has_rdoc: