textpow1x 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- textpow1x (1.2.3)
4
+ textpow1x (1.2.4)
5
5
  plist (>= 3.0.1)
6
6
 
7
7
  GEM
@@ -44,7 +44,7 @@ private
44
44
  end
45
45
 
46
46
  def self.find_syntax_by_path(path)
47
- path if File.exist?(path)
47
+ path if File.file?(path)
48
48
  end
49
49
  end
50
50
 
@@ -1,3 +1,3 @@
1
1
  module Textpow
2
- VERSION = Version = "1.2.3"
2
+ VERSION = Version = "1.2.4"
3
3
  end
@@ -43,6 +43,10 @@ describe Textpow do
43
43
  Textpow.syntax('buby').should == nil
44
44
  end
45
45
 
46
+ it "does not find directories" do
47
+ Textpow.syntax('lib').should == nil
48
+ end
49
+
46
50
  it "caches nil for unfound syntax" do
47
51
  Dir.should_receive(:glob).and_return []
48
52
  Textpow.syntax('buby').should == nil
metadata CHANGED
@@ -1,10 +1,15 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: textpow1x
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 4
10
+ version: 1.2.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Dizan Vasquez
9
14
  - Spox
10
15
  - Chris Hoffman
@@ -12,28 +17,37 @@ authors:
12
17
  autorequire:
13
18
  bindir: bin
14
19
  cert_chain: []
15
- date: 2011-10-18 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: plist
19
- requirement: &80511480 !ruby/object:Gem::Requirement
20
+
21
+ date: 2011-11-02 00:00:00 -07:00
22
+ default_executable:
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ type: :runtime
26
+ requirement: &id001 !ruby/object:Gem::Requirement
20
27
  none: false
21
- requirements:
22
- - - ! '>='
23
- - !ruby/object:Gem::Version
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 5
32
+ segments:
33
+ - 3
34
+ - 0
35
+ - 1
24
36
  version: 3.0.1
25
- type: :runtime
37
+ name: plist
38
+ version_requirements: *id001
26
39
  prerelease: false
27
- version_requirements: *80511480
28
40
  description: A library for parsing TextMate bundles on ruby 1.x
29
- email:
41
+ email:
30
42
  - michael@grosser.it
31
- executables:
43
+ executables:
32
44
  - plist2yaml
33
45
  - plist2syntax
34
46
  extensions: []
47
+
35
48
  extra_rdoc_files: []
36
- files:
49
+
50
+ files:
37
51
  - .travis.yml
38
52
  - Gemfile
39
53
  - Gemfile.lock
@@ -223,37 +237,40 @@ files:
223
237
  - spec/textpow/syntax_spec.rb
224
238
  - spec/textpow_spec.rb
225
239
  - textpow1x.gemspec
240
+ has_rdoc: true
226
241
  homepage: http://github.com/grosser/textpow
227
- licenses:
242
+ licenses:
228
243
  - MIT
229
244
  post_install_message:
230
- rdoc_options:
245
+ rdoc_options:
231
246
  - --main
232
247
  - README.rdoc
233
- require_paths:
248
+ require_paths:
234
249
  - lib
235
- required_ruby_version: !ruby/object:Gem::Requirement
250
+ required_ruby_version: !ruby/object:Gem::Requirement
236
251
  none: false
237
- requirements:
238
- - - ! '>='
239
- - !ruby/object:Gem::Version
240
- version: '0'
241
- segments:
252
+ requirements:
253
+ - - ">="
254
+ - !ruby/object:Gem::Version
255
+ hash: 3
256
+ segments:
242
257
  - 0
243
- hash: -16614605
244
- required_rubygems_version: !ruby/object:Gem::Requirement
258
+ version: "0"
259
+ required_rubygems_version: !ruby/object:Gem::Requirement
245
260
  none: false
246
- requirements:
247
- - - ! '>='
248
- - !ruby/object:Gem::Version
249
- version: '0'
250
- segments:
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ hash: 3
265
+ segments:
251
266
  - 0
252
- hash: -16614605
267
+ version: "0"
253
268
  requirements: []
269
+
254
270
  rubyforge_project:
255
- rubygems_version: 1.8.10
271
+ rubygems_version: 1.6.2
256
272
  signing_key:
257
273
  specification_version: 3
258
274
  summary: A library for parsing TextMate bundles on ruby 1.x
259
275
  test_files: []
276
+