pebbles-suddenly_death_string 0.0.1 → 0.0.2

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: a20466b770b1f79e92177313acc9050979992132
4
- data.tar.gz: 18f81020a73abc0371d32c75f8ba7ae8d9d9f46b
3
+ metadata.gz: a312e18cdd197acc30096e19d122f389bc4b9178
4
+ data.tar.gz: bbb3dbd91df98e5c59efc1da8166461988fd8c50
5
5
  SHA512:
6
- metadata.gz: eb0983b94bc92c43096f0bd0817f80189f5e92cceb6e6fdd6064bc2420e49aa29b36e7100f6b20b6b67cbd77be8d26de8ffac0806df1866da36ae59139d2d240
7
- data.tar.gz: c9e2aeacd194856fce6cca122378212587d366fd0e8e5be2b40efcea09d4f16ce4eb9a91b4d662f67937d2236bb14baa77842c7cd3034d162930407704bfeba0
6
+ metadata.gz: a10d2c35e15af9c90149f77cb2f24d73c5c8e4dbac94d0c4a8bc85b8d2f6a4c30465594d7a7a5c4efb26fb5b145b26b92975ef9154ecead552d136036e018b92
7
+ data.tar.gz: dbfe5188823ac195231e7017d019dda91cd223ac5ff879d43ba54015bf2c4397470795ea9d0b99599228ed4218cea8ebdc6d65a95e2a779dacfe2e53a2ec1c51
data/README.md CHANGED
@@ -21,21 +21,32 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  ```ruby
24
+ # ruby
24
25
  require 'pebbles/suddenly_death_string'
25
26
 
26
27
  puts '突然の死'.to_suddenly_death
28
+
27
29
  #=>
28
30
  # _人人人人人人_
29
31
  # > 突然の死 <
30
32
  #  ̄Y^Y^Y^Y^Y ̄
31
33
 
32
34
  puts Object.to_suddenly_death
35
+
33
36
  #=>
34
37
  # _人人人人人_
35
38
  # > Object <
36
39
  #  ̄Y^Y^Y^Y ̄
40
+ ```
37
41
 
42
+ ```sh
43
+ # shell
44
+ $ suddenly "突然の死"
38
45
 
46
+ #=>
47
+ # _人人人人人人_
48
+ # > 突然の死 <
49
+ #  ̄Y^Y^Y^Y^Y ̄
39
50
  ```
40
51
 
41
52
  ## Contributing
data/bin/suddenly ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- encoding: utf-8 -*-
3
+
4
+ require 'pebbles/suddenly_death_string'
5
+
6
+
7
+ if ARGV.length == 0
8
+ puts '突然の死'.to_suddenly_death
9
+ else
10
+ puts ARGV[0].to_suddenly_death
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Pebbles
2
2
  module SuddenlyDeathString
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebbles-suddenly_death_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-15 00:00:00.000000000 Z
11
+ date: 2013-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -41,7 +41,8 @@ dependencies:
41
41
  description: a joke gem
42
42
  email:
43
43
  - fukayatsu@gmail.com
44
- executables: []
44
+ executables:
45
+ - suddenly
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files:
@@ -50,6 +51,7 @@ files:
50
51
  - LICENSE.txt
51
52
  - README.md
52
53
  - Rakefile
54
+ - bin/suddenly
53
55
  - lib/pebbles/suddenly_death_string.rb
54
56
  - lib/pebbles/suddenly_death_string/ext/object.rb
55
57
  - lib/pebbles/suddenly_death_string/version.rb