ayadn 2.0.4 → 2.0.5

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: 8b5f20d344841d76ea6958dcb51032bfed8992ec
4
- data.tar.gz: 5ab42f2b2eb18f2713ed4b8ce191d5a833f3da96
3
+ metadata.gz: cc2d8143e8de5477500486a4a6f81f8313cb44b4
4
+ data.tar.gz: 7f3f36be899a84569bd3701f68780f0c194ace3d
5
5
  SHA512:
6
- metadata.gz: ad72ea71606ddee934d7d6c1a6ac9508bfe2f0c88a893a7a86462fa43409081626270d0241d302b393d679e0fef3a43ec7d6365e7f4379655dd9ea2874f5bbe5
7
- data.tar.gz: dfd9d769dcd06f22ba4a68309308aa7a9133d2d2d6882485fc99c7f5b5ae873595ea4ee1a528aef0ce943435d4685a225b123ce5c89b5505c920bda6f6cfac13
6
+ metadata.gz: 37be445bcfa05d0d2c84f542c6f0b671ad6c81b076ddb5356508a2bc1ef6445da16f62462649c3a472a01205af5ae67206f3e4199d49165b9fb4e7c97b066bad
7
+ data.tar.gz: f97fadb70bb9d8a3e10dc01352b8cc02694d5abb4ec89fbb7f318fa64257fbb99c141412fa159c8684d25793f9577998b65d1c5bb96a4fe43e0adcd0a030426a
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  .yardoc
6
6
  .tags*
7
7
  tags
8
+ .tags
8
9
  Gemfile.lock
9
10
  InstalledFiles
10
11
  _yardoc
data/.travis.yml CHANGED
@@ -2,6 +2,7 @@ language: ruby
2
2
  cache: bundler
3
3
 
4
4
  rvm:
5
+ - "2.2.0"
5
6
  - "2.1.2"
6
7
  - "2.1.1"
7
8
  - "2.1.0"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 2.0.5 - 2015-01-24 - 'Charlie'
2
+
3
+ - New: NowPlaying with Deezer
4
+ - New: 'lastposts' in Followings (show every user last post)
5
+ - New: in Followings, sort by last post date (only with 'lastposts')
6
+ - Fix: do not crash if interrupted by user while loading Gems
7
+
1
8
  ## 2.0.4 - 2014-11-30 - 'The Penguin'
2
9
 
3
10
  - Fix: nowplaying iTunes Store requests
data/README.md CHANGED
@@ -25,7 +25,7 @@ With Ayadn, you can use all the features of App.net from the console without any
25
25
  - extract links from conversations, streams, posts, etc
26
26
  - list and download your files
27
27
  - view (and write to) all your channels including Broadcasts, Patter, Ohai, etc
28
- - 'nowplaying' from iTunes or Last.fm, with album art and store link
28
+ - 'nowplaying' from iTunes, Deezer or Last.fm, with album art and store link
29
29
  - 'movie' creates a post from a movie title with poster, plot, and link
30
30
  - 'tvshow' creates a post from a TV show title with poster, plot, and link
31
31
  - view/send private messages
data/bin/ayadn CHANGED
@@ -1,9 +1,15 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
3
  # App.net command-line client
4
- # Author: Eric DEJONCKHEERE (http://app.net/ericd)
4
+ # Author: Eric DEJONCKHEERE
5
+ # http://app.net/ericd
6
+ # eric@aya.io
5
7
 
6
- $PROGRAM_NAME = 'ayadn'
7
- require_relative '../lib/ayadn'
8
-
9
- Ayadn::App.start ARGV
8
+ begin
9
+ $PROGRAM_NAME = 'ayadn'
10
+ require_relative '../lib/ayadn'
11
+ Ayadn::App.start ARGV
12
+ rescue Interrupt
13
+ puts "\nExit: stopped by user while launching\n\n"
14
+ exit
15
+ end
data/doc/01-index.md CHANGED
@@ -21,7 +21,7 @@ With Ayadn, you can use all the features of App.net from the console without any
21
21
  - extract links from conversations, streams, posts, etc
22
22
  - list and download your files
23
23
  - view (and write to) all your channels including Broadcasts, Patter, Ohai, etc
24
- - 'nowplaying' from iTunes or Last.fm, with album art and store link
24
+ - 'nowplaying' from iTunes, Deezer or Last.fm, with album art and store link
25
25
  - 'movie' creates a post from a movie title with poster, plot, and link
26
26
  - 'tvshow' creates a post from a TV show title with poster, plot, and link
27
27
  - view/send private messages
data/doc/05-streams.md CHANGED
@@ -84,6 +84,8 @@ Displays the raw response from the App.net API instead of the formatted Ayadn ou
84
84
 
85
85
  `ayadn -tl -x`
86
86
 
87
+ *Note: when `-x` is used, visual layout options are ignored. This allows redirecting the output to a file, for example.*
88
+
87
89
  ### EXTRACT
88
90
 
89
91
  Extracts all links from posts.
data/doc/08-listings.md CHANGED
@@ -70,6 +70,16 @@ Reverse the list order:
70
70
 
71
71
  `ayadn -fwg -u -r me`
72
72
 
73
+ Show the last post of each user you're following:
74
+
75
+ `ayadn -fwg -l me`
76
+
77
+ Sort it by last post date:
78
+
79
+ `ayadn -fwg -l -t me`
80
+
81
+ *Note: `-t` is ignored outside of 'last posts'. Other options are compatible with 'last posts' except `-r`.*
82
+
73
83
  # CHANNELS
74
84
 
75
85
  List all your active App.net channels.
data/doc/15-nowplaying.md CHANGED
@@ -24,6 +24,20 @@ Ayadn will grab information from your Last.fm account, format it, insert the *#n
24
24
 
25
25
  It will also grab a link to the album and the album artwork from the iTunes Store (you can prevent this behavior by adding the `--no_url` option (short: `-n`).
26
26
 
27
+ *Note: the Last.fm feed may take some time to be updated. If it doesn't reflect your recent history, please wait a few minutes.*
28
+
29
+ ## Deezer
30
+
31
+ `ayadn nowplaying --deezer`
32
+
33
+ `ayadn -NP -d`
34
+
35
+ Ayadn will grab information from your Deezer account (you will be prompted to authorize Ayadn for Deezer the first time you launch this command), format it, insert the *#nowplaying* hashtag then ask for your confirmation before posting it.
36
+
37
+ It will also grab a link to the album and the album artwork from the iTunes Store (you can prevent this behavior by adding the `--no_url` option (short: `-n`).
38
+
39
+ *Note: Deezer will update the recent history list only after a song has been played to its end.*
40
+
27
41
  ## Options
28
42
 
29
43
  Specify a custom hashtag:
@@ -34,4 +48,4 @@ Specify a custom text:
34
48
 
35
49
  `ayadn -NP -t "I loved this song so much when I was young."`
36
50
 
37
- Works with iTunes and Last.fm.
51
+ Works with all sources.
data/lib/ayadn/action.rb CHANGED
@@ -838,7 +838,13 @@ module Ayadn
838
838
  def nowplaying(options = {})
839
839
  Settings.options[:timeline][:compact] = true if options[:compact] == true
840
840
  np = NowPlaying.new(@api, @view, @workers, options)
841
- options[:lastfm] ? np.lastfm(options) : np.itunes(options)
841
+ if options[:lastfm]
842
+ np.lastfm(options)
843
+ elsif options[:deezer]
844
+ np.deezer(options)
845
+ else
846
+ np.itunes(options)
847
+ end
842
848
  end
843
849
 
844
850
  def nowwatching(args, options = {})
data/lib/ayadn/app.rb CHANGED
@@ -3,7 +3,12 @@ module Ayadn
3
3
  class App < Thor
4
4
  package_name "Ayadn"
5
5
 
6
- %w{action stream api search descriptions endpoints cnx view workers settings post status extend databases fileops logs pinboard set alias errors blacklist scroll authorize switch mark nicerank debug check nowplaying nowwatching tvshow annotations profile migration}.each { |r| require_relative "#{r}" }
6
+ begin
7
+ %w{action stream api search descriptions endpoints cnx view workers settings post status extend databases fileops logs pinboard set alias errors blacklist scroll authorize switch mark nicerank debug check nowplaying nowwatching tvshow annotations profile migration}.each { |r| require_relative "#{r}" }
8
+ rescue Interrupt
9
+ puts "\nExit: stopped by user while launching\n\n"
10
+ exit
11
+ end
7
12
 
8
13
  ##
9
14
  # These methods are intended to be called from the CLI.
@@ -182,7 +187,9 @@ module Ayadn
182
187
  option :name, aliases: "-n", type: :boolean, desc: "Sort the list by: name"
183
188
  option :posts_day, aliases: "-d", type: :boolean, desc: "Sort the list by: posts/day"
184
189
  option :posts, aliases: "-p", type: :boolean, desc: "Sort the list by: total posts"
190
+ option :date, aliases: "-t", type: :boolean, desc: "Sort the list by: date (only with 'lastposts' option)"
185
191
  option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already"
192
+ option :lastpost, aliases: "-l", type: :boolean, desc: "Displays the last post of each user"
186
193
  def followings(*username)
187
194
  Action.new.followings(username, options)
188
195
  end
@@ -538,12 +545,13 @@ module Ayadn
538
545
  long_desc Descriptions.blacklist
539
546
  subcommand "blacklist", Blacklist
540
547
 
541
- desc "nowplaying", "Post the current playing track from iTunes or Last.fm (-NP)"
548
+ desc "nowplaying", "Post the current playing track from iTunes, Deezer or Last.fm (-NP)"
542
549
  map "-np" => :nowplaying
543
550
  map "-NP" => :nowplaying
544
551
  long_desc Descriptions.nowplaying
545
552
  option :no_url, aliases: "-n", type: :boolean, desc: "Don't append preview or album art at the end of the post"
546
553
  option :lastfm, aliases: "-l", type: :boolean, desc: "Get current track from Last.fm instead of iTunes"
554
+ option :deezer, aliases: "-d", type: :boolean, desc: "Get current track from Deezer instead of iTunes"
547
555
  option :hashtag, aliases: "-h", type: :array, desc: "Specify a custom hashtag"
548
556
  option :text, aliases: "-t", type: :array, desc: "Add custom text"
549
557
  option :compact, aliases: "-k", type: :boolean, desc: "Force the view to be compact if not already (after posting)"
@@ -3,7 +3,13 @@ module Ayadn
3
3
 
4
4
  class NowPlaying
5
5
 
6
- require 'rss'
6
+ begin
7
+ require 'rss'
8
+ rescue LoadError => e
9
+ puts "\nAYADN: Error while loading an external resource\n\n"
10
+ puts "RUBY: #{e}\n\n"
11
+ exit
12
+ end
7
13
 
8
14
  def initialize api, view, workers, options = {}
9
15
  @api = api
@@ -21,6 +27,34 @@ module Ayadn
21
27
  @custom_text = "\n \n#{options[:text].join(' ')}"
22
28
  end
23
29
  @affiliate_suffix = "&at=1l3vtb8&ct=ayadn"
30
+ @deezer_auth_url = "https://connect.deezer.com/oauth/auth.php?app_id=150971&redirect_uri=http://aya.io/ayadn/deezer.html&response_type=token&perms=basic_access,listening_history,offline_access"
31
+ end
32
+
33
+ def deezer options
34
+ begin
35
+ @deezer_code = if Settings.options[:nowplaying][:deezer].nil?
36
+ create_deezer_user()
37
+ else
38
+ if Settings.options[:nowplaying][:deezer][:code].nil?
39
+ create_deezer_user()
40
+ else
41
+ Settings.options[:nowplaying][:deezer][:code]
42
+ end
43
+ end
44
+ @deezer_user_url = "http://api.deezer.com/user/me"
45
+ @deezer_token_suffix = "?access_token=#{@deezer_code}"
46
+ @status.fetching_from('Deezer')
47
+ req = "#{@deezer_user_url}/history#{@deezer_token_suffix}"
48
+ res = JSON.parse(CNX.download(req))
49
+ res["data"].sort_by! { |obj| obj["timestamp"] }
50
+ candidate = res["data"].last
51
+ maker = Struct.new(:artist, :album, :track)
52
+ itunes = maker.new(candidate["artist"]["name"], candidate["album"]["title"], candidate["title"])
53
+ post_itunes(options, itunes)
54
+ rescue => e
55
+ @status.wtf
56
+ Errors.global_error({error: e, caller: caller, data: [store, options]})
57
+ end
24
58
  end
25
59
 
26
60
  def lastfm options
@@ -59,17 +93,7 @@ module Ayadn
59
93
  exit
60
94
  end
61
95
  end
62
- @status.itunes_store
63
- store = []
64
- unless options['no_url']
65
- store = itunes_istore_request(itunes)
66
- if store['code'] == 404 && itunes.artist =~ /(and)/
67
- itunes.artist.gsub!('and', '&')
68
- store = itunes_istore_request(itunes)
69
- end
70
- end
71
- text_to_post = "#{@hashtag}\n \nTitle: ‘#{itunes.track}’\nArtist: #{itunes.artist}\nfrom ‘#{itunes.album}’#{@custom_text}"
72
- post_nowplaying(text_to_post, store, options)
96
+ post_itunes(options, itunes)
73
97
  rescue => e
74
98
  @status.wtf
75
99
  Errors.global_error({error: e, caller: caller, data: [itunes, store, options]})
@@ -78,6 +102,20 @@ module Ayadn
78
102
 
79
103
  private
80
104
 
105
+ def post_itunes options, itunes
106
+ @status.itunes_store
107
+ store = []
108
+ unless options['no_url']
109
+ store = itunes_istore_request(itunes)
110
+ if store['code'] == 404 && itunes.artist =~ /(and)/
111
+ itunes.artist.gsub!('and', '&')
112
+ store = itunes_istore_request(itunes)
113
+ end
114
+ end
115
+ text_to_post = "#{@hashtag}\n \nTitle: ‘#{itunes.track}’\nArtist: #{itunes.artist}\nfrom ‘#{itunes.album}’#{@custom_text}"
116
+ post_nowplaying(text_to_post, store, options)
117
+ end
118
+
81
119
  def get_lastfm_track_infos user
82
120
  begin
83
121
  url = "http://ws.audioscrobbler.com/2.0/user/#{user}/recenttracks.rss"
@@ -161,12 +199,31 @@ module Ayadn
161
199
  end
162
200
  end
163
201
 
202
+ def ask_deezer_user
203
+ @status.info("please", "open this link to authorize Deezer", "yellow")
204
+ @status.say { @workers.thor.say_status :link, @deezer_auth_url, :green }
205
+ @status.info("next", "paste the authorization code here", "cyan")
206
+ print "> "
207
+ begin
208
+ STDIN.gets.chomp!
209
+ rescue Interrupt
210
+ @status.canceled
211
+ exit
212
+ end
213
+ end
214
+
164
215
  def create_lastfm_user
165
216
  Settings.options[:nowplaying][:lastfm] = ask_lastfm_user()
166
217
  Settings.save_config
167
218
  return Settings.options[:nowplaying][:lastfm]
168
219
  end
169
220
 
221
+ def create_deezer_user
222
+ Settings.options[:nowplaying][:deezer] = {code: ask_deezer_user()}
223
+ Settings.save_config
224
+ return Settings.options[:nowplaying][:deezer][:code]
225
+ end
226
+
170
227
  def itunes_istore_request itunes
171
228
  itunes_url = "https://itunes.apple.com/search?term=#{itunes.artist}&term=#{itunes.track}&term=#{itunes.album}&media=music&entity=musicTrack"
172
229
  get_itunes_store(itunes_url, itunes.artist, itunes.track)
@@ -6,7 +6,7 @@ module Ayadn
6
6
  begin
7
7
  require 'spotlite'
8
8
  rescue LoadError => e
9
- puts "\nAYADN: Error while loading Gems\n\n"
9
+ puts "\nAYADN: Error while loading an external resource\n\n"
10
10
  puts "RUBY: #{e}\n\n"
11
11
  exit
12
12
  end
data/lib/ayadn/stream.rb CHANGED
@@ -130,6 +130,21 @@ module Ayadn
130
130
  list = @api.get_followings(username)
131
131
  @check.auto_save_followings(list)
132
132
  Errors.no_data('followings') if list.empty?
133
+ if options["lastpost"]
134
+ count = list.size
135
+ @workers.thor.say_status :downloading, "please wait, it may take a while...", :red
136
+ puts "\n"
137
+ idx = 0
138
+ list.each do |str_id,obj|
139
+ idx += 1
140
+ tmp_username = "@#{obj[0]}"
141
+ colored_username = tmp_username.color(Settings.options[:colors][:username])
142
+ iter = "#{idx}/#{count}"
143
+ @workers.thor.say_status iter.to_sym, "last post from #{colored_username}", :cyan
144
+ resp = @api.get_posts(tmp_username, {count: 1})
145
+ obj << resp["data"][0]
146
+ end
147
+ end
133
148
  @view.list(:followings, list, username, options)
134
149
  Databases.add_to_users_db_from_list(list)
135
150
  end
data/lib/ayadn/tvshow.rb CHANGED
@@ -6,7 +6,7 @@ module Ayadn
6
6
  begin
7
7
  require 'tvdb_party'
8
8
  rescue LoadError => e
9
- puts "\nAYADN: Error while loading Gems\n\n"
9
+ puts "\nAYADN: Error while loading an external resource\n\n"
10
10
  puts "RUBY: #{e}\n\n"
11
11
  exit
12
12
  end
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "2.0.4"
3
+ VERSION = "2.0.5"
4
4
  end
data/lib/ayadn/view.rb CHANGED
@@ -61,8 +61,62 @@ module Ayadn
61
61
  end
62
62
 
63
63
  def show_list_followings(list, target, options = {})
64
- puts @workers.build_followings_list(list, target, options)
65
- puts "\n"
64
+ if options["lastpost"]
65
+ clear_screen()
66
+ bucket = []
67
+ list.each do |k,v|
68
+ bucket << [k, v[0], v[1], v[2], v[3], v[4], v[5]]
69
+ end
70
+ count = bucket.size
71
+ if options[:username]
72
+ bucket.sort_by! { |obj| obj[1] }
73
+ elsif options[:name]
74
+ bucket.sort_by! { |obj| obj[2].downcase }
75
+ elsif options[:posts]
76
+ bucket.sort_by! { |obj| [obj[5], obj[1]] }.reverse!
77
+ elsif options[:date]
78
+ bucket.keep_if { |obj| !obj[6].nil? }
79
+ bucket.sort_by! { |obj| obj[6]["created_at"] }.reverse!
80
+ end
81
+ title = if target == "me"
82
+ "Last post of users you're following".color(:cyan)
83
+ else
84
+ "Last post of users ".color(:cyan) + "#{target}".color(:red) + " is following ".color(:cyan)
85
+ end
86
+ puts "\t#{title}\n\n"
87
+ bucket.each.with_index(1) do |obj,index|
88
+ username = "@#{obj[1]}"
89
+ colored_username = username.color(Settings.options[:colors][:username])
90
+ if obj[6].nil?
91
+ @workers.thor.say_status :warning, "user #{colored_username} has no posts, ignored", :red
92
+ newline()
93
+ next
94
+ end
95
+ date = @workers.parsed_time(obj[6]["created_at"])
96
+ mentions = @workers.extract_mentions(obj[6])
97
+ hashtags = @workers.extract_hashtags(obj[6])
98
+ text = @workers.colorize_text(obj[6]["text"], mentions, hashtags)
99
+ total = "(#{obj[5]} posts)"
100
+ name = obj[2].nil? ? "(no name)" : obj[2]
101
+ colored_total = total.color(Settings.options[:colors][:link])
102
+ colored_name = name.color(Settings.options[:colors][:name])
103
+ colored_date = date.color(Settings.options[:colors][:date])
104
+ puts "#{colored_username} #{colored_name} #{colored_date} #{colored_total}\n"
105
+ newline()
106
+ puts text
107
+ unless index == count
108
+ newline()
109
+ puts "----------\n"
110
+ newline()
111
+ else
112
+ puts "\n"
113
+ newline()
114
+ end
115
+ end
116
+ else
117
+ puts @workers.build_followings_list(list, target, options)
118
+ puts "\n"
119
+ end
66
120
  end
67
121
 
68
122
  def show_list_followers(list, target, options = {})
@@ -429,6 +483,10 @@ module Ayadn
429
483
 
430
484
  private
431
485
 
486
+ def newline
487
+ puts "\n" unless Settings.options[:timeline][:compact] == true
488
+ end
489
+
432
490
  def get_broadcast_alias_from_id(event_id)
433
491
  al = Databases.get_alias_from_id(event_id)
434
492
  if al.nil? || al.empty?
data/lib/ayadn/workers.rb CHANGED
@@ -2,6 +2,8 @@
2
2
  module Ayadn
3
3
  class Workers
4
4
 
5
+ attr_reader :thor
6
+
5
7
  def initialize
6
8
  @thor = Thor::Shell::Color.new
7
9
  @status = Status.new
@@ -346,6 +348,10 @@ module Ayadn
346
348
  post['entities']['hashtags'].map { |h| h['name'] }
347
349
  end
348
350
 
351
+ def extract_mentions(post)
352
+ post['entities']['mentions'].map { |m| m['name'] }
353
+ end
354
+
349
355
  def build_channels(data, options = {})
350
356
  bucket = []
351
357
  data = [data] unless data.is_a?(Array)
data/lib/ayadn.rb CHANGED
@@ -1,14 +1,17 @@
1
1
  # encoding: utf-8
2
- require_relative 'ayadn/version'
3
2
 
4
3
  begin
4
+ require_relative 'ayadn/version'
5
5
  %w{rest_client json thor rainbow/ext/string terminal-table yaml logger fileutils io/console unicode_utils/char_type readline amalgalite fast_cache}.each { |r| require "#{r}" }
6
+ Rainbow.enabled = true
7
+ require_relative 'ayadn/app'
6
8
  rescue LoadError => e
7
9
  puts "\nAYADN: Error while loading Gems\n\n"
8
10
  puts "RUBY: #{e}\n\n"
9
11
  exit
12
+ rescue Interrupt
13
+ puts "\nExit: stopped by user while launching\n\n"
14
+ exit
10
15
  end
11
16
 
12
- Rainbow.enabled = true
13
17
 
14
- require_relative 'ayadn/app'
Binary file
data/tags CHANGED
@@ -72,6 +72,7 @@ Ayadn lib/ayadn/tvshow.rb /^module Ayadn$/;" m
72
72
  Ayadn lib/ayadn/version.rb /^module Ayadn$/;" m
73
73
  Ayadn lib/ayadn/view.rb /^module Ayadn$/;" m
74
74
  Ayadn lib/ayadn/workers.rb /^module Ayadn$/;" m
75
+ Ayadn spec/integration/action_spec.rb /^module Ayadn$/;" m
75
76
  Blacklist lib/ayadn/blacklist.rb /^ class Blacklist < Thor$/;" c class:Ayadn
76
77
  BlacklistWorkers lib/ayadn/blacklist.rb /^ class BlacklistWorkers$/;" c class:Ayadn
77
78
  CNX lib/ayadn/cnx.rb /^ class CNX$/;" c class:Ayadn
@@ -103,6 +104,7 @@ Debug lib/ayadn/debug.rb /^ class Debug$/;" c class:Ayadn
103
104
  Descriptions lib/ayadn/descriptions.rb /^ class Descriptions$/;" c class:Ayadn
104
105
  Endpoints lib/ayadn/endpoints.rb /^ class Endpoints$/;" c class:Ayadn
105
106
  Errors lib/ayadn/errors.rb /^ class Errors$/;" c class:Ayadn
107
+ Errors spec/integration/action_spec.rb /^ class Errors$/;" c class:Ayadn
106
108
  FLOW_CONTROL_KEYWORDS tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js /^ var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];$/;" v
107
109
  FileOps lib/ayadn/fileops.rb /^ class FileOps$/;" c class:Ayadn
108
110
  IN_GLOBAL_SCOPE tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js /^var IN_GLOBAL_SCOPE = true;$/;" v
@@ -250,10 +252,10 @@ all_aliases lib/ayadn/databases.rb /^ def self.all_aliases$/;" F
250
252
  all_blacklist lib/ayadn/databases.rb /^ def self.all_blacklist$/;" F class:Ayadn
251
253
  all_bookmarks lib/ayadn/databases.rb /^ def self.all_bookmarks$/;" F
252
254
  all_but_me lib/ayadn/workers.rb /^ def all_but_me usernames$/;" f
253
- all_hashtag_links lib/ayadn/view.rb /^ def all_hashtag_links(stream, hashtag)$/;" f class:Ayadn.View
255
+ all_hashtag_links lib/ayadn/view.rb /^ def all_hashtag_links(stream, hashtag)$/;" f class:Ayadn
254
256
  all_pagination lib/ayadn/databases.rb /^ def self.all_pagination$/;" F
255
- all_search_links lib/ayadn/view.rb /^ def all_search_links(stream, words)$/;" f class:Ayadn.View
256
- all_stars_links lib/ayadn/view.rb /^ def all_stars_links(stream)$/;" f class:Ayadn.View
257
+ all_search_links lib/ayadn/view.rb /^ def all_search_links(stream, words)$/;" f class:Ayadn
258
+ all_stars_links lib/ayadn/view.rb /^ def all_stars_links(stream)$/;" f class:Ayadn
257
259
  all_users lib/ayadn/databases.rb /^ def self.all_users$/;" F
258
260
  all_users_ids lib/ayadn/databases.rb /^ def self.all_users_ids$/;" F
259
261
  already_reposted lib/ayadn/check.rb /^ def already_reposted(resp)$/;" f class:Ayadn.Check
@@ -265,13 +267,14 @@ appendDecorations.job.basePos tmp/rubycritic/assets/javascripts/prettify-4-Mar-2
265
267
  appendDecorations.job.sourceCode tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js /^ sourceCode: sourceCode,$/;" p
266
268
  arrayMax tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function arrayMax(data) {$/;" f
267
269
  arrayMin tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function arrayMin(data) {$/;" f
268
- arrow_count lib/ayadn/view.rb /^ def arrow_count options, content$/;" f class:Ayadn.View
269
- arrow_id lib/ayadn/view.rb /^ def arrow_id options, content$/;" f class:Ayadn.View
270
+ arrow_count lib/ayadn/view.rb /^ def arrow_count options, content$/;" f class:Ayadn
271
+ arrow_id lib/ayadn/view.rb /^ def arrow_id options, content$/;" f class:Ayadn
270
272
  ask_clear_blacklist lib/ayadn/status.rb /^ def ask_clear_blacklist$/;" f class:Ayadn.Status
271
273
  ask_clear_bookmarks lib/ayadn/status.rb /^ def ask_clear_bookmarks$/;" f class:Ayadn.Status
272
274
  ask_clear_databases lib/ayadn/status.rb /^ def ask_clear_databases$/;" f class:Ayadn.Status
273
275
  ask_credentials lib/ayadn/pinboard.rb /^ def ask_credentials$/;" f class:Ayadn.PinBoard
274
- ask_lastfm_user lib/ayadn/nowplaying.rb /^ def ask_lastfm_user$/;" f class:Ayadn.NowPlaying
276
+ ask_deezer_user lib/ayadn/nowplaying.rb /^ def ask_deezer_user$/;" f class:Ayadn
277
+ ask_lastfm_user lib/ayadn/nowplaying.rb /^ def ask_lastfm_user$/;" f class:Ayadn
275
278
  at lib/ayadn/workers.rb /^ def at usernames$/;" f
276
279
  attr tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function attr(elem, prop, value) {$/;" f
277
280
  augmentWidthOrHeight tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {$/;" f
@@ -298,7 +301,7 @@ bad_post_ids lib/ayadn/check.rb /^ def bad_post_ids(post_ids)$/;" f class:Aya
298
301
  bad_text_size lib/ayadn/post.rb /^ def bad_text_size(post, size, max_size)$/;" f class:Ayadn.Post
299
302
  banner lib/ayadn/migration.rb /^ def banner$/;" f
300
303
  base lib/ayadn/annotations.rb /^ def base$/;" f class:Ayadn.Annotations
301
- big_separator lib/ayadn/view.rb /^ def big_separator$/;" f class:Ayadn.View
304
+ big_separator lib/ayadn/view.rb /^ def big_separator$/;" f class:Ayadn
302
305
  blacklist lib/ayadn/descriptions.rb /^ def self.blacklist$/;" F class:Ayadn.Descriptions.post
303
306
  blacklist lib/ayadn/migration.rb /^ def blacklist$/;" f
304
307
  blacklist lib/ayadn/set.rb /^ def blacklist(*args)$/;" f class:Ayadn.Set
@@ -326,21 +329,21 @@ build_aliases_list lib/ayadn/workers.rb /^ def build_aliases_list(list)$/;" f
326
329
  build_blacklist_list lib/ayadn/workers.rb /^ def build_blacklist_list(list)$/;" f class:Ayadn.Workers
327
330
  build_blocked_list lib/ayadn/workers.rb /^ def build_blocked_list(list, options = {})$/;" f
328
331
  build_channels lib/ayadn/workers.rb /^ def build_channels(data, options = {})$/;" f
329
- build_checkins lib/ayadn/view.rb /^ def build_checkins(content)$/;" f class:Ayadn.View
330
- build_content lib/ayadn/view.rb /^ def build_content(content)$/;" f class:Ayadn.View
331
- build_files_list lib/ayadn/view.rb /^ def build_files_list(list)$/;" f class:Ayadn.View
332
+ build_checkins lib/ayadn/view.rb /^ def build_checkins(content)$/;" f class:Ayadn
333
+ build_content lib/ayadn/view.rb /^ def build_content(content)$/;" f class:Ayadn
334
+ build_files_list lib/ayadn/view.rb /^ def build_files_list(list)$/;" f class:Ayadn
332
335
  build_followers_list lib/ayadn/workers.rb /^ def build_followers_list(list, target, options = {})$/;" f class:Ayadn
333
336
  build_followings_list lib/ayadn/workers.rb /^ def build_followings_list(list, target, options = {}) #takes a hash of users with ayadn format$/;" f class:Ayadn.Workers
334
- build_header lib/ayadn/view.rb /^ def build_header(content)$/;" f class:Ayadn.View
335
- build_interactions_stream lib/ayadn/view.rb /^ def build_interactions_stream(data)$/;" f class:Ayadn.View
337
+ build_header lib/ayadn/view.rb /^ def build_header(content)$/;" f class:Ayadn
338
+ build_interactions_stream lib/ayadn/view.rb /^ def build_interactions_stream(data)$/;" f class:Ayadn
336
339
  build_list lib/ayadn/api.rb /^ def build_list(username, target)$/;" f class:Ayadn.API
337
340
  build_muted_list lib/ayadn/workers.rb /^ def build_muted_list(list, options = {})$/;" f
338
341
  build_posts lib/ayadn/workers.rb /^ def build_posts(data, niceranks = {})$/;" f
339
342
  build_query lib/ayadn/api.rb /^ def self.build_query(arg)$/;" F class:Ayadn.API
340
343
  build_reposted_list lib/ayadn/workers.rb /^ def build_reposted_list(list, target)$/;" f class:Ayadn.Workers
341
344
  build_starred_list lib/ayadn/workers.rb /^ def build_starred_list(list, target)$/;" f class:Ayadn.Workers
342
- build_stream_with_index lib/ayadn/view.rb /^ def build_stream_with_index(data, options, niceranks) #expects an array$/;" f class:Ayadn.View
343
- build_stream_without_index lib/ayadn/view.rb /^ def build_stream_without_index(data, options, niceranks) #expects an array$/;" f class:Ayadn.View
345
+ build_stream_with_index lib/ayadn/view.rb /^ def build_stream_with_index(data, options, niceranks) #expects an array$/;" f class:Ayadn
346
+ build_stream_without_index lib/ayadn/view.rb /^ def build_stream_without_index(data, options, niceranks) #expects an array$/;" f class:Ayadn
344
347
  build_users_array lib/ayadn/workers.rb /^ def build_users_array(list)$/;" f
345
348
  build_users_list lib/ayadn/workers.rb /^ def build_users_list(list, table, options = {})$/;" f
346
349
  cancel lib/ayadn/tvshow.rb /^ def cancel$/;" f class:Ayadn
@@ -374,7 +377,7 @@ clear_blacklist lib/ayadn/databases.rb /^ def self.clear_blacklist$/;" F
374
377
  clear_bookmarks lib/ayadn/databases.rb /^ def self.clear_bookmarks$/;" F
375
378
  clear_index lib/ayadn/databases.rb /^ def self.clear_index$/;" F
376
379
  clear_pagination lib/ayadn/databases.rb /^ def self.clear_pagination$/;" F
377
- clear_screen lib/ayadn/view.rb /^ def clear_screen$/;" f class:Ayadn.View
380
+ clear_screen lib/ayadn/view.rb /^ def clear_screen$/;" f class:Ayadn
378
381
  clear_users lib/ayadn/databases.rb /^ def self.clear_users$/;" F
379
382
  cloneCopyEvent tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function cloneCopyEvent( src, dest ) {$/;" f
380
383
  color lib/ayadn/set.rb /^ def color(*args)$/;" f class:Ayadn.Set
@@ -420,9 +423,10 @@ create_account_table lib/ayadn/databases.rb /^ def self.create_account_table(
420
423
  create_alias lib/ayadn/databases.rb /^ def self.create_alias(channel_id, channel_alias)$/;" F
421
424
  create_api_file lib/ayadn/settings.rb /^ def self.create_api_file$/;" F class:Ayadn
422
425
  create_config_folders lib/ayadn/authorize.rb /^ def create_config_folders(user)$/;" f class:Ayadn.Authorize
426
+ create_deezer_user lib/ayadn/nowplaying.rb /^ def create_deezer_user$/;" f class:Ayadn
423
427
  create_details lib/ayadn/tvshow.rb /^ def create_details show_obj$/;" f class:Ayadn.TvShow
424
428
  create_filename lib/ayadn/nowwatching.rb /^ def create_filename response$/;" f class:Ayadn.NowWatching
425
- create_lastfm_user lib/ayadn/nowplaying.rb /^ def create_lastfm_user$/;" f class:Ayadn.NowPlaying
429
+ create_lastfm_user lib/ayadn/nowplaying.rb /^ def create_lastfm_user$/;" f class:Ayadn
426
430
  create_logger lib/ayadn/logs.rb /^ def self.create_logger$/;" F class:Ayadn
427
431
  create_tables lib/ayadn/databases.rb /^ def self.create_tables(user)$/;" F class:Ayadn.Databases
428
432
  create_text lib/ayadn/tvshow.rb /^ def create_text$/;" f class:Ayadn.TvShow
@@ -439,6 +443,7 @@ dateFormat tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^dateForma
439
443
  debug tmp/rubycritic/assets/javascripts/jquery.floatThead-v1.2.7.js /^ function debug(str){$/;" f
440
444
  decode lib/ayadn/pinboard.rb /^ def decode(encoded_pinboard_credentials)$/;" f class:Ayadn.PinBoard
441
445
  decorate tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js /^ var decorate = function (job) {$/;" f
446
+ deezer lib/ayadn/nowplaying.rb /^ def deezer options$/;" f class:Ayadn.NowPlaying
442
447
  def_str lib/ayadn/workers.rb /^ def def_str(word, reg_split)$/;" f
443
448
  defaultDisplay tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function defaultDisplay( nodeName ) {$/;" f
444
449
  defaultLabelOptions.enabled tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^ enabled: true,$/;" p
@@ -485,7 +490,7 @@ download lib/ayadn/descriptions.rb /^ def self.download$/;" F class:Ayadn.Des
485
490
  download_url lib/ayadn/fileops.rb /^ def self.download_url(name, url)$/;" F class:Ayadn.FileOps
486
491
  downloaded lib/ayadn/status.rb /^ def downloaded(name)$/;" f class:Ayadn.Status
487
492
  downloading lib/ayadn/status.rb /^ def downloading$/;" f class:Ayadn.Status
488
- downloading lib/ayadn/view.rb /^ def downloading(options = {})$/;" f class:Ayadn.View
493
+ downloading lib/ayadn/view.rb /^ def downloading(options = {})$/;" f class:Ayadn
489
494
  element.onclick tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^ element.onclick = function (e) { $/;" f
490
495
  element.ontouchstart tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^ element.ontouchstart = function (e) { $/;" f
491
496
  emphasizeLine tmp/rubycritic/assets/javascripts/application.js /^function emphasizeLine(lineReference) {$/;" f
@@ -517,6 +522,7 @@ extractSourceSpans.walk tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js
517
522
  extract_checkins lib/ayadn/workers.rb /^ def extract_checkins(post)$/;" f
518
523
  extract_hashtags lib/ayadn/workers.rb /^ def extract_hashtags(post)$/;" f
519
524
  extract_links lib/ayadn/workers.rb /^ def extract_links(post)$/;" f
525
+ extract_mentions lib/ayadn/workers.rb /^ def extract_mentions(post)$/;" f
520
526
  extract_users lib/ayadn/workers.rb /^ def extract_users(resp)$/;" f
521
527
  fetching_from lib/ayadn/status.rb /^ def fetching_from(source)$/;" f class:Ayadn.Status
522
528
  file lib/ayadn/endpoints.rb /^ def file(file_id)$/;" f class:Ayadn.Endpoints
@@ -527,7 +533,7 @@ files lib/ayadn/descriptions.rb /^ def self.files$/;" F class:Ayadn.Descripti
527
533
  files lib/ayadn/endpoints.rb /^ def files$/;" f class:Ayadn.Endpoints
528
534
  files_list lib/ayadn/endpoints.rb /^ def files_list(options)$/;" f
529
535
  filter lib/ayadn/set.rb /^ def filter value$/;" f class:Ayadn.SetNiceRank
530
- filter_nicerank lib/ayadn/view.rb /^ def filter_nicerank posts, options$/;" f class:Ayadn.View
536
+ filter_nicerank lib/ayadn/view.rb /^ def filter_nicerank posts, options$/;" f class:Ayadn
531
537
  find lib/ayadn/search.rb /^ def find(words, options)$/;" f class:Ayadn.Search
532
538
  find lib/ayadn/tvshow.rb /^ def find title$/;" f class:Ayadn.TvShow
533
539
  find_all lib/ayadn/tvshow.rb /^ def find_all title$/;" f class:Ayadn
@@ -573,7 +579,7 @@ functions.updateFromDOM tmp/rubycritic/assets/javascripts/jquery.timeago-v1.4.1.
573
579
  genFx tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function genFx( type, includeWidth ) {$/;" f
574
580
  get lib/ayadn/cnx.rb /^ def self.get url$/;" F class:Ayadn.CNX
575
581
  get lib/ayadn/scroll.rb /^ def get(target, options)$/;" f class:Ayadn.Scroll
576
- get lib/ayadn/view.rb /^ def get(stream, options = {}, niceranks = {})$/;" f class:Ayadn.View
582
+ get lib/ayadn/view.rb /^ def get(stream, options = {}, niceranks = {})$/;" f class:Ayadn
577
583
  getAll tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function getAll( context, tag ) {$/;" f
578
584
  getMagnitude tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function getMagnitude(num) {$/;" f
579
585
  getOptions tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function getOptions() {$/;" f
@@ -582,7 +588,7 @@ getWidthOrHeight tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function ge
582
588
  getWindow tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function getWindow( elem ) {$/;" f
583
589
  get_alias_from_id lib/ayadn/databases.rb /^ def self.get_alias_from_id(channel_id)$/;" F
584
590
  get_blocked lib/ayadn/api.rb /^ def get_blocked$/;" f class:Ayadn.API
585
- get_broadcast_alias_from_id lib/ayadn/view.rb /^ def get_broadcast_alias_from_id(event_id)$/;" f class:Ayadn.View
591
+ get_broadcast_alias_from_id lib/ayadn/view.rb /^ def get_broadcast_alias_from_id(event_id)$/;" f class:Ayadn
586
592
  get_channel lib/ayadn/api.rb /^ def get_channel channel_id, options = {}$/;" f class:Ayadn.API
587
593
  get_channel_id lib/ayadn/databases.rb /^ def self.get_channel_id(channel_alias)$/;" F
588
594
  get_channel_id_from_alias lib/ayadn/workers.rb /^ def get_channel_id_from_alias(channel_id)$/;" f
@@ -603,9 +609,9 @@ get_global lib/ayadn/api.rb /^ def get_global(options)$/;" f class:Ayadn.API
603
609
  get_hashtag lib/ayadn/api.rb /^ def get_hashtag(hashtag)$/;" f class:Ayadn.API
604
610
  get_index_length lib/ayadn/databases.rb /^ def self.get_index_length$/;" F
605
611
  get_interactions lib/ayadn/api.rb /^ def get_interactions$/;" f class:Ayadn.API
606
- get_itunes_store lib/ayadn/nowplaying.rb /^ def get_itunes_store url, artist, track$/;" f class:Ayadn.NowPlaying
607
- get_itunes_track_infos lib/ayadn/nowplaying.rb /^ def get_itunes_track_infos$/;" f class:Ayadn.NowPlaying
608
- get_lastfm_track_infos lib/ayadn/nowplaying.rb /^ def get_lastfm_track_infos user$/;" f class:Ayadn.NowPlaying
612
+ get_itunes_store lib/ayadn/nowplaying.rb /^ def get_itunes_store url, artist, track$/;" f class:Ayadn
613
+ get_itunes_track_infos lib/ayadn/nowplaying.rb /^ def get_itunes_track_infos$/;" f
614
+ get_lastfm_track_infos lib/ayadn/nowplaying.rb /^ def get_lastfm_track_infos user$/;" f class:Ayadn
609
615
  get_list_url lib/ayadn/api.rb /^ def get_list_url(username, target, options)$/;" f class:Ayadn.API
610
616
  get_mentions lib/ayadn/api.rb /^ def get_mentions(username, options)$/;" f class:Ayadn.API
611
617
  get_messages lib/ayadn/api.rb /^ def get_messages(channel_id, options)$/;" f class:Ayadn.API
@@ -645,6 +651,7 @@ global lib/ayadn/descriptions.rb /^ def self.global$/;" F class:Ayadn.Descrip
645
651
  global lib/ayadn/endpoints.rb /^ def global(options)$/;" f
646
652
  global lib/ayadn/stream.rb /^ def global settings$/;" f class:Ayadn.Stream
647
653
  global_error lib/ayadn/errors.rb /^ def self.global_error(args)$/;" F class:Ayadn.Errors
654
+ global_error spec/integration/action_spec.rb /^ def self.global_error(args)$/;" F class:Ayadn.Errors
648
655
  has_been_blocked lib/ayadn/check.rb /^ def has_been_blocked(username, resp)$/;" f class:Ayadn.Check
649
656
  has_been_deleted lib/ayadn/check.rb /^ def has_been_deleted(post_id, resp)$/;" f class:Ayadn.Check
650
657
  has_been_followed lib/ayadn/check.rb /^ def has_been_followed(username, resp)$/;" f class:Ayadn.Check
@@ -683,7 +690,7 @@ index lib/ayadn/migration.rb /^ def index$/;" f
683
690
  index_range lib/ayadn/set.rb /^ def self.index_range(min, max, value)$/;" F class:Ayadn.Validators
684
691
  info lib/ayadn/errors.rb /^ def self.info(msg)$/;" F class:Ayadn.Errors
685
692
  info lib/ayadn/status.rb /^ def info(status, message, color = nil)$/;" f class:Ayadn.Status
686
- infos lib/ayadn/view.rb /^ def infos(stream, token)$/;" f class:Ayadn.View
693
+ infos lib/ayadn/view.rb /^ def infos(stream, token)$/;" f class:Ayadn
687
694
  init lib/ayadn/alias.rb /^ def init$/;" f class:Ayadn.Alias
688
695
  init lib/ayadn/mark.rb /^ def init$/;" f class:Ayadn.Mark
689
696
  init tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^init.prototype = jQuery.fn;$/;" c
@@ -744,8 +751,8 @@ isObject tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function is
744
751
  isString tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function isString(s) {$/;" f
745
752
  is_in_blacklist lib/ayadn/databases.rb /^ def self.is_in_blacklist?(type, target)$/;" F class:Ayadn
746
753
  is_integer? lib/ayadn/extend.rb /^ def is_integer?$/;" f class:String
747
- itunes lib/ayadn/nowplaying.rb /^ def itunes options$/;" f class:Ayadn.NowPlaying
748
- itunes_istore_request lib/ayadn/nowplaying.rb /^ def itunes_istore_request itunes$/;" f class:Ayadn.NowPlaying
754
+ itunes lib/ayadn/nowplaying.rb /^ def itunes options$/;" f class:Ayadn
755
+ itunes_istore_request lib/ayadn/nowplaying.rb /^ def itunes_istore_request itunes$/;" f class:Ayadn
749
756
  itunes_store lib/ayadn/status.rb /^ def itunes_store$/;" f class:Ayadn.Status
750
757
  itunes_store_track lib/ayadn/status.rb /^ def itunes_store_track(store)$/;" f class:Ayadn.Status
751
758
  jQuery.Callbacks tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^jQuery.Callbacks = function( options ) {$/;" f
@@ -791,8 +798,8 @@ jQuery.swap tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^jQuery.swap = fu
791
798
  keep_text_from_markdown_links lib/ayadn/post.rb /^ def keep_text_from_markdown_links(str)$/;" f class:Ayadn.Post
792
799
  key.x tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^ key = { x: 'cx', y: 'cy' }[key] || key;$/;" p
793
800
  key.y tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^ key = { x: 'cx', y: 'cy' }[key] || key;$/;" p
794
- lastfm lib/ayadn/nowplaying.rb /^ def lastfm options$/;" f class:Ayadn.NowPlaying
795
- lastfm_istore_request lib/ayadn/nowplaying.rb /^ def lastfm_istore_request artist, track$/;" f class:Ayadn.NowPlaying
801
+ lastfm lib/ayadn/nowplaying.rb /^ def lastfm options$/;" f class:Ayadn
802
+ lastfm_istore_request lib/ayadn/nowplaying.rb /^ def lastfm_istore_request artist, track$/;" f class:Ayadn
796
803
  length_of_index lib/ayadn/workers.rb /^ def length_of_index$/;" f
797
804
  letterSpacing tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^ letterSpacing: 0,$/;" p
798
805
  lin2log tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function lin2log(num) {$/;" f
@@ -804,7 +811,7 @@ list lib/ayadn/blacklist.rb /^ def list(options)$/;" f class:Ayadn.BlacklistW
804
811
  list lib/ayadn/mark.rb /^ def list$/;" f class:Ayadn.Mark
805
812
  list lib/ayadn/set.rb /^ def list(args)$/;" f class:Ayadn.SetFormats
806
813
  list lib/ayadn/switch.rb /^ def list$/;" f class:Ayadn.Switch
807
- list lib/ayadn/view.rb /^ def list(what, list, target, options = {})$/;" f class:Ayadn.View
814
+ list lib/ayadn/view.rb /^ def list(what, list, target, options = {})$/;" f class:Ayadn
808
815
  lists lib/ayadn/set.rb /^ def lists(args)$/;" f class:Ayadn.SetFormats
809
816
  load_config lib/ayadn/settings.rb /^ def self.load_config$/;" F class:Ayadn
810
817
  load_credentials lib/ayadn/pinboard.rb /^ def load_credentials$/;" f class:Ayadn.PinBoard
@@ -873,6 +880,7 @@ muted lib/ayadn/stream.rb /^ def muted(options)$/;" f class:Ayadn.Stream
873
880
  muting lib/ayadn/status.rb /^ def muting(username)$/;" f class:Ayadn.Status
874
881
  nPatterns tmp/rubycritic/assets/javascripts/prettify-4-Mar-2013.js /^ var nPatterns = fallthroughStylePatterns.length;$/;" v
875
882
  new_api_file lib/ayadn/settings.rb /^ def self.new_api_file(api_file)$/;" F class:Ayadn
883
+ newline lib/ayadn/view.rb /^ def newline$/;" f class:Ayadn
876
884
  nicerank lib/ayadn/set.rb /^ def nicerank *args$/;" f class:Ayadn.Set
877
885
  nicerank_true lib/ayadn/stream.rb /^ def nicerank_true$/;" f class:Ayadn.Stream
878
886
  niceranks lib/ayadn/migration.rb /^ def niceranks$/;" f
@@ -941,7 +949,7 @@ options_new lib/ayadn/descriptions.rb /^ def self.options_new$/;" F class:Aya
941
949
  options_raw lib/ayadn/descriptions.rb /^ def self.options_raw$/;" F class:Ayadn.Descriptions
942
950
  pInt tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function pInt(s, mag) {$/;" f
943
951
  pad tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function pad(number, length) {$/;" f
944
- page lib/ayadn/view.rb /^ def page msg$/;" f class:Ayadn.View
952
+ page lib/ayadn/view.rb /^ def page msg$/;" f class:Ayadn
945
953
  paginate lib/ayadn/api.rb /^ def paginate options, target$/;" f class:Ayadn.API
946
954
  pagination lib/ayadn/migration.rb /^ def pagination$/;" f
947
955
  pagination_delete lib/ayadn/databases.rb /^ def self.pagination_delete(name)$/;" F
@@ -981,7 +989,8 @@ post lib/ayadn/status.rb /^ def post$/;" f class:Ayadn.Status
981
989
  post lib/ayadn/tvshow.rb /^ def post options = {}$/;" f class:Ayadn
982
990
  post_404 lib/ayadn/status.rb /^ def post_404(post_id)$/;" f class:Ayadn.Status
983
991
  post_info lib/ayadn/status.rb /^ def post_info$/;" f class:Ayadn.Status
984
- post_nowplaying lib/ayadn/nowplaying.rb /^ def post_nowplaying text_to_post, store, options$/;" f class:Ayadn.NowPlaying
992
+ post_itunes lib/ayadn/nowplaying.rb /^ def post_itunes options, itunes$/;" f class:Ayadn
993
+ post_nowplaying lib/ayadn/nowplaying.rb /^ def post_nowplaying text_to_post, store, options$/;" f class:Ayadn
985
994
  post_size_error lib/ayadn/post.rb /^ def post_size_error(post)$/;" f class:Ayadn.Post
986
995
  post_size_ok? lib/ayadn/post.rb /^ def post_size_ok?(post) # works on a string, returns boolean$/;" f class:Ayadn.Post
987
996
  postinfo lib/ayadn/action.rb /^ def postinfo(post_id, options)$/;" f class:Ayadn.Action
@@ -1023,7 +1032,7 @@ remove_from_accounts lib/ayadn/databases.rb /^ def self.remove_from_accounts(
1023
1032
  remove_from_blacklist lib/ayadn/databases.rb /^ def self.remove_from_blacklist(target)$/;" F class:Ayadn
1024
1033
  rename lib/ayadn/mark.rb /^ def rename(*args)$/;" f class:Ayadn.Mark
1025
1034
  rename_bookmark lib/ayadn/databases.rb /^ def self.rename_bookmark post_id, new_title$/;" F
1026
- render lib/ayadn/view.rb /^ def render(stream, options = {}, niceranks = {})$/;" f class:Ayadn.View
1035
+ render lib/ayadn/view.rb /^ def render(stream, options = {}, niceranks = {})$/;" f class:Ayadn
1027
1036
  reply lib/ayadn/action.rb /^ def reply(post_id, options = {})$/;" f class:Ayadn
1028
1037
  reply lib/ayadn/app.rb /^ def reply(id)$/;" f class:Ayadn.App
1029
1038
  reply lib/ayadn/descriptions.rb /^ def self.reply$/;" F class:Ayadn.Descriptions.post
@@ -1109,30 +1118,30 @@ settings lib/ayadn/app.rb /^ def settings$/;" f class:Ayadn.App
1109
1118
  settings lib/ayadn/descriptions.rb /^ def self.settings$/;" F class:Ayadn.Descriptions
1110
1119
  show lib/ayadn/scroll.rb /^ def show(stream, options, niceranks)$/;" f class:Ayadn.Scroll
1111
1120
  showHide tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function showHide( elements, show ) {$/;" f
1112
- show_channels lib/ayadn/view.rb /^ def show_channels(resp, options = {})$/;" f class:Ayadn.View
1121
+ show_channels lib/ayadn/view.rb /^ def show_channels(resp, options = {})$/;" f class:Ayadn
1113
1122
  show_cursor lib/ayadn/view.rb /^ def show_cursor$/;" f class:Ayadn.View
1114
- show_files_list lib/ayadn/view.rb /^ def show_files_list(list)$/;" f class:Ayadn.View
1123
+ show_files_list lib/ayadn/view.rb /^ def show_files_list(list)$/;" f class:Ayadn
1115
1124
  show_if_new lib/ayadn/scroll.rb /^ def show_if_new(stream, options, target, niceranks = {})$/;" f class:Ayadn.Scroll
1116
- show_interactions lib/ayadn/view.rb /^ def show_interactions(stream)$/;" f class:Ayadn.View
1125
+ show_interactions lib/ayadn/view.rb /^ def show_interactions(stream)$/;" f class:Ayadn
1117
1126
  show_link lib/ayadn/authorize.rb /^ def show_link$/;" f class:Ayadn.Authorize
1118
- show_links lib/ayadn/view.rb /^ def show_links(links)$/;" f class:Ayadn.View
1127
+ show_links lib/ayadn/view.rb /^ def show_links(links)$/;" f class:Ayadn
1119
1128
  show_list lib/ayadn/blacklist.rb /^ def show_list(options)$/;" f class:Ayadn.BlacklistWorkers
1120
- show_list_blocked lib/ayadn/view.rb /^ def show_list_blocked(list, options = {})$/;" f class:Ayadn.View
1121
- show_list_followers lib/ayadn/view.rb /^ def show_list_followers(list, target, options = {})$/;" f class:Ayadn.View
1129
+ show_list_blocked lib/ayadn/view.rb /^ def show_list_blocked(list, options = {})$/;" f class:Ayadn
1130
+ show_list_followers lib/ayadn/view.rb /^ def show_list_followers(list, target, options = {})$/;" f class:Ayadn
1122
1131
  show_list_followings lib/ayadn/view.rb /^ def show_list_followings(list, target, options = {})$/;" f class:Ayadn.View
1123
- show_list_muted lib/ayadn/view.rb /^ def show_list_muted(list, options = {})$/;" f class:Ayadn.View
1132
+ show_list_muted lib/ayadn/view.rb /^ def show_list_muted(list, options = {})$/;" f class:Ayadn
1124
1133
  show_list_reposted lib/ayadn/view.rb /^ def show_list_reposted(list, target)$/;" f class:Ayadn.View
1125
1134
  show_list_starred lib/ayadn/view.rb /^ def show_list_starred(list, target)$/;" f class:Ayadn.View
1126
- show_nowplaying lib/ayadn/nowplaying.rb /^ def show_nowplaying(text, options, store)$/;" f class:Ayadn.NowPlaying
1135
+ show_nowplaying lib/ayadn/nowplaying.rb /^ def show_nowplaying(text, options, store)$/;" f
1127
1136
  show_post lib/ayadn/nowwatching.rb /^ def show_post text$/;" f class:Ayadn.NowWatching
1128
1137
  show_posted lib/ayadn/view.rb /^ def show_posted(resp)$/;" f class:Ayadn.View
1129
1138
  show_posts lib/ayadn/view.rb /^ def show_posts(data, options = {}, niceranks = {})$/;" f class:Ayadn.View
1130
1139
  show_posts_with_index lib/ayadn/view.rb /^ def show_posts_with_index(data, options = {}, niceranks = {})$/;" f class:Ayadn.View
1131
1140
  show_raw lib/ayadn/view.rb /^ def show_raw(stream, options = {})$/;" f class:Ayadn.View
1132
1141
  show_raw_list lib/ayadn/stream.rb /^ def show_raw_list username, what, options$/;" f class:Ayadn.Stream
1133
- show_settings lib/ayadn/view.rb /^ def show_settings$/;" f class:Ayadn.View
1142
+ show_settings lib/ayadn/view.rb /^ def show_settings$/;" f class:Ayadn
1134
1143
  show_simple_post lib/ayadn/view.rb /^ def show_simple_post(post, options = {})$/;" f class:Ayadn.View
1135
- show_userinfos lib/ayadn/view.rb /^ def show_userinfos(content, token, show_ranks = false)$/;" f class:Ayadn.View
1144
+ show_userinfos lib/ayadn/view.rb /^ def show_userinfos(content, token, show_ranks = false)$/;" f class:Ayadn
1136
1145
  sibling tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function sibling( cur, dir ) {$/;" f
1137
1146
  single_post lib/ayadn/endpoints.rb /^ def single_post(post_id, options)$/;" f
1138
1147
  skipped lib/ayadn/debug.rb /^ def self.skipped dic$/;" F class:Ayadn.Debug
@@ -1271,7 +1280,7 @@ whostarred lib/ayadn/stream.rb /^ def whostarred(post_id, options)$/;" f clas
1271
1280
  width_range lib/ayadn/set.rb /^ def self.width_range value$/;" F class:Ayadn.Validators
1272
1281
  windowResize tmp/rubycritic/assets/javascripts/jquery.floatThead-v1.2.7.js /^ function windowResize(debounceMs, eventName, cb){$/;" f
1273
1282
  winnow tmp/rubycritic/assets/javascripts/jquery-2.1.0.js /^function winnow( elements, qualifier, not ) {$/;" f
1274
- winsize lib/ayadn/view.rb /^ def winsize$/;" f class:Ayadn.View
1283
+ winsize lib/ayadn/view.rb /^ def winsize$/;" f class:Ayadn
1275
1284
  wrap tmp/rubycritic/assets/javascripts/highcharts.src-4.0.1.js /^function wrap(obj, method, func) {$/;" f
1276
1285
  write lib/ayadn/action.rb /^ def write(options)$/;" f class:Ayadn
1277
1286
  write lib/ayadn/app.rb /^ def write$/;" f class:Ayadn.App
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: 2.0.4
4
+ version: 2.0.5
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-11-30 00:00:00.000000000 Z
11
+ date: 2015-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor