cabinet 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cabinet (0.1.3)
5
- fog (~> 0.3.30)
4
+ cabinet (0.2.1)
5
+ fog (~> 0.8.2)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -10,25 +10,25 @@ 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.3.7)
14
- fog (0.3.34)
13
+ excon (0.6.3)
14
+ fog (0.8.2)
15
15
  builder
16
- excon (>= 0.3.6)
17
- formatador (>= 0.0.16)
16
+ excon (~> 0.6.1)
17
+ formatador (>= 0.1.3)
18
18
  json
19
19
  mime-types
20
- net-ssh (>= 2.0.23)
20
+ net-ssh (>= 2.1.3)
21
21
  nokogiri (>= 1.4.4)
22
22
  ruby-hmac
23
23
  forgery (0.3.6)
24
- formatador (0.0.16)
24
+ formatador (0.1.4)
25
25
  fuubar (0.0.4)
26
26
  chalofa_ruby-progressbar (~> 0.0.9)
27
27
  rspec (~> 2.0)
28
28
  rspec-instafail (~> 0.1.4)
29
- json (1.4.6)
29
+ json (1.5.1)
30
30
  mime-types (1.16)
31
- net-ssh (2.0.23)
31
+ net-ssh (2.1.4)
32
32
  nokogiri (1.4.4)
33
33
  rspec (2.3.0)
34
34
  rspec-core (~> 2.3.0)
@@ -46,7 +46,7 @@ PLATFORMS
46
46
 
47
47
  DEPENDENCIES
48
48
  cabinet!
49
- fog (~> 0.3.30)
49
+ fog (~> 0.8.2)
50
50
  forgery
51
51
  fuubar
52
52
  rspec (~> 2.3.0)
data/cabinet.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "cabinet/version"
3
+ require "cabinet"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "cabinet"
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Sebastian von Conrad"]
10
10
  s.email = ["sebastian@vonconrad.com"]
11
11
  s.homepage = "http://github.com/vonconrad/cabinet"
12
- s.summary = %q{}
13
- s.description = %q{}
12
+ s.summary = %q{Wrapper for local and cloud file handling via fog}
13
+ s.description = %q{Cabinet is a wrapper for fog to add a simplified way of handling files, both in the cloud and on the local filesystem}
14
14
 
15
15
  s.rubyforge_project = "cabinet"
16
16
 
@@ -19,7 +19,7 @@ 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", "~> 0.3.30"
22
+ s.add_dependency "fog", "~> 0.8.2"
23
23
  s.add_development_dependency "rspec", "~> 2.3.0"
24
24
  s.add_development_dependency "forgery"
25
25
  s.add_development_dependency "fuubar"
data/lib/cabinet.rb CHANGED
@@ -1,7 +1,11 @@
1
- require 'pathname'
2
1
  require 'fog'
2
+ require 'cabinet/instance'
3
3
 
4
4
  module Cabinet
5
+ unless const_defined?(:VERSION)
6
+ VERSION = '0.2.1'
7
+ end
8
+
5
9
  def self.cloud(provider, options={})
6
10
  self.init(provider, options)
7
11
  end
@@ -14,6 +18,3 @@ module Cabinet
14
18
  Cabinet::Instance.new(*args)
15
19
  end
16
20
  end
17
-
18
- dir = Pathname(__FILE__).dirname.expand_path
19
- require dir + 'cabinet/instance'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cabinet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sebastian von Conrad
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 47
29
+ hash: 59
30
30
  segments:
31
31
  - 0
32
- - 3
33
- - 30
34
- version: 0.3.30
32
+ - 8
33
+ - 2
34
+ version: 0.8.2
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -78,7 +78,7 @@ dependencies:
78
78
  version: "0"
79
79
  type: :development
80
80
  version_requirements: *id004
81
- description: ""
81
+ description: Cabinet is a wrapper for fog to add a simplified way of handling files, both in the cloud and on the local filesystem
82
82
  email:
83
83
  - sebastian@vonconrad.com
84
84
  executables: []
@@ -98,7 +98,6 @@ files:
98
98
  - cabinet.gemspec
99
99
  - lib/cabinet.rb
100
100
  - lib/cabinet/instance.rb
101
- - lib/cabinet/version.rb
102
101
  - spec/cabinet/instance_spec.rb
103
102
  - spec/cloud_credentials.yml
104
103
  - spec/spec_helper.rb
@@ -135,7 +134,7 @@ rubyforge_project: cabinet
135
134
  rubygems_version: 1.3.7
136
135
  signing_key:
137
136
  specification_version: 3
138
- summary: ""
137
+ summary: Wrapper for local and cloud file handling via fog
139
138
  test_files:
140
139
  - spec/cabinet/instance_spec.rb
141
140
  - spec/cloud_credentials.yml
@@ -1,3 +0,0 @@
1
- module Cabinet
2
- VERSION = "0.2.0"
3
- end