osdn-cli 0.1.8 → 0.1.9

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: 8d8128c6e8f948432b276e4e26577b1b7df9ba31
4
- data.tar.gz: 3458d3981cabfd0acfd98a7e8aa7000650695a09
3
+ metadata.gz: 711d2bde0ec7b6b4a631200c6eab8d7b719a8798
4
+ data.tar.gz: 54f1852e3d5f9deff21a080e377ebfad19410579
5
5
  SHA512:
6
- metadata.gz: 77b0ff81d195169bb9a18d76151642a3cdf970e43aaacd465bb60564d04ed026fd75df10c9cbb563f0f2881025a123632549dc83a4a32723aefda382f5fa4ddb
7
- data.tar.gz: 5b1940aeec8b29fe2cdc3f04dabae41f327c8de33a90378a0024286185228a54eed9b65f0634e6d0b7e32f1323635ebe60fd58409528f81c600ad3f84d05c649
6
+ metadata.gz: d82079daa70bccb7f8e8aefea07aeeea5a7896c6bec160f249f7ea0d977c72e3bccb2b49d6a2a0323baf5b25ca24ae0f8414a05ea46832a01861b1ab752059dc
7
+ data.tar.gz: 1376e42c75a7fb842951dc0cd11a089994566ac52a88c3a9ccd6d47e350911dd0809bcc4db237a5e928996c3a1c111d0948bf3c7b38c73d4deafa7596f92440a
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2017-05-01 Tatsuki Sugiura <sugi@nemui.org>
2
+
3
+ * Try to fix launching browser on login at Windows environment.
4
+ * Version 0.1.9
5
+
1
6
  2017-02-15 Tatsuki Sugiura <sugi@nemui.org>
2
7
 
3
8
  * Fix command class loader to support ruby 1.9.x.
@@ -70,7 +70,7 @@ module OSDN
70
70
  logger.error "Invalid ownership of credential file #{credential_path}, skip loading."
71
71
  return
72
72
  end
73
- unless (stat.mode & 0777).to_s(8) == "600"
73
+ if RUBY_PLATFORM !~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/ && (stat.mode & 0777).to_s(8) != "600"
74
74
  logger.error "Invalid permission #{(stat.mode & 0777).to_s(8)} of credential file #{credential_path}, skip loading."
75
75
  return
76
76
  end
@@ -42,7 +42,7 @@ module OSDN; module CLI; module Command
42
42
  end
43
43
  case RUBY_PLATFORM
44
44
  when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
45
- exec("start #{url}") if fork.nil?
45
+ spawn("start #{url.gsub(/&/, '^&')}")
46
46
  when /darwin|mac os/
47
47
  exec("/usr/bin/open", url) if fork.nil?
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module OSDN
2
2
  module CLI
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osdn-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - OSDN
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler