flippy 0.1.2 → 0.1.3

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: 950c446e1b2b910ccfa131f9a244e8be4d3b9c68
4
- data.tar.gz: 5ef5ef2804b11d2b3ed69a8713ae0ae7352acfe6
3
+ metadata.gz: dd4ee5cc83cd5fb4b098d4933e331305f09721d1
4
+ data.tar.gz: d952d0015e877b4ba83ea9963e41a9b3c7214a9d
5
5
  SHA512:
6
- metadata.gz: 617c6b5b995238116ba7193e13d1c110441ee03582a99f9837c3218aa40381d5f6976d514b1f33cbf5bd99328431f54a661a148f66fe87e40052e3da48675b58
7
- data.tar.gz: 44494a1118ebe2567f2e4365934cc218ee95f643030d067ab6014de07e7a091ab1882c22c86203714b7d5778d53b0179a276a4cfc0b53a84238146173b10576a
6
+ metadata.gz: 593f167ce2be63a64a771c592e96e512ff27b7f6649989f035d77fdbf563b9353d3373790fd788b323d6620dde97e6a6c957dcbe7e81d10782f20ff29d4ef9b1
7
+ data.tar.gz: 32e27c9e41862179fb33cc55d18278397f2fce37172211f64e59e42c9154bf0bcea7c9afdd734c0667bd1f79d9adf1372a191e542535849ceccd21180ecf2dab
data/bin/flippy CHANGED
@@ -2,7 +2,7 @@
2
2
  # encoding: UTF-8
3
3
 
4
4
  require_relative '../lib/flippy'
5
- require "trollop"
5
+ require "optimist"
6
6
 
7
7
  class String
8
8
  include Flippy
@@ -14,7 +14,7 @@ end
14
14
 
15
15
  class OptionParser
16
16
  def self.parse!
17
- Trollop::options do
17
+ Optimist::options do
18
18
  version "flippy #{Flippy::VERSION} (c) 2013 kyoendo"
19
19
  banner ~<<-EOS
20
20
  Fippy makes a text upside down, like "twitter" to "ɹəʇʇᴉʍʇ".
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
  gem.required_ruby_version = '>=1.9.3'
20
- gem.add_dependency 'trollop'
20
+ gem.add_dependency 'optimist'
21
21
  gem.add_dependency 'ruby-termios'
22
22
  gem.add_development_dependency 'rspec'
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Flippy
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -12,9 +12,9 @@ module Flippy::Vertical
12
12
  # "Hi\nFo".vertical => "F H "
13
13
  # "o i "
14
14
  #
15
- # Last part after "//" symbol is taken as a normal writing part.
15
+ # Last part after "++" symbol is taken as a normal writing part.
16
16
  #
17
- # "Hi\nFo//by me".vertical => "F H "
17
+ # "Hi\nFo++by me".vertical => "F H "
18
18
  # "o i by me"
19
19
  #
20
20
  def vertical
@@ -40,7 +40,7 @@ EOS
40
40
  end
41
41
 
42
42
  context "vertical horizontal mix string" do
43
- subject { "ニッポンの//自然".vertical }
43
+ subject { "ニッポンの++自然".vertical }
44
44
  it { should eq <<-EOS.chomp }
45
45
 
46
46
 
@@ -51,15 +51,15 @@ EOS
51
51
  end
52
52
 
53
53
  context "vertical horizontal mix string" do
54
- subject { "ニッポンの//自然//大切に。".vertical }
54
+ subject { "ニッポンの++自然++大切に。".vertical }
55
55
  it { should eq <<-EOS.chomp }
56
56
 
57
57
 
58
58
 
59
59
 
60
60
 
61
- /
62
- /
61
+ +
62
+ +
63
63
 
64
64
  然大切に。
65
65
  EOS
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flippy
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
  - kyoendo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-21 00:00:00.000000000 Z
11
+ date: 2018-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: trollop
14
+ name: optimist
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-termios
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Fippy makes a text upside down, like "twitter" to "ɹəʇʇᴉʍʇ".
@@ -60,7 +60,7 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - Gemfile
65
65
  - History.txt
66
66
  - LICENSE.txt
@@ -84,17 +84,17 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 1.9.3
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - '>='
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.0.0
97
+ rubygems_version: 2.6.13
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Fippy makes a text upside down, like "twitter" to "ɹəʇʇᴉʍʇ".