trello-fs 0.0.7 → 0.0.8

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: b0e6f623e8ea9ca170ed2a0661bcb501d7ec9dae
4
- data.tar.gz: f3c68c59c02c7c9f6762c0f6ce05bcc19e0a32dc
3
+ metadata.gz: aedc081e8ca9ca28fdfba8f6b9223fe419b5b988
4
+ data.tar.gz: 5e206b319e371f1b56ba0afdf7aa5a545b4186fa
5
5
  SHA512:
6
- metadata.gz: 1006a3f485de9c9cba1f627e7ee6935e11c068c593d286642f6f911223b2b766700a8b546663511098bc712a021ac8d372dc087a868d3566e6c273b010b1e892
7
- data.tar.gz: 5a4cfe99d7ceda2cb14968f32bf5c45cd0018fd874cbab10e593617a179ff698b7d767a2c8d9f383ab1c121d2466859be417e9866c70694c91817f4a6066c762
6
+ metadata.gz: 32bfb2ea105337bab2f8a9d931f5bdcd27a1995aecfd2c293cb9511198d95e6d8553d09a6aac84f5b2fa017208e55d8a51c6281793575e18a26dc7e6a2d97758
7
+ data.tar.gz: b93a6d75ed854a2cb1d9cd6f85223ba7925ee03c1e6ae0ef9fd04e35419d20625b900e4eb04e9777910c3053a8e5cb8e3283a8cbfcf0ee23563bf8cd719de264
@@ -46,7 +46,7 @@ module TrelloFs
46
46
  end
47
47
 
48
48
  def file_name
49
- @attachment.name.gsub(/ /, '_')
49
+ @attachment.name.gsub(/ /, '_').gsub(',', '-')
50
50
  end
51
51
 
52
52
  def already_downloaded?
@@ -3,7 +3,6 @@ module TrelloFs
3
3
  def self.convert(str)
4
4
  str.gsub(/[^\w\s_-]+/, '').
5
5
  gsub(/(^|\b\s)\s+($|\s?\b)/, '\\1\\2').
6
- gsub(/,/, '-').
7
6
  gsub(/\s+/, '_')
8
7
  end
9
8
  end
@@ -1,3 +1,3 @@
1
1
  module TrelloFs
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
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.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matúš Tomlein