vidsy-cloudkit 0.5.1 → 0.6.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: 3ccfb5398428dd7ad3b4aa242d8d0f070f06646e
4
- data.tar.gz: 66a41075831745537bb05f3f444f5fab1f52ddd9
3
+ metadata.gz: 4bd3119b3a65a4ec0f090da00094249bda46c955
4
+ data.tar.gz: 267fc560eeefbe9bc110c605f0990b4b95ec019f
5
5
  SHA512:
6
- metadata.gz: de1ff17dcc56b83490f04eb3e887c8c185860edcec98b3a23b9ff99e91c7aba0c766072e0d4cdbd7c4ea51babda98504239b3bc4751137a03c50c053934b3c2f
7
- data.tar.gz: 11db377a10875b87097a72059f672c6b2b38722bdc4fc771f53aa0df0d854c5375f1474e13e65a188635663e04d7cbd1d11280d9b6f741f9ce4c9125075a515d
6
+ metadata.gz: 4ac1c72d72cce3e7e71989e3b3731e44d768cb9cebbc2d78ecb9f29f6c1e2be17ce3e0a1cc163ad0ce66b8a4ed4a350686b64ceaf38876e1c56a9ccd32779041
7
+ data.tar.gz: c6a476c6d21dd861fc2906cb61e273c36eac6d76521f3df18ad3a4396fdc2d8b479a060f23fc834d1036f369e5f4a71c21c18d7323d0997f7c6105776ed445e2
@@ -1,5 +1,5 @@
1
1
  module Vidsy
2
2
  module Cloudkit
3
- VERSION = "0.5.1"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -11,16 +11,25 @@ module Vidsy
11
11
  Configuration.configure &block
12
12
  end
13
13
 
14
+ def self.dev?
15
+ Configuration.env == "development"
16
+ end
17
+
14
18
  def self.env
15
19
  Configuration.env
16
20
  end
17
21
 
18
22
  def self.go!
19
23
  $LOAD_PATH << File.join(Configuration.root)
24
+ require "pry" if self.dev?
25
+ end
26
+
27
+ def self.prod?
28
+ Configuration.env == "production"
29
+ end
20
30
 
21
- if Configuration.env == "development"
22
- require "pry"
23
- end
31
+ def self.test?
32
+ Configuration.env == "test"
24
33
  end
25
34
  end
26
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidsy-cloudkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Revett