misoni 0.2.0 → 0.2.1

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: c34f0960bf1598a02b537e9a52ea5b6b6ef10dba
4
- data.tar.gz: 9e260266a1c621efb36b625125d2a2b6868f78e6
3
+ metadata.gz: db7e47724aca4455738c85eeedea2c0290545f3b
4
+ data.tar.gz: 78eaaab229afed09d53d3cb48e6bf47201e9cba9
5
5
  SHA512:
6
- metadata.gz: 4170fd2d5eafa90b6c92bd2dfd9e483afb2b47b459449a1aa0c3ff4c93e74a3d82660e6b9e6094fa868ea40d651311b90c3ea3d072fdb92fe777ff4d6311731d
7
- data.tar.gz: 3e44b17254c8ae1362ac4fd453ef47eaa4140ade6d5597c09ee11e21980b55c02af14650b2af614e52260725fc1482042276f9996778398e955e1359d27adda9
6
+ metadata.gz: 6ae86d0d866426a83a0f575f5a2138ec87bd22db21df16ae03246233784b9f5d6a762be8e0a16e142424f9253a45f7881019fc5990a71b73a7a881cde492c302
7
+ data.tar.gz: b8870e9a9ae2950343c95650517b66a1880e7200cc6edd3fd109f47338a1ec0fda73bdcf71dd16d6c4335667fcf099be6c64bf32abfe1de6869fa6a865868826
data/README.md CHANGED
@@ -16,17 +16,26 @@ $ gem install misoni
16
16
 
17
17
  ## Configuration
18
18
 
19
+ ### WiFiの接続が変わったときに自動的にスクリプトが起動するようにします
20
+
21
+ ```
22
+ $ misoni install
23
+ ```
24
+
25
+
26
+ ### 認証のためのIDとパスワードを設定します
27
+
19
28
  ```
20
29
  $ misoni config
21
30
  ```
22
31
 
23
- もしくは pit コマンドを直接
32
+ もしくは `pit` コマンドを直接
24
33
 
25
34
  ```
26
35
  $ pit set "http://auth.zokei.ac.jp:16978"
27
36
  ```
28
37
 
29
- するとエディタが開くので
38
+ するとエディタが開くので、
30
39
 
31
40
  ```
32
41
  ---
@@ -46,7 +55,7 @@ $ misoni auth
46
55
 
47
56
  すると設定したアカウントで認証します。
48
57
 
49
- `install`コマンドとかで、無線LANへの接続を検知してlaunchdで叩く設定まで勝手にやってくれるようにそのうちします。
58
+ 上記 `install` をしている場合、手動で実行する必要はないです。
50
59
 
51
60
 
52
61
  ## Kanpa
@@ -25,8 +25,6 @@ module Misoni
25
25
  else
26
26
  template "templates/com.neoneobeam.misoni.plist.tt", "#{LAUNCH_AGENT_FILE}"
27
27
  end
28
- run "sudo chmod 600 #{LAUNCH_AGENT_FILE}"
29
- run "sudo chown root #{LAUNCH_AGENT_FILE}"
30
28
  run "launchctl load #{LAUNCH_AGENT_FILE}"
31
29
  say
32
30
  say 'Completed install. Please run `misoni config` or `pit set "http://auth.zokei.ac.jp:16978"` to set your ID/Password.', Thor::Shell::Color::GREEN
@@ -1,3 +1,3 @@
1
1
  module Misoni
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: misoni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - neo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-22 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor