ayadn 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,7 +147,7 @@ describe Ayadn::Annotations do
147
147
 
148
148
  describe "#nowplaying" do
149
149
  it "creates nowplaying annotations" do
150
- ann = Ayadn::Annotations.new({source: 'rspec', title: 'ibelieveicanfly', artist: 'big jim', artwork: 'http://ahah', link: 'http://ohoh', source: 'fake', width: 9000, height: 30000, artwork_thumb: 'http://hihi', width_thumb: 9, height_thumb: 3, options: {nowplaying: true}})
150
+ ann = Ayadn::Annotations.new({title: 'ibelieveicanfly', artist: 'big jim', artwork: 'http://ahah', link: 'http://ohoh', source: 'fake', width: 9000, height: 30000, artwork_thumb: 'http://hihi', width_thumb: 9, height_thumb: 3, options: {nowplaying: true}})
151
151
  expect(ann.content).to eq [{"type"=>"com.ayadn.user", "value"=>{"+net.app.core.user"=>{"user_id"=>"@test", "format"=>"basic"}, "env"=>{"platform"=>'shoes', "ruby"=>"0", "locale"=>"gibberish"}}}, {"type"=>"com.ayadn.client", "value"=>{"url"=>"http://ayadn-app.net", "author"=>{"name"=>"Eric Dejonckheere", "username"=>"ericd", "id"=>"69904", "email"=>"eric@aya.io"}, "version"=>"wee"}}, {"type"=>"com.ayadn.nowplaying", "value"=>{"title"=>"ibelieveicanfly", "artist"=>"big jim", "artwork"=>"http://ahah", "link"=>"http://ohoh", "source"=>"fake"}}, {"type"=>"net.app.core.oembed", "value"=>{"version"=>"1.0", "type"=>"photo", "width"=>9000, "height"=>30000, "title"=>"ibelieveicanfly", "url"=>"http://ahah", "embeddable_url"=>"http://ahah", "provider_url"=>"https://itunes.apple.com", "provider_name"=>"iTunes", "thumbnail_url"=>"http://hihi", "thumbnail_width"=>9, "thumbnail_height"=>3}}]
152
152
  end
153
153
  end
@@ -76,7 +76,7 @@ describe Ayadn::View do
76
76
  printed = capture_stdout do
77
77
  Ayadn::View.new.show_list_reposted(list[0]['data'], 123456)
78
78
  end
79
- expect(printed).to include *['Joel Timmins', 'Donny Davis', 'Nicolas Maumont', 'reposted post', '123456']
79
+ expect(printed).to include *['Joel Timmins', 'Donny Davis', 'reposted post', '123456']
80
80
  end
81
81
  end
82
82
 
@@ -89,7 +89,7 @@ describe Ayadn::View do
89
89
  printed = capture_stdout do
90
90
  Ayadn::View.new.show_list_starred(list[0]['data'], 123456)
91
91
  end
92
- expect(printed).to include *['Joel Timmins', 'Donny Davis', 'Nicolas Maumont', 'starred post', '123456']
92
+ expect(printed).to include *['Joel Timmins', 'Donny Davis', 'starred post', '123456']
93
93
  end
94
94
  end
95
95
 
@@ -116,9 +116,9 @@ describe Ayadn::Workers do
116
116
  describe "#extract_users" do
117
117
  it "extracts users" do
118
118
  usr = @workers.extract_users(users_list[0])
119
- expect(usr["52985"]).to eq ["schmidt_fu", "Florian Schmidt", false, false, 5370]
120
- expect(usr["185581"]).to eq ["aya_tests", "@ericd's tests account", nil, nil, 662]
121
- expect(usr["69904"]).to eq ["ericd", "Eric Dejonckheere", true, true, 4513]
119
+ expect(usr["52985"]).to eq ["schmidt_fu", "Florian Schmidt", true, true, 11087]
120
+ expect(usr["185581"]).to eq ["aya_tests", "Big Jim", true, true, 1414]
121
+ expect(usr["69904"]).to eq ["ericd", "Eric Dejonckheere", nil, nil, 7030]
122
122
  end
123
123
  end
124
124
 
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.9
4
+ version: 2.0.10
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-02-11 00:00:00.000000000 Z
11
+ date: 2015-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -350,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
350
  version: '0'
351
351
  requirements: []
352
352
  rubyforge_project:
353
- rubygems_version: 2.2.2
353
+ rubygems_version: 2.4.5
354
354
  signing_key:
355
355
  specification_version: 4
356
356
  summary: App.net command-line client.