putio_fs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rspec", "~> 2.8.0"
10
+ gem "rdoc", "~> 3.12"
11
+ gem "bundler", ">= 1.0.0"
12
+ gem "jeweler", "~> 1.8.4"
13
+ #gem "rcov", ">= 0"
14
+ end
15
+
16
+ gem 'mharris_ext'
17
+ gem 'rfusefs'
18
+ gem 'json'
data/Gemfile.lock ADDED
@@ -0,0 +1,42 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3)
5
+ facets (2.9.3)
6
+ fattr (2.2.1)
7
+ git (1.2.5)
8
+ jeweler (1.8.4)
9
+ bundler (~> 1.0)
10
+ git (>= 1.2.5)
11
+ rake
12
+ rdoc
13
+ json (1.7.7)
14
+ mharris_ext (1.7.0)
15
+ facets
16
+ fattr
17
+ rake (10.0.4)
18
+ rdoc (3.12.2)
19
+ json (~> 1.4)
20
+ rfuse (1.0.3)
21
+ rfusefs (1.0.0)
22
+ rfuse (~> 1.0)
23
+ rspec (2.8.0)
24
+ rspec-core (~> 2.8.0)
25
+ rspec-expectations (~> 2.8.0)
26
+ rspec-mocks (~> 2.8.0)
27
+ rspec-core (2.8.0)
28
+ rspec-expectations (2.8.0)
29
+ diff-lcs (~> 1.1.2)
30
+ rspec-mocks (2.8.0)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (>= 1.0.0)
37
+ jeweler (~> 1.8.4)
38
+ json
39
+ mharris_ext
40
+ rdoc (~> 3.12)
41
+ rfusefs
42
+ rspec (~> 2.8.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Mike Harris
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = putio_fs
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to putio_fs
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
+ * Fork the project.
10
+ * Start a feature/bugfix branch.
11
+ * Commit and push until you are happy with your contribution.
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2013 Mike Harris. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "putio_fs"
18
+ gem.homepage = "http://github.com/mharris717/putio_fs"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{putio_fs}
21
+ gem.description = %Q{putio_fs}
22
+ gem.email = "mharris717@gmail.com"
23
+ gem.authors = ["Mike Harris"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "putio_fs #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/bin/putio_fs ADDED
@@ -0,0 +1,6 @@
1
+ load File.expand_path(File.dirname(__FILE__)) + "/../lib/putio_fs.rb"
2
+
3
+ dir = PutioFs::PutDir.new
4
+
5
+ # Usage: #{$0} mountpoint [mount_options]
6
+ FuseFS.start(dir,*ARGV)
data/lib/putio_fs.rb ADDED
@@ -0,0 +1,15 @@
1
+ require 'rubygems'
2
+ require 'rfusefs'
3
+ require 'mharris_ext'
4
+ require 'json'
5
+
6
+ module PutioFs
7
+ def self.tmp_dir
8
+ res = File.expand_path(File.dirname(__FILE__))+"/../tmp"
9
+ File.expand_path(res)
10
+ end
11
+ end
12
+
13
+ %w(putio_api put_dir).each do |f|
14
+ load File.expand_path(File.dirname(__FILE__)) + "/putio_fs/#{f}.rb"
15
+ end
@@ -0,0 +1,118 @@
1
+ class File
2
+ class << self
3
+ def create(filename,str)
4
+ open(filename,"w") do |f|
5
+ f << str
6
+ end
7
+ end
8
+ def append(filename,str)
9
+ open(filename,"a") do |f|
10
+ f << str
11
+ end
12
+ end
13
+ def pp(filename,obj)
14
+ require 'pp'
15
+ open(filename,"w") do |f|
16
+ PP.pp obj,f
17
+ end
18
+ end
19
+ end
20
+ end
21
+
22
+
23
+ module PutioFs
24
+ class PutFile
25
+ include FromHash
26
+ attr_accessor :id, :name, :parent_id, :content_type, :put_dir
27
+ def initialize(ops)
28
+ [:id, :name, :parent_id, :content_type, :put_dir].each do |m|
29
+ send("#{m}=",ops[m.to_s])
30
+ end
31
+ end
32
+ def directory?
33
+ content_type =~ /directory/
34
+ end
35
+ def file?
36
+ !directory?
37
+ end
38
+ fattr(:full_path) do
39
+ if id == 0
40
+ "/"
41
+ elsif parent_id == 0
42
+ "/#{name}"
43
+ else
44
+ "#{parent_file.full_path}/#{name}"
45
+ end
46
+ end
47
+ fattr(:parent_file) do
48
+ raise "shouldn't be here" if id == 0
49
+ raise inspect unless put_dir
50
+ put_dir.hash_by_id[parent_id]
51
+ end
52
+ fattr(:mp4_url) do
53
+ puts "in mp4 url"
54
+ #put_dir.api.mp4_url_raw(id)
55
+ "http://put.io/v2/files/#{id}/stream?token=75a44ac0567811e2b09f001018321b64"
56
+ end
57
+ end
58
+
59
+ class PutDir
60
+ fattr(:api) do
61
+ token = "F0B582CP"
62
+ #token = "75a44ac0567811e2b09f001018321b64"
63
+ PutioApi.new(:access_token => token)
64
+ end
65
+ fattr(:cached_responses) do
66
+ Hash.new do |h,k|
67
+ res = api.files(k)
68
+ File.pp PutioFs.tmp_dir+"/#{k}.dmp",res
69
+ h[k] = res
70
+ end
71
+ end
72
+
73
+ def get_files(root)
74
+ files = cached_responses[root]
75
+ files.map do |raw|
76
+ file = PutFile.new(raw.merge('put_dir' => self))
77
+
78
+ hash_by_id[file.id] ||= file
79
+ hash_by_name[file.name] ||= file
80
+ hash_by_path[file.full_path] ||= file
81
+
82
+ file
83
+ end
84
+ end
85
+ fattr(:hash_by_id) { {} }
86
+ fattr(:hash_by_name) { {} }
87
+ fattr(:hash_by_path) { {} }
88
+
89
+ def file_for_path(path)
90
+ hash_by_path["/"] ||= PutFile.new('id' => 0, 'put_dir' => self)
91
+ hash_by_path[path]
92
+ end
93
+ def contents(path)
94
+ puts "contents for #{path}"
95
+ files = get_files(file_for_path(path).id)
96
+ files.map { |x| x.name }
97
+ end
98
+ def file?(path)
99
+ puts "file? for #{path}"
100
+ file = hash_by_path[path]
101
+ file.file?
102
+ end
103
+ def directory?(path)
104
+ puts "directory? for #{path}"
105
+ file = hash_by_path[path]
106
+ file.directory?
107
+ end
108
+ def read_file(path)
109
+ puts "read_file for #{path}"
110
+ file = file_for_path(path)
111
+ file.mp4_url
112
+ end
113
+ def size(path)
114
+ puts "size for #{path}"
115
+ read_file(path).size
116
+ end
117
+ end
118
+ end
@@ -0,0 +1,110 @@
1
+ module PutioFs
2
+ class PutioApi
3
+ include FromHash
4
+ attr_accessor :access_token
5
+
6
+ def url(sub,data={})
7
+ require 'open-uri'
8
+ url = "https://api.put.io/v2/#{sub}?oauth_token=#{access_token}"
9
+ data.each do |k,v|
10
+ url += "&#{k}=#{v}"
11
+ end
12
+ puts "getting #{url}"
13
+ url
14
+ end
15
+
16
+ def get(sub,data={})
17
+ json = open(url(sub,data)).read
18
+ JSON.parse(json)
19
+ end
20
+
21
+ def post(sub,data={})
22
+ require 'net/http'
23
+
24
+ uri = URI(url(sub))
25
+ req = Net::HTTP::Post.new(uri.path)
26
+ data['oauth_token'] = access_token
27
+ req.set_form_data(data)
28
+
29
+ body = nil
30
+ res = Net::HTTP.start(uri.hostname, uri.port, :use_ssl => true) do |http|
31
+ body = http.request(req).body
32
+ end
33
+ puts "BODY #{body.inspect}"
34
+ body = JSON.parse(body)
35
+ puts "BODY2 #{body.class} #{body.inspect}"
36
+ body
37
+ end
38
+
39
+ def files(root=0)
40
+ res = get "files/list", :parent_id => root
41
+ res['files']
42
+ end
43
+
44
+ def upload(file)
45
+ post "transfers/add", :url => file, :callback_url => "http://putbay.io/media_jobs/putio_callback"
46
+ end
47
+
48
+ def movie_file_id(root)
49
+ info = file_info(root)
50
+ return root if info['content_type'] =~ /video/
51
+
52
+ res = files(root)
53
+ raise "no files found for #{root}" unless res
54
+ #pp res
55
+
56
+ cd1 = res.find { |x| x['content_type'] =~ /directory/ && x['name'].to_s.strip.downcase == 'cd1' }
57
+ if cd1
58
+ movie_file_id(cd1['id'])
59
+ else
60
+ res = res.reject { |x| x['content_type'] =~ /directory/ }.sort_by { |x| x['size'].to_i }[-1]
61
+ raise "no movie file for #{root}" unless res
62
+ res["id"]
63
+ end
64
+ end
65
+
66
+ def file_info(id)
67
+ res = get "files/#{id}"
68
+ res['file']
69
+ end
70
+
71
+ def transfer_file_id(id)
72
+ res = get "transfers/#{id}"
73
+ puts res.inspect
74
+ return nil unless res && res['transfer']
75
+ res['transfer']['file_id']
76
+ end
77
+
78
+ def mp4_url_raw(id)
79
+ info = file_info(id)
80
+ if info['content_type'] =~ /mp4/
81
+ url("files/#{id}/download")
82
+ else
83
+ url("files/#{id}/mp4/download")
84
+ end
85
+ end
86
+
87
+ def mp4_url_for_folder(root)
88
+ movie = movie_file_id(root)
89
+ mp4_url_raw(movie)
90
+ end
91
+
92
+ def search(keyword,ops={})
93
+ query = "\"#{keyword}\""
94
+ query = CGI.escape(query)
95
+ ops.each { |k,v| query += "%20#{k}:#{v}" }
96
+ sub = "files/search/#{query}"
97
+ res = get sub
98
+ res['files']
99
+ end
100
+
101
+ class << self
102
+ def test
103
+ user = User.first
104
+ api = new(:access_token => user.access_token)
105
+ require 'pp'
106
+ pp api.files
107
+ end
108
+ end
109
+ end
110
+ end
data/putio_fs.gemspec ADDED
@@ -0,0 +1,74 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{putio_fs}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Mike Harris"]
12
+ s.date = %q{2013-04-17}
13
+ s.default_executable = %q{putio_fs}
14
+ s.description = %q{putio_fs}
15
+ s.email = %q{mharris717@gmail.com}
16
+ s.executables = ["putio_fs"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.txt",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "bin/putio_fs",
31
+ "lib/putio_fs.rb",
32
+ "lib/putio_fs/put_dir.rb",
33
+ "lib/putio_fs/putio_api.rb",
34
+ "putio_fs.gemspec",
35
+ "spec/putio_fs_spec.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+ s.homepage = %q{http://github.com/mharris717/putio_fs}
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = %q{1.6.2}
42
+ s.summary = %q{putio_fs}
43
+
44
+ if s.respond_to? :specification_version then
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<mharris_ext>, [">= 0"])
49
+ s.add_runtime_dependency(%q<rfusefs>, [">= 0"])
50
+ s.add_runtime_dependency(%q<json>, [">= 0"])
51
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
52
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
53
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
55
+ else
56
+ s.add_dependency(%q<mharris_ext>, [">= 0"])
57
+ s.add_dependency(%q<rfusefs>, [">= 0"])
58
+ s.add_dependency(%q<json>, [">= 0"])
59
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
60
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
61
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
62
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
63
+ end
64
+ else
65
+ s.add_dependency(%q<mharris_ext>, [">= 0"])
66
+ s.add_dependency(%q<rfusefs>, [">= 0"])
67
+ s.add_dependency(%q<json>, [">= 0"])
68
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
69
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
70
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
71
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
72
+ end
73
+ end
74
+
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "PutioFs" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'putio_fs'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,186 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: putio_fs
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Mike Harris
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2013-04-17 00:00:00 +02:00
19
+ default_executable: putio_fs
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :runtime
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ name: mharris_ext
33
+ version_requirements: *id001
34
+ prerelease: false
35
+ - !ruby/object:Gem::Dependency
36
+ type: :runtime
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ name: rfusefs
47
+ version_requirements: *id002
48
+ prerelease: false
49
+ - !ruby/object:Gem::Dependency
50
+ type: :runtime
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ name: json
61
+ version_requirements: *id003
62
+ prerelease: false
63
+ - !ruby/object:Gem::Dependency
64
+ type: :development
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ hash: 47
71
+ segments:
72
+ - 2
73
+ - 8
74
+ - 0
75
+ version: 2.8.0
76
+ name: rspec
77
+ version_requirements: *id004
78
+ prerelease: false
79
+ - !ruby/object:Gem::Dependency
80
+ type: :development
81
+ requirement: &id005 !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ hash: 31
87
+ segments:
88
+ - 3
89
+ - 12
90
+ version: "3.12"
91
+ name: rdoc
92
+ version_requirements: *id005
93
+ prerelease: false
94
+ - !ruby/object:Gem::Dependency
95
+ type: :development
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 23
102
+ segments:
103
+ - 1
104
+ - 0
105
+ - 0
106
+ version: 1.0.0
107
+ name: bundler
108
+ version_requirements: *id006
109
+ prerelease: false
110
+ - !ruby/object:Gem::Dependency
111
+ type: :development
112
+ requirement: &id007 !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ hash: 63
118
+ segments:
119
+ - 1
120
+ - 8
121
+ - 4
122
+ version: 1.8.4
123
+ name: jeweler
124
+ version_requirements: *id007
125
+ prerelease: false
126
+ description: putio_fs
127
+ email: mharris717@gmail.com
128
+ executables:
129
+ - putio_fs
130
+ extensions: []
131
+
132
+ extra_rdoc_files:
133
+ - LICENSE.txt
134
+ - README.rdoc
135
+ files:
136
+ - .document
137
+ - .rspec
138
+ - Gemfile
139
+ - Gemfile.lock
140
+ - LICENSE.txt
141
+ - README.rdoc
142
+ - Rakefile
143
+ - VERSION
144
+ - bin/putio_fs
145
+ - lib/putio_fs.rb
146
+ - lib/putio_fs/put_dir.rb
147
+ - lib/putio_fs/putio_api.rb
148
+ - putio_fs.gemspec
149
+ - spec/putio_fs_spec.rb
150
+ - spec/spec_helper.rb
151
+ has_rdoc: true
152
+ homepage: http://github.com/mharris717/putio_fs
153
+ licenses:
154
+ - MIT
155
+ post_install_message:
156
+ rdoc_options: []
157
+
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ hash: 3
166
+ segments:
167
+ - 0
168
+ version: "0"
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ hash: 3
175
+ segments:
176
+ - 0
177
+ version: "0"
178
+ requirements: []
179
+
180
+ rubyforge_project:
181
+ rubygems_version: 1.6.2
182
+ signing_key:
183
+ specification_version: 3
184
+ summary: putio_fs
185
+ test_files: []
186
+