ayadn 1.7.3 → 1.7.4

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: a3fa11aebafb50de81803f096315afad28f111c7
4
- data.tar.gz: e5cdfc47373c3cbfb956701320f641d049f279af
3
+ metadata.gz: c26bb80eb4bb55ac2d2cfe880d8d0c0de1a11095
4
+ data.tar.gz: 9ba0314b825df65ce3c9aad1d2e7409bb602bde1
5
5
  SHA512:
6
- metadata.gz: f7e8d412005c5008c75ee4127c31f403bbcef9da09d5b0f51bf69329c5fde654f5e02ca662444b9759e77bddc9186f13222968241b92bbe44e4c2d60821f03a5
7
- data.tar.gz: 402269792d12923b31a01f951f29f8fa91d2b94793e407fdbd36eb53dacc0bcaa99c35e9f6cbc23a356d6fad13dae0c6983a04783f9cd90f93d49d9180c79e32
6
+ metadata.gz: 0bc03fa598ae9666acdaaf1f871c89ded15e61e9cbad4e5d0b1309cf51eb6fc74fde836bf826780492ea8bfc020c0436c45ea3035aa32f29478ba55f5d597cc2
7
+ data.tar.gz: 176e6a11ca6871ebff6c6eee4bebe0dc446d8d0a69b66dbec04a2d7b679edbcecf076878c68142dd9b1d4a05e7ee084e964df4f7a079998364c5fa9e351200b4
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
+ --format documentation
1
2
  --color
2
- --format progress
3
+ --fail-fast
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 1.7.4 (2014-09-21) - 'Elton'
2
+
3
+ - Fix: nowplaying (show artwork)
4
+ - Fix: nowwatching (show posting account)
5
+ - Fix: tvshow (show posting account)
6
+
1
7
  # 1.7.3 (2014-09-08) - 'Scanners'
2
8
 
3
9
  - New: option to reply to a reposted post
@@ -70,6 +70,8 @@ module Ayadn
70
70
  else
71
71
  visible, track, artwork, artwork_thumb, link, artist = false
72
72
  end
73
+ options = options.dup
74
+ options[:nowplaying] = true
73
75
  if options[:lastfm]
74
76
  source = 'Last.fm'
75
77
  else
@@ -91,6 +91,7 @@ module Ayadn
91
91
 
92
92
  def show_post text
93
93
  @view.clear_screen
94
+ puts Status.writing
94
95
  puts "\nYour post:\n\n".color(:cyan)
95
96
  puts text
96
97
  puts "\nIs it ok? (y/N)".color(:yellow)
data/lib/ayadn/tvshow.rb CHANGED
@@ -5,7 +5,7 @@ module Ayadn
5
5
 
6
6
  require 'tvdb_party'
7
7
 
8
- AYADN_TVDB_API_KEY = '3F21527FE4C9C274'
8
+ AYADN_TVDB_API_KEY = 'E874ACBC542CAA53'
9
9
 
10
10
  attr_accessor :language, :name, :poster_url, :banner_url, :plot, :text, :imdb_link, :tag, :link, :date
11
11
 
@@ -65,6 +65,7 @@ module Ayadn
65
65
 
66
66
  def ok
67
67
  @view.clear_screen
68
+ puts Status.writing
68
69
  puts "\nYour post:\n\n".color(:cyan)
69
70
  puts @text
70
71
  puts "\n\nIs it ok? (y/N)".color(:yellow)
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "1.7.3"
3
+ VERSION = "1.7.4"
4
4
  end
@@ -94,7 +94,8 @@ describe Ayadn::NiceRank do
94
94
  Ayadn::Logs.stub(:rec).and_return("logged")
95
95
  end
96
96
 
97
- let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
97
+ #let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
98
+ let(:rest) {Ayadn::CNX}
98
99
  # let(:nicerank) { JSON.parse(File.read("spec/mock/nicerank.json")) }
99
100
 
100
101
  describe "#get_posts_day" do
@@ -45,7 +45,8 @@ describe Ayadn::Post do
45
45
  end
46
46
 
47
47
  let(:post) { Ayadn::Post.new }
48
- let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
48
+ #let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
49
+ let(:rest) {Ayadn::CNX}
49
50
 
50
51
  describe "#post" do
51
52
  before do
@@ -25,7 +25,8 @@ describe Ayadn::Workers do
25
25
  let(:checkins) { JSON.parse(File.read("spec/mock/checkins.json")) }
26
26
  let(:regex_post) { JSON.parse(File.read("spec/mock/regex.json")) }
27
27
  let(:users_list) { JSON.parse(File.read("spec/mock/fwr_@ayadn.json")) }
28
- let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
28
+ #let(:rest) {Ayadn::CNX = double} #verbose in RSpec output, but useful
29
+ let(:rest) {Ayadn::CNX}
29
30
  let(:list) { {"007"=>["bond", "James Bond", true, true], "666"=>["mrtest", "Mr Test", false, false]} }
30
31
 
31
32
  describe "#build_posts" do
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.7.3
4
+ version: 1.7.4
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-09-08 00:00:00.000000000 Z
11
+ date: 2014-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor