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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e443e250647d9dd57bbc336b85b34d19f3e8c91
4
- data.tar.gz: dcc551ccb616ffb61269d97c9abd8528e9fd37b9
3
+ metadata.gz: c6d64c48740d4deb442e55028516e3dfb2577fda
4
+ data.tar.gz: ad6a88f2be92b6f06ef89d3e7dc35b3faa768dd9
5
5
  SHA512:
6
- metadata.gz: 0bdd3a0d2f2e86c8bde5ea4f991a0f7af3eeb432a14774b095338f68a5fa234b9953883d039399f02d24e7329cb329354b8eceeb025f50fdff42582a2855a9c3
7
- data.tar.gz: e9aad6b6ed5090bfd5386cf53e3d7a57bd34c4c59fbbe2390a9fadf97eef7a3a8dca45f0ec643e67be4c3b5bd924069217c94707edc4e9d27ecb469dfc40356d
6
+ metadata.gz: d40907b9eef8e898610bb8862b2d708f011019d071336deb6b79b5485511e34e86db29ef922c664076e28b9be7e6ab3c2976b61563d61f7590514e48be5f8c31
7
+ data.tar.gz: ad805cb06f7477f761c21c0e8855f0dcf3a223d5a25e4cbd1d81ea7341b69e2b3eaeba4ccbf96e316f10dcfa95c6a4dbaa63ae8143bb45c9c5b974149fd92f58
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -10,17 +10,14 @@ require 'dws-registry'
10
10
 
11
11
  class Yatter < Twitter::REST::Client
12
12
 
13
- def initialize(reg, user: nil, lookup_file: nil)
13
+ def initialize(reg, user: nil)
14
14
 
15
- if user.nil? or lookup_file.nil? then
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
- @lookup_file = lookup_file
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.0
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-19 00:00:00.000000000 Z
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