mermaid-publisher 0.0.5 → 0.0.6

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: 830783fa8d0c8413c295f3185a5c75557f4b1744
4
- data.tar.gz: 0352c4521c5865e63ff66319a53a43a553fd558d
3
+ metadata.gz: 7242f3fb1b5eb1ea1f456f5fa9eca9877045f4b5
4
+ data.tar.gz: 042c8acdccd2be14ed2c628485a9c2fe57600e37
5
5
  SHA512:
6
- metadata.gz: bebd7a99e9578c8e56d96c38e794267d14ef0fe0d5be008304ba033d1c03e925c41b2ca4ca5700303847e42fad144e30c9e4613482c43b72738ee12b806f668e
7
- data.tar.gz: b1455bbb4d2d9d5c30f5e4f53857255a61b98c08220e926b906a4ec1865d8485e8dda18f7730a8dd8fa784182cbef9789c3877e160dd47a10fce006d719b10bd
6
+ metadata.gz: c304a80cb0b6d81efaa5358b03855c1a997fa34ebc2dadc4097ac2e2aaeb6676a1ca8ceb07918e2173ace800eb1a843ae334a696fd2903ef8f65c62f23f1f9ed
7
+ data.tar.gz: 1043b9b46e0367fd3263e5d0953989b016ae8d2e7d8d0350e0b7b06454d934d4437fffbd546b5635c85e76e184c26e444ae08b89fafd8d60818c6ac7dbe902cd
@@ -43,7 +43,7 @@ class ReleaseCLI < MermaidCLI
43
43
  end
44
44
 
45
45
  def upload(file)
46
- name = File.basename(file)
46
+ name = path_to_gdive_name(file)
47
47
  puts "gdrive upload -p '#{gdrive_folder_id}' --name #{name} #{file}"
48
48
  system "gdrive upload -p '#{gdrive_folder_id}' --name #{name} #{file}"
49
49
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "mermaid-publisher"
7
- spec.version = "0.0.5"
7
+ spec.version = "0.0.6"
8
8
  spec.authors = ["Phuong Nguyen"]
9
9
  spec.email = ["phuongnd08@gmail.com"]
10
10
  spec.summary = %q{Publish mermaid to gdrive}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mermaid-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phuong Nguyen