fffs 0.0.12.2 → 0.0.12.3

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 +7 -0
  2. data/lib/fffs/filesystem.rb +4 -0
  3. metadata +24 -35
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8e07d30edd7450d48c1b014ea8c3d3be1fd18121
4
+ data.tar.gz: ad47646ffa7ced998fd21501f72d76975f80e1e9
5
+ SHA512:
6
+ metadata.gz: 2382058494414d3c218c3a8b0215d73f6d2cb7c55a0f2bdeff5955f928a8ca8d90e3c3d3e7f4c9171a9d4b404bb7cb2e837a2d6819cb9eca1bd5b790055fb5ad
7
+ data.tar.gz: 6126fb676583a360a7e8083a668f102a8fada7c0ef1cf76b45f7dc36d0820e06738f5b5476c2c6385b5e6d55ba5a151fe499092a5abf45e3658d3210cdc6a9c3
@@ -52,6 +52,10 @@ class FileSystem < Directory
52
52
  end
53
53
 
54
54
  def parse (text)
55
+ if text.is_a?(IO)
56
+ text = text.read
57
+ end
58
+
55
59
  separator = Regexp.escape(text.match(/^(.+)$/)[1])
56
60
  text = text.sub(/^.*$/, '').gsub(/\r/, '')
57
61
 
metadata CHANGED
@@ -1,59 +1,48 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fffs
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.12.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.12.3
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - meh.
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2011-06-06 00:00:00 Z
11
+ date: 2013-04-05 00:00:00.000000000 Z
14
12
  dependencies: []
15
-
16
13
  description: A virtual filesystem for embedded data.
17
14
  email: meh@paranoici.org
18
15
  executables: []
19
-
20
16
  extensions: []
21
-
22
17
  extra_rdoc_files: []
23
-
24
- files:
25
- - lib/fffs.rb
26
- - lib/fffs/file.rb
27
- - lib/fffs/node.rb
18
+ files:
28
19
  - lib/fffs/link.rb
29
- - lib/fffs/directory.rb
20
+ - lib/fffs/node.rb
30
21
  - lib/fffs/filesystem.rb
22
+ - lib/fffs/directory.rb
23
+ - lib/fffs/file.rb
24
+ - lib/fffs.rb
31
25
  homepage: http://github.com/meh/fffs
32
26
  licenses: []
33
-
27
+ metadata: {}
34
28
  post_install_message:
35
29
  rdoc_options: []
36
-
37
- require_paths:
30
+ require_paths:
38
31
  - lib
39
- required_ruby_version: !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: "0"
45
- required_rubygems_version: !ruby/object:Gem::Requirement
46
- none: false
47
- requirements:
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: "0"
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
51
42
  requirements: []
52
-
53
43
  rubyforge_project:
54
- rubygems_version: 1.8.5
44
+ rubygems_version: 2.0.0
55
45
  signing_key:
56
- specification_version: 3
46
+ specification_version: 4
57
47
  summary: A virtual filesystem.
58
48
  test_files: []
59
-