weibo_focus 1.0.4 → 1.0.5

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/weibo_focus.rb CHANGED
@@ -1,6 +1,5 @@
1
- $:.unshift"#{File.dirname(__FILE__)}/weibo_focus"
2
- require "version"
3
- require "config"
1
+ require "weibo_focus/version"
2
+ #require "weibo_focus/config"
4
3
 
5
4
  module Weibo
6
5
  class IntFocus
@@ -9,3 +8,33 @@ module Weibo
9
8
  end
10
9
  end
11
10
  end
11
+
12
+ module Weibo
13
+ module Config
14
+
15
+ def self.api_key=(val)
16
+ @@api_key = val
17
+ end
18
+
19
+ def self.api_key
20
+ @@api_key
21
+ end
22
+
23
+ def self.api_secret=(val)
24
+ @@api_secret = val
25
+ end
26
+
27
+ def self.api_secret
28
+ @@api_secret
29
+ end
30
+
31
+ def self.redirect_uri=(val)
32
+ @@redirect_uri = val
33
+ end
34
+
35
+ def self.redirect_uri
36
+ @@redirect_uri
37
+ end
38
+
39
+ end
40
+ end
@@ -1,3 +1,3 @@
1
1
  module Weibo
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weibo_focus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: