socialcast-api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/socialcast-api.rb +2 -2
- data/lib/socialcast-api/version.rb +1 -1
- metadata +3 -3
data/lib/socialcast-api.rb
CHANGED
|
@@ -12,7 +12,7 @@ module SocialcastApi
|
|
|
12
12
|
def self.configuration
|
|
13
13
|
if block_given?
|
|
14
14
|
yield Configuration.instance
|
|
15
|
-
if Configuration.config_file
|
|
15
|
+
if Configuration.instance.config_file
|
|
16
16
|
config = YAML::load_file(Configuration.config_file)
|
|
17
17
|
Configuration.site = config['site']
|
|
18
18
|
Configuration.user = config['user']
|
|
@@ -23,4 +23,4 @@ module SocialcastApi
|
|
|
23
23
|
Configuration.instance
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
end
|
|
26
|
+
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Matthew Closson
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-02-06 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|