TTTrans 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 6cfc01f6f5ff99adbbf7ad65bed86b5a2b302ada76cf255e5a1da27f8a15c155
4
- data.tar.gz: 338a89ff03331d4ad7175f61386f27f643457669179e269ccde4e02f4b41cf93
3
+ metadata.gz: ada13248eb93c0fedfb1f5acb72a82b570fc6faf813d6d2e8522ae1335f15cdc
4
+ data.tar.gz: 84d2ebe765f4af226317f2c22ecfe338b10e7bc8d67fde9985af8f9f37383a71
5
5
  SHA512:
6
- metadata.gz: 88e46f4f37c7ace508592bfa35cfcf885e5092284693ac507046c394f7ea9e69fc7f7ddad05b8f522e89b124d51d15be400f6e7815c7c66226ce8b84ca28b2c2
7
- data.tar.gz: f0f7d8833a14fa3a3bab622a2db8449368ca2210b71cfa08972c417595f5d87379c7d8973f186a32ca92ec221cbdaf11819f215ca4e613ac116a1228dd0956ba
6
+ metadata.gz: 9645467bb659308a4b2e2339b7d865e6dbd6c30e73292cc78c95c19d4792acf2895a1bed9055a2725fd517d9bb6899591ffa0ce6335418f5a030d4cbd6a47576
7
+ data.tar.gz: 8b7e359728e90c2bc3ea80e3a3d5d55165cefd6e54eb76cac694b845b1eb39ad7b1a1d4bdbc1d32d649f3f390a8fb36a8bd7804204bab4b82ad465362af26ac4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- TTTrans (0.1.0)
4
+ TTTrans (0.2.0)
5
5
  inifile (~> 3.0.0)
6
6
  oauth (~> 0.5.10)
7
7
 
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # TTTrans
2
- [![Ruby](https://github.com/Himeyama/tttrans/actions/workflows/main.yml/badge.svg)](https://github.com/Himeyama/tttrans/actions/workflows/main.yml)
2
+ [![Ruby](https://github.com/Himeyama/tttrans/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/Himeyama/tttrans/actions/workflows/main.yml)
3
3
  [![Gem Version](https://badge.fury.io/rb/TTTrans.svg)](https://badge.fury.io/rb/TTTrans)
4
4
 
5
5
  この Gem は「みんなの自動翻訳@TexTra®」に対し WebAPI を叩き、翻訳するアプリです。
data/exe/ttt CHANGED
@@ -31,7 +31,7 @@ api_secret = envs[1] unless envs[1] == ""
31
31
  user_id = envs[2] unless envs[2] == ""
32
32
 
33
33
  if config_exists?(api_key, api_secret, user_id)
34
- warn.puts(
34
+ warn(
35
35
  "\033[31mエラー: API のキーまたはユーザー ID の設定がされていません。" \
36
36
  "~/.tttconfig に設定ファイルを作成してください。\033[0m"
37
37
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TTTrans
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TTTrans
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
  - MURATA Mitsuharu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-23 00:00:00.000000000 Z
11
+ date: 2022-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile