trellist 0.5.0 → 0.5.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27bd104727c83849d87bef3dded7f6df0fcf161a
4
- data.tar.gz: ac9b5f4d028cef6c7d2bc8e3c78ffc0bfdd421ea
3
+ metadata.gz: e29b31ca265ee6bed7dd8ae6d43f5a4cd1d94d63
4
+ data.tar.gz: e1ea745fa3c983839a65b8e019743a6b2884fee7
5
5
  SHA512:
6
- metadata.gz: d1ac9100f63e5bb4333e6e8a28784ab47da33fbf48c92ec7979352d6533c59b015b6177cddf0020b9135862d575fe6dc1080bfd162259e457cf819cd9e1762e6
7
- data.tar.gz: 3b711caa3de8a8db890f2b5d15ac779ed9027f84951b5ca10a172d9f9b81b8ce8c38db7e04ec0b69a99c9c5a1a71930eb09acc70150efe9da6c6eea3b0bdbd18
6
+ metadata.gz: 285107aff404404ba433a0880048d9ebff3b94f3a3ccb16acd6c526c0b83a59124ab42db4f08392527e6c4ea984b7507cfd0e3b08e2928de85d41580364355a2
7
+ data.tar.gz: 4593f056246d552511d3fda20d3fc62a9677cb38aeea32c205ca423050ff446e6aaac64657c846f94b2bdf09436dcd55425aafe4017f93d16ef1be02d43093dc
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trellist (0.5.0)
4
+ trellist (0.5.1)
5
5
  gli (= 2.14.0)
6
6
  highline (= 1.7.8)
7
7
  paint (= 2.0.0)
@@ -1,3 +1,3 @@
1
1
  module Trellist
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.1'.freeze
3
3
  end
@@ -79,29 +79,29 @@ RSpec.describe 'Client' do
79
79
 
80
80
  context 'format: markdown' do
81
81
  it 'prints link in markdown' do
82
- expect{@client.generate_links(format: 'markdown')}.
83
- to output("[mock card title](http://example.com/foobar)\n").to_stdout
82
+ expect(@client.generate_links(format: 'markdown').first).
83
+ to eq("[mock card title](http://example.com/foobar)")
84
84
  end
85
85
  end
86
86
 
87
87
  context 'format: plain' do
88
88
  it 'prints link plainly' do
89
- expect{@client.generate_links(format: 'plain')}.
90
- to output("http://example.com/foobar\n").to_stdout
89
+ expect(@client.generate_links(format: 'plain').first).
90
+ to eq("http://example.com/foobar")
91
91
  end
92
92
  end
93
93
 
94
94
  context 'format: html' do
95
95
  it 'prints link like markdown' do
96
- expect{@client.generate_links(format: 'html')}.
97
- to output("<a href=\"http://example.com/foobar\">mock card title</a>\n").to_stdout
96
+ expect(@client.generate_links(format: 'html').first).
97
+ to eq("<a href=\"http://example.com/foobar\">mock card title</a>")
98
98
  end
99
99
  end
100
100
 
101
101
  context 'format: markdown, prefix: small trello icon' do
102
102
  it 'prints link like markdown' do
103
- expect{@client.generate_links(prefix: '![](https://github.trello.services/images/mini-trello-icon.png) ')}.
104
- to output("![](https://github.trello.services/images/mini-trello-icon.png) [mock card title](http://example.com/foobar)\n").to_stdout
103
+ expect(@client.generate_links(prefix: '![](https://github.trello.services/images/mini-trello-icon.png) ').first).
104
+ to eq("![](https://github.trello.services/images/mini-trello-icon.png) [mock card title](http://example.com/foobar)")
105
105
  end
106
106
  end
107
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trellist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chase Southard