ayadn 1.8.0 → 1.8.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: 080c008e1d5732b1310756187a89ad3995504abe
4
- data.tar.gz: 085cae4dcd6c0758c77c77f553d4cb55d24ab0a7
3
+ metadata.gz: c002ed66cd4400178db525b0446de6f6aea8e6d1
4
+ data.tar.gz: 3b2cbfd97cebb3f4063408a54120d4c6a2ff2f5c
5
5
  SHA512:
6
- metadata.gz: 96318e16dee9df86808ad68267d9319e589ec7de004c6be8c208917dda19665b496d34560b4a3214a19d9318eae7c57fecf0c0c92c3d209f49eae9b672ed6239
7
- data.tar.gz: 6a52b3b2cdb1ec73dc647fe47b1625ecfcb25460222c01f29b03d9f0a4045dfb011115715b56dc06efb918c907405e68e91e97d947b85cfbf04622df38b85fa7
6
+ metadata.gz: 5ed25a04fd265524ea45dbe8a90380274528fdf1de4c198e7ee13b6f1c88415dc56aec35f5b44b5e340a33382fa1ef5cbc8afb07b6c236c57ea8661058f3ead1
7
+ data.tar.gz: c2ef0d0b4252c1405d15396e4d92e6fd7aed7f8a3b3e5b28b4e085a55be248925b90b86481f6b199a9e609b5c8244ca33d43d929b002dc55406d32e7ae03841b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.8.1 - 2014-10-31 - 'Stockholm'
2
+
3
+ - Fix: directed posts in timeline
4
+
1
5
  # 1.8.0 - 2014-10-29 - 'Cascadeur'
2
6
 
3
7
  - New: command to view all unread PMs
data/lib/ayadn/api.rb CHANGED
@@ -263,7 +263,17 @@ module Ayadn
263
263
  count = Settings.options[:counts][:default]
264
264
  end
265
265
  directed = arg[:directed] || Settings.options[:timeline][:directed]
266
+ if directed == true || directed == 1
267
+ directed = 1
268
+ else
269
+ directed = 0
270
+ end
266
271
  html = arg[:html] || Settings.options[:timeline][:html]
272
+ if html == true || html == 1
273
+ html = 1
274
+ else
275
+ html = 0
276
+ end
267
277
  if arg[:since_id]
268
278
  "&count=#{count}&include_html=#{html}&include_directed=#{directed}&include_deleted=0&include_annotations=1&since_id=#{arg[:since_id]}"
269
279
  elsif arg[:recent_message]
@@ -171,9 +171,9 @@ module Ayadn
171
171
  def self.defaults
172
172
  {
173
173
  timeline: {
174
- directed: true,
175
- deleted: false,
176
- html: false,
174
+ directed: 1,
175
+ deleted: 0,
176
+ html: 0,
177
177
  annotations: true,
178
178
  show_source: true,
179
179
  show_symbols: true,
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "1.8.0"
3
+ VERSION = "1.8.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ayadn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor