cloudstrg 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module CloudStrg
20
20
  # This method returns a list of the available storage drivers.
21
21
  #
22
22
  def self.driver_list
23
- l = Cloudstrglist.find(:all)
23
+ l = Cloudstrglist.find(:all).select('plugin_name')
24
24
  l.sort!
25
25
  return l
26
26
  end
@@ -11,7 +11,7 @@ module CloudStrg
11
11
  #
12
12
  def self.new_driver params
13
13
  type = params[:type]
14
- require "#{type}strg"
14
+ require "#{type}strg/#{type}strg"
15
15
  return Kernel.const_get("#{type.capitalize}Strg").new(params)
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Cloudstrg
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,3 @@
1
+ module Cloudstrg
2
+ VERSION = "0.0.1"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-04 00:00:00.000000000 Z
12
+ date: 2012-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -51,6 +51,7 @@ extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
53
  - lib/cloudstrg/version.rb
54
+ - lib/cloudstrg/version.rb~
54
55
  - lib/cloudstrg/cloudstrg.rb~
55
56
  - lib/cloudstrg/cloudstrg.rb
56
57
  - lib/tasks/cloudstrg_tasks.rake