i18n_screwdriver 7.4 → 7.5

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: 7ec4a21f65b47eb08464708ecc6a1277d37c19f7
4
- data.tar.gz: c8ed1c2f9ec9f27281186d8775c0ae8e2cfeef91
3
+ metadata.gz: 94bd26e4628cc630514ad733d735a604e65659a2
4
+ data.tar.gz: 074a5fbf05496fc63f0dc03fbbc477098b40190a
5
5
  SHA512:
6
- metadata.gz: 254f06fa3a526976a084164144131811fd6b0e2a5bbd272b4852c05133d8469ee23962777c2abb631f55a33858abbed66bd5b2b0d784ad60b4793ddafca756f1
7
- data.tar.gz: 6529105353fcb938683054554aae6fea098ecf6422a368f60e8e5bf56cdec19ee200c5fd8b8ceab03749bb3599828e5c942a94fcae96f956c864be0f45abbe50
6
+ metadata.gz: 2bd45ff11f2994dd24be3899623eeb558a7552fd6f84e8b2c174161096e517ef3749484288880def27eef43ef571b6abc8678481172de6660303e4a62d0c4cc6
7
+ data.tar.gz: 36808961678afd19b0625adcc9677ad423340e0a2b2d87e14453eac930a3849e91d5c2e0c7e9b32b79e1045df44b9db5c10568ab8ed0d6f7e640a300bb5f66d7
@@ -1,3 +1,3 @@
1
1
  module I18nScrewdriver
2
- VERSION = "7.4"
2
+ VERSION = "7.5"
3
3
  end
@@ -1,6 +1,9 @@
1
1
  namespace :i18n do
2
2
  desc 'Find all translations in views, helpers and controllers'
3
- task :update => :environment do
3
+ task :update do
4
+ require "i18n_screwdriver"
5
+ require "yaml"
6
+
4
7
  translations = I18nScrewdriver.gather_translations
5
8
  puts "Found #{translations.keys.size} unique translations"
6
9
  default_locale = I18n.default_locale.to_s
@@ -8,7 +11,10 @@ namespace :i18n do
8
11
  end
9
12
 
10
13
  desc 'Translate all not yet translated texts for a given locale'
11
- task :translate => :environment do
14
+ task :translate do
15
+ require "i18n_screwdriver"
16
+ require "yaml"
17
+
12
18
  raise "ERROR: usage: TRANSLATE=de rake i18n:translate" unless ENV['TRANSLATE']
13
19
  locale = ENV['TRANSLATE']
14
20
  default_locale = I18n.default_locale.to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_screwdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: '7.4'
4
+ version: '7.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Miesel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-23 00:00:00.000000000 Z
12
+ date: 2015-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project: i18n_screwdriver
84
- rubygems_version: 2.4.6
84
+ rubygems_version: 2.4.5
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: make translating with rails i18n fun again