i18n_screwdriver 9.0 → 9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/lib/i18n_screwdriver/version.rb +1 -1
- data/lib/i18n_screwdriver.rb +2 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4187fa1c5868d21038c0b669bfe9e1eef63b86bc
|
4
|
+
data.tar.gz: a40116b32db9f7b95d9c2b48e0c271c1353fbe54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a1af2f44c3dedde05c92cab358ef16da06798cfacfe0ff7ee14958d8f767803377b68d57648c36b561f55414a5f0a0034f779bb61a66264b0498f62b37fce2e
|
7
|
+
data.tar.gz: 03f5ddcb42e51b078e01918d8e7e986decde909d15cc1da696d47ddd04fad8ecd07cfcbd9c8d06dfd4ee5b11c5e9bedf7ef320a722063045d02f431ca1e54bdb
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3
|
data/lib/i18n_screwdriver.rb
CHANGED
@@ -96,12 +96,14 @@ module I18nScrewdriver
|
|
96
96
|
symbols = []
|
97
97
|
|
98
98
|
Dir.glob("**/*.{haml,erb,slim,rb}").each do |file|
|
99
|
+
next unless File.file?(file)
|
99
100
|
input = File.read(file)
|
100
101
|
texts.concat(grab_texts_to_be_translated(input))
|
101
102
|
symbols.concat(grab_symbols_to_be_translated(input))
|
102
103
|
end
|
103
104
|
|
104
105
|
Dir.glob("**/*.{js,coffee,hamlc,ejs,erb}").each do |file|
|
106
|
+
next unless File.file?(file)
|
105
107
|
input = File.read(file)
|
106
108
|
texts.concat(grab_js_texts_to_be_translated(input))
|
107
109
|
end
|
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: '9.
|
4
|
+
version: '9.1'
|
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: 2016-
|
12
|
+
date: 2016-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -48,6 +48,7 @@ extensions: []
|
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
50
|
- ".gitignore"
|
51
|
+
- ".ruby-version"
|
51
52
|
- Gemfile
|
52
53
|
- Gemfile.lock
|
53
54
|
- LICENSE.txt
|
@@ -86,8 +87,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
87
|
version: '0'
|
87
88
|
requirements: []
|
88
89
|
rubyforge_project: i18n_screwdriver
|
89
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.5.1
|
90
91
|
signing_key:
|
91
92
|
specification_version: 4
|
92
93
|
summary: make translating with rails i18n fun again
|
93
|
-
test_files:
|
94
|
+
test_files:
|
95
|
+
- spec/i18n_screwdriver_spec.rb
|
96
|
+
- spec/spec_helper.rb
|