yatter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/yatter.rb +5 -8
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d64c48740d4deb442e55028516e3dfb2577fda
|
4
|
+
data.tar.gz: ad6a88f2be92b6f06ef89d3e7dc35b3faa768dd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d40907b9eef8e898610bb8862b2d708f011019d071336deb6b79b5485511e34e86db29ef922c664076e28b9be7e6ab3c2976b61563d61f7590514e48be5f8c31
|
7
|
+
data.tar.gz: ad805cb06f7477f761c21c0e8855f0dcf3a223d5a25e4cbd1d81ea7341b69e2b3eaeba4ccbf96e316f10dcfa95c6a4dbaa63ae8143bb45c9c5b974149fd92f58
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/yatter.rb
CHANGED
@@ -10,17 +10,14 @@ require 'dws-registry'
|
|
10
10
|
|
11
11
|
class Yatter < Twitter::REST::Client
|
12
12
|
|
13
|
-
def initialize(reg, user: nil
|
13
|
+
def initialize(reg, user: nil)
|
14
14
|
|
15
|
-
|
16
|
-
raise 'You must enter a user and lookup_file'
|
17
|
-
end
|
15
|
+
raise 'You must enter a user' if user.nil?
|
18
16
|
|
19
|
-
|
17
|
+
e = reg.get_key('hkey_apps/microblog/twitter/' + user)
|
18
|
+
@lookup_file = e.text('lookup_file')
|
20
19
|
|
21
|
-
super() do |config|
|
22
|
-
|
23
|
-
e = reg.get_key('hkey_apps/microblog/twitter/' + user)
|
20
|
+
super() do |config|
|
24
21
|
|
25
22
|
config.consumer_key = e.text('ctoken')
|
26
23
|
config.consumer_secret = decipher(e.text('csecret'))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
iyTTuErEHQj2Xm+cAwp25nbvZaTjkOJJJRwVaT3u8X9QYpD4cOeplc6wcJk0WHzG
|
32
32
|
xIhWwqPwbiPo6w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-09-
|
34
|
+
date: 2015-09-20 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: twitter
|
metadata.gz.sig
CHANGED
Binary file
|