akashiyaki 0.2.1 → 0.2.2

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: 5d314ed9673aa72e3f934adb80e31c7e9e2aa007
4
- data.tar.gz: db38ef8a77e95e410cc6206241f3ffb10fdf066b
3
+ metadata.gz: af5d63533ae976411c7b6fc743f0fa4cd4e7455a
4
+ data.tar.gz: 3d096985c668dd6c3318ff580adbd9d5b8a2fa47
5
5
  SHA512:
6
- metadata.gz: ab5fff35b7a406a5d01bda8e831146bc6725ef9810e7d928103208df6d261e7053d73ee2da07ede9888c6d00dcda5d0e92bd5503640ca221d11369f2ef9a75f4
7
- data.tar.gz: a102e8391e54c51070a73f3cee8f72b5765fe493aae699c09380f73f3ea45c6f100aaaece9356746c17f426c5d3e2820f3ae9174429230f6856af940969a30e5
6
+ metadata.gz: 5bab2c8e34a05ab91863232b541de7816c09b489d468c51ac21336cb4a0fa8bde88795b921b291bd828ee422e5d9219d8d4df7ddbb7a07f7be8b5d1c04f50a19
7
+ data.tar.gz: '0540854d2a98aff8a5099fb638b0369e6491a0e0f9c946f6ed3fac735daaf6f61120497d49c7526e6871380541a0c76136c303a71078b2a4b1f607b2cbce8b1b'
data/README.md CHANGED
@@ -37,20 +37,14 @@ Akashiyaki includes `ak4` command that is a CLI tool to access AKASHI.
37
37
  Basic usage:
38
38
 
39
39
  ```bash
40
- # To start work
41
40
  ak4 work start
42
-
43
- # To finish work
44
41
  ak4 work finish
45
42
 
46
- # To start break
47
43
  ak4 break start
48
-
49
- # To finish break
50
44
  ak4 break finish
51
45
  ```
52
46
 
53
- When `ak4` is executed without account information, `ak4` asks you about your account:
47
+ When `ak4` is given no account information, it asks you about your account:
54
48
 
55
49
  ```bash
56
50
  $ ak4 work finish
@@ -59,7 +53,7 @@ Login ID: myid
59
53
  Password: %
60
54
  ```
61
55
 
62
- If you think it's too much bother to enter account information everytime, you can save your account as configuration file `~/.config/ak4/account.yaml` (or `~/.config/ak4/account.json`):
56
+ If you think it's too much bother to enter account information everytime, you can save your account as a configuration file `~/.config/ak4/account.yaml` (or `~/.config/ak4/account.json`):
63
57
 
64
58
  ```yaml
65
59
  company: mycompany
@@ -76,7 +70,7 @@ company: mycompany
76
70
  id: myid
77
71
  ```
78
72
 
79
- So `ak4` asks you about only password.
73
+ So `ak4` asks you about only password when executed.
80
74
 
81
75
  You can also use command options:
82
76
 
@@ -40,7 +40,7 @@ module Akashiyaki
40
40
 
41
41
  def password
42
42
  return @options[:password] if @options[:password]
43
- return config[:password] if config[:password]
43
+ return config["password"] if config["password"]
44
44
 
45
45
  print "Password: "
46
46
  password = STDIN.noecho(&:gets).chomp
@@ -1,3 +1,3 @@
1
1
  module Akashiyaki
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akashiyaki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nownabe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler