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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae34d34467f474ed51aaf14508a7569f50e84d44
4
- data.tar.gz: b1935c8c5f8743e349e097ee4cd83cf8aa3b7f55
3
+ metadata.gz: 4187fa1c5868d21038c0b669bfe9e1eef63b86bc
4
+ data.tar.gz: a40116b32db9f7b95d9c2b48e0c271c1353fbe54
5
5
  SHA512:
6
- metadata.gz: 4acb1cb5883d7069a673a3363a1d1a30689f6504bcc5db65f284e9a73d1e70b6de16c4f0a4d3622bb14fa78d5dfbcd83d01cb28c063203623ad014a1a075bedc
7
- data.tar.gz: 47ca12e1726ee22647a04b8fb7a243d579ffafdbd0c325cd3c7d7ea23d75d540c5f56fd3ebc69bff0655595ad12bf3021b861eedbc1fb139bb1a30e0910b42d1
6
+ metadata.gz: 5a1af2f44c3dedde05c92cab358ef16da06798cfacfe0ff7ee14958d8f767803377b68d57648c36b561f55414a5f0a0034f779bb61a66264b0498f62b37fce2e
7
+ data.tar.gz: 03f5ddcb42e51b078e01918d8e7e986decde909d15cc1da696d47ddd04fad8ecd07cfcbd9c8d06dfd4ee5b11c5e9bedf7ef320a722063045d02f431ca1e54bdb
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3
@@ -1,3 +1,3 @@
1
1
  module I18nScrewdriver
2
- VERSION = "9.0"
2
+ VERSION = "9.1"
3
3
  end
@@ -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.0'
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-02-10 00:00:00.000000000 Z
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.4.5.1
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