trello-fs 0.1.4 → 0.1.5

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: 108a4cae16525e8c40acbcb47599d85e159fee41
4
- data.tar.gz: 032345886c8c177720a8415955196d87aba9cd69
3
+ metadata.gz: 1ad4e72e639015d196993e241a9de84c03b26603
4
+ data.tar.gz: 23f3e09d23a991b51fdd2fc0cb2f28ae96ad7248
5
5
  SHA512:
6
- metadata.gz: 6b21878c57c65c3160843e3381027db7d29d5b73709ab6daff614a86cacf4a2b8504757674a7033be74caa61fec22b7ec2f108618def7597309941e79e7806eb
7
- data.tar.gz: ab143c25873aa83dd58568241a6ec13aac72a5e0e5024ba4d9fdb2e3f1c7cec41efd50bdb99824d1e641aba8cd458f9f0672e51217fbcf7d82a1336ab08ddbdf
6
+ metadata.gz: 00ba43ada3f4c1dea631715b8830225f0c8d1e915dff7470b84a5d16749e10078b02039564f0828577e140aeee0db887f85512bacbbff55d57d45e05030a5e18
7
+ data.tar.gz: 406460a7a03e8fcb445830d0d81e9dd073993209f21681572fd43df93da744510523165ce8bf29b4e9dceb7e92117d470b5b8f4213f7787eee2c2ff3042b0a5d
@@ -46,7 +46,7 @@ module TrelloFs
46
46
  end
47
47
 
48
48
  def file_name
49
- @attachment.name.gsub(/ /, '_').gsub(/[()\[\],]/, '-')
49
+ @attachment.name.gsub(/[()\[\], ]/, '-')
50
50
  end
51
51
 
52
52
  def already_downloaded?
@@ -1,3 +1,3 @@
1
1
  module TrelloFs
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -21,7 +21,7 @@ describe TrelloFs::AttachmentBuilder do
21
21
  subject { attachment_builder.path }
22
22
 
23
23
  it { should include 'Card_Name' }
24
- it { should include 'Attachment_Name' }
24
+ it { should include 'Attachment-Name' }
25
25
  end
26
26
 
27
27
  describe '#already_downloaded?' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trello-fs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matúš Tomlein