socialyzer 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.
@@ -0,0 +1,17 @@
1
+ require 'rails'
2
+
3
+ module Socialyzer
4
+
5
+ class Engine < Rails::Engine
6
+
7
+ initializer "setup" do |app|
8
+ config_file = File.join(app.root,"config","socialyzer.yml")
9
+ if File.exist?(config_file)
10
+ Socialyzer::API_KEY = YAML.load_file(config_file)["api_key"]
11
+ end
12
+ end
13
+
14
+ end
15
+
16
+ end
17
+
@@ -0,0 +1,3 @@
1
+ module Socialyzer
2
+ VERSION = "0.0.2"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialyzer
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-12-27 00:00:00.000000000 Z
12
+ date: 2012-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -50,7 +50,9 @@ extensions: []
50
50
  extra_rdoc_files: []
51
51
  files:
52
52
  - lib/socialyzer.rb
53
- homepage: http://www.socialyzerhq.com
53
+ - lib/socialyzer/engine.rb
54
+ - lib/socialyzer/version.rb
55
+ homepage: https://github.com/socialyzer/socialyzer
54
56
  licenses: []
55
57
  post_install_message:
56
58
  rdoc_options: []