rapidshare-ext 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/rapidshare-ext/version.rb +1 -1
- data/rapidshare-ext.gemspec +27 -27
- metadata +48 -18
data/README.md
CHANGED
@@ -58,7 +58,7 @@ api.folders_hierarchy
|
|
58
58
|
# }
|
59
59
|
```
|
60
60
|
|
61
|
-
Note, that after the folder
|
61
|
+
Note, that after the folder hierarchy is generated first time the data is cached permanently to improve performance.
|
62
62
|
|
63
63
|
So, if you want to invalidate the cache just call the above method with trailing "!":
|
64
64
|
```ruby
|
@@ -87,7 +87,7 @@ ROOT
|
|
87
87
|
`-c
|
88
88
|
```
|
89
89
|
Orphans is invisible in your File Manager on the Rapidshare web site, so you may want to hide data in that way (stupid idea)
|
90
|
-
We can fix it by detecting all orphan
|
90
|
+
We can fix it by detecting all orphan folders and moving them to a specific folder:
|
91
91
|
```ruby
|
92
92
|
move_orphans :to => "/"
|
93
93
|
```
|
data/rapidshare-ext.gemspec
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/rapidshare-ext/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.name = "rapidshare-ext"
|
6
|
-
gem.version = Rapidshare::Ext::VERSION
|
7
|
-
gem.date = '2012-11-18'
|
8
|
-
gem.authors = ["odiszapc"]
|
9
|
-
gem.email = ["odiszapc@gmail.com"]
|
10
|
-
gem.description = %q{
|
11
|
-
gem.summary = %q{
|
12
|
-
gem.homepage = "http://github.com/odiszapc/rapidshare-ext"
|
13
|
-
|
14
|
-
gem.files = `git ls-files`.split($\)
|
15
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
|
-
gem.require_paths = ["lib"]
|
18
|
-
|
19
|
-
|
20
|
-
gem.add_dependency('rapidshare', '~> 0.5.3')
|
21
|
-
gem.add_dependency('rest-client', '~> 1.6.7')
|
22
|
-
|
23
|
-
gem.add_development_dependency('test-unit')
|
24
|
-
gem.add_development_dependency('shoulda')
|
25
|
-
gem.add_development_dependency('simplecov')
|
26
|
-
gem.add_development_dependency('fakeweb')
|
27
|
-
end
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/rapidshare-ext/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.name = "rapidshare-ext"
|
6
|
+
gem.version = Rapidshare::Ext::VERSION
|
7
|
+
gem.date = '2012-11-18'
|
8
|
+
gem.authors = ["odiszapc"]
|
9
|
+
gem.email = ["odiszapc@gmail.com"]
|
10
|
+
gem.description = %q{Extends the base rapidshare gem with a set of handy features}
|
11
|
+
gem.summary = %q{Makes your interactions with Rapidshare API more pleasant by providing new handy features: creating/moving/deleting files/folders in a user friendly way, upload files, etc}
|
12
|
+
gem.homepage = "http://github.com/odiszapc/rapidshare-ext"
|
13
|
+
|
14
|
+
gem.files = `git ls-files`.split($\)
|
15
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
|
+
gem.require_paths = ["lib"]
|
18
|
+
|
19
|
+
|
20
|
+
gem.add_dependency('rapidshare', '~> 0.5.3')
|
21
|
+
gem.add_dependency('rest-client', '~> 1.6.7')
|
22
|
+
|
23
|
+
gem.add_development_dependency('test-unit')
|
24
|
+
gem.add_development_dependency('shoulda')
|
25
|
+
gem.add_development_dependency('simplecov')
|
26
|
+
gem.add_development_dependency('fakeweb')
|
27
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapidshare-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-11-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rapidshare
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 0.5.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.5.3
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rest-client
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: 1.6.7
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.7
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: test-unit
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: shoulda
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: simplecov
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: fakeweb
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ! '>='
|
@@ -76,10 +101,13 @@ dependencies:
|
|
76
101
|
version: '0'
|
77
102
|
type: :development
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
80
|
-
|
81
|
-
|
82
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: Extends the base rapidshare gem with a set of handy features
|
83
111
|
email:
|
84
112
|
- odiszapc@gmail.com
|
85
113
|
executables: []
|
@@ -123,10 +151,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
151
|
version: '0'
|
124
152
|
requirements: []
|
125
153
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.8.
|
154
|
+
rubygems_version: 1.8.24
|
127
155
|
signing_key:
|
128
156
|
specification_version: 3
|
129
|
-
summary:
|
157
|
+
summary: ! 'Makes your interactions with Rapidshare API more pleasant by providing
|
158
|
+
new handy features: creating/moving/deleting files/folders in a user friendly way,
|
159
|
+
upload files, etc'
|
130
160
|
test_files:
|
131
161
|
- test/fixtures/files/upload1.txt
|
132
162
|
- test/fixtures/getaccountdetails_valid.txt
|