ayadn 2.0.5 → 2.0.6

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: cc2d8143e8de5477500486a4a6f81f8313cb44b4
4
- data.tar.gz: 7f3f36be899a84569bd3701f68780f0c194ace3d
3
+ metadata.gz: eec7fca71c12e9a4bce47bb49845994357f5d05d
4
+ data.tar.gz: d8832296355bb46a191e4d3c384d82d533e473cd
5
5
  SHA512:
6
- metadata.gz: 37be445bcfa05d0d2c84f542c6f0b671ad6c81b076ddb5356508a2bc1ef6445da16f62462649c3a472a01205af5ae67206f3e4199d49165b9fb4e7c97b066bad
7
- data.tar.gz: f97fadb70bb9d8a3e10dc01352b8cc02694d5abb4ec89fbb7f318fa64257fbb99c141412fa159c8684d25793f9577998b65d1c5bb96a4fe43e0adcd0a030426a
6
+ metadata.gz: 6213f88a3b32036aa46d705a6e835906a8ca7b2b2ee255d8a7bd315cae5650a4c7d5f032f512e286356cec5f352caa76323767a5b239b463894ef67309d16628
7
+ data.tar.gz: e9e57a8b71c171bb21026b8f241aabf0b69f1a2ee66086718a1ed360f63e7fa057349138055b5a4dc9c6236912770538e3b6972df91a08a267a2cf0b2f813def
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 2.0.6 - 2015-01-25 - 'Gibson'
2
+
3
+ - Fix: nowplaying post annotation
4
+ - Fix: bug in display settings
5
+
1
6
  ## 2.0.5 - 2015-01-24 - 'Charlie'
2
7
 
3
8
  - New: NowPlaying with Deezer
@@ -159,10 +159,12 @@ module Ayadn
159
159
  end
160
160
  options = options.dup
161
161
  options[:nowplaying] = true
162
- if options[:lastfm]
163
- source = 'Last.fm'
162
+ source = if options[:lastfm]
163
+ 'Last.fm'
164
+ elsif options[:deezer]
165
+ 'Deezer'
164
166
  else
165
- source = 'iTunes'
167
+ 'iTunes'
166
168
  end
167
169
  dic = {
168
170
  options: options,
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "2.0.5"
3
+ VERSION = "2.0.6"
4
4
  end
data/lib/ayadn/view.rb CHANGED
@@ -161,7 +161,14 @@ module Ayadn
161
161
  t << [ k.to_s.color(:cyan), x.to_s.color(:yellow), y.to_s.color(:green) ]
162
162
  else
163
163
  y.each do |c|
164
- t << [ k.to_s.color(:cyan), x.to_s.color(:yellow), "#{c[0]} = #{c[1]}".color(:green) ]
164
+ yk = c[0]
165
+ tempv = c[1].to_s
166
+ if tempv.size > 10
167
+ yv = "#{tempv[0..7]}..."
168
+ else
169
+ yv = tempv
170
+ end
171
+ t << [ k.to_s.color(:cyan), x.to_s.color(:yellow), "#{yk} = #{yv}".color(:green) ]
165
172
  end
166
173
  end
167
174
  @iter += 1
Binary file
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.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2015-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor