sawarineko 0.1.0 → 0.2.0

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: ed36c54059b56206a7a3be7cb23d87bbaf4e5f41
4
- data.tar.gz: 55394debcf39c23fb2d70a48b376c693a130fd34
3
+ metadata.gz: f5e3aa260a87abbf1155b2eb805e6e169b15f7c0
4
+ data.tar.gz: 4aea628ee21ef62086c3c36dfa4b8a35a691d190
5
5
  SHA512:
6
- metadata.gz: a7618612fa74967554b300c6e456e7f2bfb1b1276e0819239bb92c4a5ce81b5109bd251900950a5d7c5e45972db5e65bcc6d8b515f7aa39cdc4f9b5a4746380d
7
- data.tar.gz: 7e0ccfe7fc9ba061512be4ef3fbe8e4a7eac45add9f9e50f609536cc022dd34974d12d7054e2c5037ece09ad51ec517552966b6828a15e687f40f4e56240cecb
6
+ metadata.gz: aee374451221494a749d0cd9044b7d849d804cf8573282b13e45eb89a9413e4c4556593b067fdec3903dd2d9e7a28f0d86b654d57537430bf194af3362cc9bd9
7
+ data.tar.gz: 45c3b0c99c80fa75c08d799d6338437753f0fb15cf3e4e2171e39555391f288e457dada2e43d5fec1f39d646ea7780b0f72968e0b38701fcb4dccb6669f126c7
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0 (2014-10-12)
4
+
5
+ - Add katakana support
6
+
3
7
  ## 0.1.0 (2014-10-12)
4
8
 
5
9
  - First release
data/README.md CHANGED
@@ -18,7 +18,28 @@ gem 'sawarineko'
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Run `sawarineko` with no arguments to pass texts through terminal input.
22
+
23
+ ``` sh
24
+ sawarineko
25
+ ```
26
+
27
+ Or pass `sawarineko` a file to convert like `sawarineko README.md | head -3`:
28
+
29
+ ``` sh
30
+ sawarineko something.txt
31
+ ```
32
+
33
+ For additional command-line options:
34
+
35
+ ``` sh
36
+ sawarineko -h
37
+ ```
38
+
39
+ Command flag | Description
40
+ ----------------|--------------------
41
+ `-h, --help` | Print this message.
42
+ `-v, --version` | Print version.
22
43
 
23
44
  ## Contributing
24
45
 
@@ -28,6 +49,10 @@ TODO: Write usage instructions here
28
49
  4. Push to the branch (`git push origin my-new-feature`)
29
50
  5. Create a new Pull Request
30
51
 
52
+ ## Changelog
53
+
54
+ See [CHANGELOG.md](CHANGELOG.md).
55
+
31
56
  ## License
32
57
 
33
58
  Copyright (c) ChaYoung You. See [LICENSE.txt](LICENSE.txt) for further details.
@@ -16,6 +16,7 @@ module Sawarineko
16
16
  def convert
17
17
  @source
18
18
  .gsub(/な/, 'にゃ')
19
+ .gusb(/ナ/, 'ニャ')
19
20
  .gsub(/[나-낳]/) { |ch| (ch.ord + 56).chr(Encoding::UTF_8) }
20
21
  end
21
22
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Sawarineko
4
- # Holds Sawarineko's version information.
4
+ # Hold Sawarineko's version information.
5
5
  module Version
6
- STRING = '0.1.0'
6
+ STRING = '0.2.0'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sawarineko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ChaYoung You