unit_manager 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 24b7ed0240d427f76e449b5aca8ac698e7d0666bff84875834bca35dad854ae5
4
- data.tar.gz: 075dafc7c066912b785e78a481009420ec25c345cd0438c591acac4e6146001a
3
+ metadata.gz: c199c44b0e57449b44cfc5a36d1d4b104dd4b66e02a2375e281f9e3f940c3afa
4
+ data.tar.gz: 4d8f3dd682e9cde3c1f753713b9c45f947755ceffd5e89544155fcfacf039555
5
5
  SHA512:
6
- metadata.gz: '0862d0de2773e9ea38f181c2408394027a096849eec9dda0a536a0fffda67984447748a23203df786989e8d9172b7da0f4bbb1e3b989aa1c6d983498c0597b8d'
7
- data.tar.gz: e683a23017a822d5f63c035f44e07c5f030e0cf7468eb84b5b33f751571787d46366844828bdae23526e05919625047a2b8054ccae0aaaca1d11053d4b1ab0ff
6
+ metadata.gz: c40bf18524f3f5352a7963db10ae84580ebb665d57d00c61dd9c08854fee57dcbb73e2f4c4edc79fb02a366801cc7f096542f958a441bb19c3f1519d733650f8
7
+ data.tar.gz: '0491078d5272e96639324f35b0bde1c2fd381c54fe5bd1ea3bb48c8c5d543b724001c1b79c4bac87cbbeb4ce14c951d0172fabbc32a11cf89a8f884b54b5ba06'
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 KojimaNaoyuki
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -23,6 +23,15 @@ gem 'unit_manager'
23
23
  unit init
24
24
  ```
25
25
 
26
+ #### 注意
27
+
28
+ Mac OS の場合にコマンドが実行できない可能性があります。
29
+ その場合は Ruby 本体インストール先の bin ファイルから直接 unit スクリプトを実行してください。
30
+
31
+ ```
32
+ ruby /Ruby本体インストール先/bin/unit init
33
+ ```
34
+
26
35
  ### 3. /unit_config/unit.yml に扱う単位を記述する
27
36
 
28
37
  equation で指定した式により計算された値が単位名と共に戻り値として受け取れます。
data/docment/jp_readme.md CHANGED
@@ -23,6 +23,15 @@ gem 'unit_manager'
23
23
  unit init
24
24
  ```
25
25
 
26
+ #### 注意
27
+
28
+ Mac OS の場合にコマンドが実行できない可能性があります。
29
+ その場合は Ruby 本体インストール先の bin ファイルから直接 unit スクリプトを実行してください。
30
+
31
+ ```
32
+ ruby /Ruby本体インストール先/bin/unit init
33
+ ```
34
+
26
35
  ### 3. /unit_config/unit.yml に扱う単位を記述する
27
36
 
28
37
  equation で指定した式により計算された値が単位名と共に戻り値として受け取れます。
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UnitManager
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaoyukiKojima
@@ -76,6 +76,7 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".rspec"
78
78
  - Gemfile
79
+ - LICENSE
79
80
  - README.md
80
81
  - Rakefile
81
82
  - config/unit_config_path.txt
@@ -88,7 +89,8 @@ files:
88
89
  - lib/util/calculation_helper.rb
89
90
  - sig/unit_manager.rbs
90
91
  homepage: https://github.com/KojimaNaoyuki/unit_manager
91
- licenses: []
92
+ licenses:
93
+ - MIT
92
94
  metadata:
93
95
  homepage_uri: https://github.com/KojimaNaoyuki/unit_manager
94
96
  post_install_message: