vidsy-cloudkit 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vidsy/cloudkit/app_config.rb +4 -4
- data/lib/vidsy/cloudkit/configuration.rb +4 -0
- data/lib/vidsy/cloudkit/version.rb +1 -1
- data/lib/vidsy/cloudkit.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e3c0e0186000bedeeda5e023cd4052f806c187a
|
4
|
+
data.tar.gz: 6ba50e4a415b31bae92570e54f8b7cc42eb038e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6ed0e2fa1b03eed2e749e435481c90ae4738886600cd061af9df04499b780f820e4bbe84139bcafb856314fd9b5e3496bf11bb0b635283032247ffcf7bb8581
|
7
|
+
data.tar.gz: d50e7ae843cbd3e9f8db36ebf0fe6f10ad48a1c902b14026b97595208ae5303e98f9fb32e2fd23c2ae177ffb02bb8b3c6c08f192a03a992e1ef54c15dce591b7
|
@@ -25,20 +25,20 @@ module Vidsy
|
|
25
25
|
Configuration
|
26
26
|
end
|
27
27
|
|
28
|
-
def
|
29
|
-
configuration.
|
28
|
+
def aws_env
|
29
|
+
configuration.aws_env
|
30
30
|
end
|
31
31
|
|
32
32
|
def path
|
33
33
|
File.join(
|
34
|
-
root, "config", "#{
|
34
|
+
root, "config", "#{aws_env}.config.json"
|
35
35
|
)
|
36
36
|
end
|
37
37
|
|
38
38
|
def parse
|
39
39
|
OpenStruct.new(
|
40
40
|
JSON.parse(
|
41
|
-
File.read
|
41
|
+
File.read(path)
|
42
42
|
)
|
43
43
|
)
|
44
44
|
end
|
data/lib/vidsy/cloudkit.rb
CHANGED
@@ -14,7 +14,7 @@ module Vidsy
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def self.configure(&block)
|
17
|
-
Configuration.configure
|
17
|
+
Configuration.configure(&block)
|
18
18
|
end
|
19
19
|
|
20
20
|
def self.dev?
|
@@ -27,7 +27,7 @@ module Vidsy
|
|
27
27
|
|
28
28
|
def self.go!
|
29
29
|
$LOAD_PATH << File.join(Configuration.root)
|
30
|
-
require "pry" if
|
30
|
+
require "pry" if dev?
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.prod?
|
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.
|
4
|
+
version: 0.10.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-
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|