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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/trellist/version.rb +1 -1
- data/spec/lib/trellist/client_spec.rb +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e29b31ca265ee6bed7dd8ae6d43f5a4cd1d94d63
|
|
4
|
+
data.tar.gz: e1ea745fa3c983839a65b8e019743a6b2884fee7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 285107aff404404ba433a0880048d9ebff3b94f3a3ccb16acd6c526c0b83a59124ab42db4f08392527e6c4ea984b7507cfd0e3b08e2928de85d41580364355a2
|
|
7
|
+
data.tar.gz: 4593f056246d552511d3fda20d3fc62a9677cb38aeea32c205ca423050ff446e6aaac64657c846f94b2bdf09436dcd55425aafe4017f93d16ef1be02d43093dc
|
data/Gemfile.lock
CHANGED
data/lib/trellist/version.rb
CHANGED
|
@@ -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
|
|
83
|
-
to
|
|
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
|
|
90
|
-
to
|
|
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
|
|
97
|
-
to
|
|
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
|
|
104
|
-
to
|
|
103
|
+
expect(@client.generate_links(prefix: ' ').first).
|
|
104
|
+
to eq(" [mock card title](http://example.com/foobar)")
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
end
|