cabinet 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +18 -14
- data/cabinet.gemspec +2 -1
- data/lib/cabinet.rb +2 -2
- metadata +64 -88
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cabinet (0.2.
|
5
|
-
fog (~>
|
4
|
+
cabinet (0.2.2)
|
5
|
+
fog (~> 1.1.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
@@ -10,26 +10,30 @@ GEM
|
|
10
10
|
builder (3.0.0)
|
11
11
|
chalofa_ruby-progressbar (0.0.9.1)
|
12
12
|
diff-lcs (1.1.2)
|
13
|
-
excon (0.
|
14
|
-
fog (
|
13
|
+
excon (0.7.12)
|
14
|
+
fog (1.1.1)
|
15
15
|
builder
|
16
|
-
excon (~> 0.
|
17
|
-
formatador (
|
18
|
-
json
|
16
|
+
excon (~> 0.7.4)
|
17
|
+
formatador (~> 0.2.0)
|
19
18
|
mime-types
|
19
|
+
multi_json (~> 1.0.3)
|
20
|
+
net-scp (~> 1.0.4)
|
20
21
|
net-ssh (>= 2.1.3)
|
21
|
-
nokogiri (
|
22
|
+
nokogiri (~> 1.5.0)
|
22
23
|
ruby-hmac
|
23
24
|
forgery (0.3.6)
|
24
|
-
formatador (0.1
|
25
|
+
formatador (0.2.1)
|
25
26
|
fuubar (0.0.4)
|
26
27
|
chalofa_ruby-progressbar (~> 0.0.9)
|
27
28
|
rspec (~> 2.0)
|
28
29
|
rspec-instafail (~> 0.1.4)
|
29
|
-
|
30
|
-
|
31
|
-
net-
|
32
|
-
|
30
|
+
mime-types (1.17.2)
|
31
|
+
multi_json (1.0.4)
|
32
|
+
net-scp (1.0.4)
|
33
|
+
net-ssh (>= 1.99.1)
|
34
|
+
net-ssh (2.2.1)
|
35
|
+
nokogiri (1.5.0)
|
36
|
+
rake (0.9.2)
|
33
37
|
rspec (2.3.0)
|
34
38
|
rspec-core (~> 2.3.0)
|
35
39
|
rspec-expectations (~> 2.3.0)
|
@@ -46,7 +50,7 @@ PLATFORMS
|
|
46
50
|
|
47
51
|
DEPENDENCIES
|
48
52
|
cabinet!
|
49
|
-
fog (~> 0.8.2)
|
50
53
|
forgery
|
51
54
|
fuubar
|
55
|
+
rake
|
52
56
|
rspec (~> 2.3.0)
|
data/cabinet.gemspec
CHANGED
@@ -19,7 +19,8 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency "fog", "~>
|
22
|
+
s.add_dependency "fog", "~> 1.1.1"
|
23
|
+
s.add_development_dependency "rake"
|
23
24
|
s.add_development_dependency "rspec", "~> 2.3.0"
|
24
25
|
s.add_development_dependency "forgery"
|
25
26
|
s.add_development_dependency "fuubar"
|
data/lib/cabinet.rb
CHANGED
@@ -3,7 +3,7 @@ require 'cabinet/instance'
|
|
3
3
|
|
4
4
|
module Cabinet
|
5
5
|
unless const_defined?(:VERSION)
|
6
|
-
VERSION = '0.2.
|
6
|
+
VERSION = '0.2.2'
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.cloud(provider, options={})
|
@@ -13,7 +13,7 @@ module Cabinet
|
|
13
13
|
def self.local(path='/')
|
14
14
|
self.init(:local, {:local_root => path})
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
def self.init(*args)
|
18
18
|
Cabinet::Instance.new(*args)
|
19
19
|
end
|
metadata
CHANGED
@@ -1,93 +1,79 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cabinet
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 0.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Sebastian von Conrad
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-09 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: fog
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70307304509300 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 8
|
33
|
-
- 2
|
34
|
-
version: 0.8.2
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.1.1
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rspec
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *70307304509300
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake
|
27
|
+
requirement: &70307304508760 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70307304508760
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rspec
|
38
|
+
requirement: &70307304508120 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 3
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 3
|
49
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
50
43
|
version: 2.3.0
|
51
44
|
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: forgery
|
55
45
|
prerelease: false
|
56
|
-
|
46
|
+
version_requirements: *70307304508120
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: forgery
|
49
|
+
requirement: &70307304507620 !ruby/object:Gem::Requirement
|
57
50
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
65
55
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: fuubar
|
69
56
|
prerelease: false
|
70
|
-
|
57
|
+
version_requirements: *70307304507620
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: fuubar
|
60
|
+
requirement: &70307304507160 !ruby/object:Gem::Requirement
|
71
61
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
version: "0"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
79
66
|
type: :development
|
80
|
-
|
81
|
-
|
82
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70307304507160
|
69
|
+
description: Cabinet is a wrapper for fog to add a simplified way of handling files,
|
70
|
+
both in the cloud and on the local filesystem
|
71
|
+
email:
|
83
72
|
- sebastian@vonconrad.com
|
84
73
|
executables: []
|
85
|
-
|
86
74
|
extensions: []
|
87
|
-
|
88
75
|
extra_rdoc_files: []
|
89
|
-
|
90
|
-
files:
|
76
|
+
files:
|
91
77
|
- .gitignore
|
92
78
|
- .rspec
|
93
79
|
- Gemfile
|
@@ -101,41 +87,31 @@ files:
|
|
101
87
|
- spec/cabinet/instance_spec.rb
|
102
88
|
- spec/cloud_credentials.yml
|
103
89
|
- spec/spec_helper.rb
|
104
|
-
has_rdoc: true
|
105
90
|
homepage: http://github.com/vonconrad/cabinet
|
106
91
|
licenses: []
|
107
|
-
|
108
92
|
post_install_message:
|
109
93
|
rdoc_options: []
|
110
|
-
|
111
|
-
require_paths:
|
94
|
+
require_paths:
|
112
95
|
- lib
|
113
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
97
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
122
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
103
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
segments:
|
129
|
-
- 0
|
130
|
-
version: "0"
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
131
108
|
requirements: []
|
132
|
-
|
133
109
|
rubyforge_project: cabinet
|
134
|
-
rubygems_version: 1.
|
110
|
+
rubygems_version: 1.8.10
|
135
111
|
signing_key:
|
136
112
|
specification_version: 3
|
137
113
|
summary: Wrapper for local and cloud file handling via fog
|
138
|
-
test_files:
|
114
|
+
test_files:
|
139
115
|
- spec/cabinet/instance_spec.rb
|
140
116
|
- spec/cloud_credentials.yml
|
141
117
|
- spec/spec_helper.rb
|