texzip 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/texzip/Project.rb +2 -2
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c12e08ba503ac34756956e265693eeaec089d0a
4
- data.tar.gz: 856f9703d45fda06052e3b809d02cacc6788cfec
3
+ metadata.gz: 50b332c328480e3d77b8eab7285ec648f80c1c10
4
+ data.tar.gz: 3ba56003616db9d3422308b6f733a038a77f0c68
5
5
  SHA512:
6
- metadata.gz: f5a71df7c1fe384f702db9ecbc0eb4ffee1ee735d72564ee0432125b54edae54c5c8a3540fd62d8bf0cdb3e92455bdc948e1ce045627700ef8a0b12375e47852
7
- data.tar.gz: 9c7c7aa4d13f3f8e0f7d465a1e7cfa4e4bef3f267635742cbd693faf40f5d989a758f40fc8b68cad1f4e8e4e8ab5e1dd0e5ad8510d654327eb8ff1b2a4da312f
6
+ metadata.gz: 84f84875d71dd284af9c325aa63775e46a11bc8b98e79510e751f4f5f2059a4fe1430df336abbacf47163265f56e986eca59beea3255cf01f1c34bc555576b96
7
+ data.tar.gz: c9fc1dab599d77e199b1988851da03f28715ee1c5462b2212eca8736ec26262c3f866d1854d782e2dd190885d6733b34467599441d5eb9e2d2e29325c0ffcf7a
@@ -153,7 +153,7 @@ class TeXzip::Project < HighLine
153
153
  # @param [Array<String>] extensions The (possible) file extensions.
154
154
  # @return [Pathname,nil] The path to the file if exist.
155
155
  def find_file(file, extensions = [])
156
- extensions.unshift '' # the empty extension
156
+ extensions = [''] + extensions # the empty extension
157
157
  extensions.uniq!
158
158
 
159
159
  @tex_dirs.each do |d|
@@ -174,7 +174,7 @@ class TeXzip::Project < HighLine
174
174
  # @param [Array<String>] extensions The possible file-extensions.
175
175
  # @return [Array<Pathname>] All found files.
176
176
  def find_files(file, extensions)
177
- extensions.uniq!
177
+ extensions = extensions.uniq
178
178
 
179
179
  files = []
180
180
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Fischer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby
@@ -96,16 +96,16 @@ dependencies:
96
96
  name: rspec
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - ">="
99
+ - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '0'
101
+ version: '3.5'
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - ">="
106
+ - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '0'
108
+ version: '3.5'
109
109
  description:
110
110
  email: frank-fischer@shadow-soft.de
111
111
  executables: