vidsy-cloudkit 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4ef566ff55a175fce154e5eef0b081a867d5256
4
- data.tar.gz: fa2e4576268700b0c10aba6d023fd462a516d191
3
+ metadata.gz: f0e76f16f9413e945c4d7e1b7600e2f355767c66
4
+ data.tar.gz: ef98cfa1e9b14d080acf03bfd2fc8b9494218439
5
5
  SHA512:
6
- metadata.gz: 98f979a1f3bf6674dce38ea8311a5fcf17f1db06c2a738a19e10eb1efe27cda3b2f66b7b153f2621fb340d6d62454bb5a57f71ab92db0ee1a7fb10977b15d448
7
- data.tar.gz: 4b1acb6196a47d7d0804bda1cfc3cd4750707e095a523362f2c7be04a00b87d737768b563b53c31a8d7dc4df8946bdfaa148521f87aa6c1f36c841300989ad8c
6
+ metadata.gz: a32e3c3223e01bd30371c6527b14859b7a7efd9ed4a16cfae0b57db431ebdf3f48bfeefeabfb7a3de2cb34a248b6aa8a78b46234d4edefd590b7a4eac5cd197f
7
+ data.tar.gz: 5337835268efb5b8dbe8739177afd639b7c44a4e754867f2157f65b67537b0d7236261ec21df69fb48b3bd1b2dd67d88b6ecb84eee1b224d3349bdb09689d536
@@ -21,7 +21,20 @@ module Vidsy
21
21
  private
22
22
 
23
23
  def class_name(s)
24
- s.split("_").map(&:capitalize).join ""
24
+ name = ""
25
+ parts = s.split "/"
26
+ count = parts.size - 1
27
+
28
+ parts.each_with_index do |p, i|
29
+ unless p.include?("_")
30
+ name << p.capitalize
31
+ name << "::" unless i == count
32
+ next
33
+ end
34
+ name << p.split("_").map(&:capitalize).join("")
35
+ end
36
+
37
+ name
25
38
  end
26
39
 
27
40
  def configuration
@@ -33,7 +46,7 @@ module Vidsy
33
46
  end
34
47
 
35
48
  def require_class(file)
36
- require "app/controllers/#{file}"
49
+ require "app/controller/#{file}"
37
50
  end
38
51
  end
39
52
  end
@@ -1,5 +1,5 @@
1
1
  module Vidsy
2
2
  module Cloudkit
3
- VERSION = "0.8.0"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidsy-cloudkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Revett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-10 00:00:00.000000000 Z
11
+ date: 2016-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler