guard-i18next 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module Guard
41
41
 
42
42
  locale_key = locale.keys[0]
43
43
  content = locale[locale_key]
44
- File.open(options[:output] + "/#{filename}.js", "w") do |f|
44
+ File.open(options[:output] + "/#{filename}.json", "w") do |f|
45
45
  # Initialize namespace (if it hasn't been already)
46
46
  f.puts "#{options[:namespace]} = #{options[:namespace]} != null ? #{options[:namespace]} : {}"
47
47
  f.puts options[:namespace] + "[#{locale_key}] = " + content.to_json
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class I18nextVersion
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-i18next
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: