positive_string_support 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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cd3678bf6782c39c9a1eac5a52633275c7f17146
4
+ data.tar.gz: a2c4303cea19151d9210888b184bd6d4350d3d07
5
+ SHA512:
6
+ metadata.gz: 9f70deb83bf76c138e5157d3d00ff155532b42779201bb450e558314f4cd4915bb2e85608094f91ccd04d45fd36ad04596dcb0896106b68da4d3d24e0782a6dc
7
+ data.tar.gz: 612464200082d65e6a3b7ac3702a11129ee04a37472c0bba87f29f84b3669d8604ba0fb72dbd9580a66b76fba8a381de49c788868326e248a7088b979838ea34
data/.current_version ADDED
@@ -0,0 +1 @@
1
+ 0.1.3
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ /.latest_version
12
+ /_ignored.rb
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
data/Capfile ADDED
@@ -0,0 +1,33 @@
1
+ # Load DSL and set up stages
2
+ require 'capistrano/setup'
3
+
4
+ # Include default deployment tasks
5
+ require 'capistrano/deploy'
6
+
7
+ require 'deplo'
8
+
9
+ # Include tasks from other gems included in your Gemfile
10
+ #
11
+ # For documentation on these, see for example:
12
+ #
13
+ # https://github.com/capistrano/rvm
14
+ # https://github.com/capistrano/rbenv
15
+ # https://github.com/capistrano/chruby
16
+ # https://github.com/capistrano/bundler
17
+ # https://github.com/capistrano/rails
18
+ # https://github.com/capistrano/passenger
19
+ #
20
+ # require 'capistrano/rvm'
21
+ # require 'capistrano/rbenv'
22
+ # require 'capistrano/chruby'
23
+ # require 'capistrano/bundler'
24
+ # require 'capistrano/rails/assets'
25
+ # require 'capistrano/rails/migrations'
26
+ # require 'capistrano/passenger'
27
+
28
+ # Load custom tasks from `lib/capistrano/tasks` if you have any defined
29
+ Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
30
+
31
+ Rake::Task[:production].invoke
32
+ invoke :production
33
+ set_cap_tasks_from_deplo
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in positive_string_support.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Shu Fujita
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.
22
+
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # PositiveStringSupport
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/positive_string_support`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'positive_string_support'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install positive_string_support
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec positive_string_support` to use the code located in this directory, ignoring other installed copies of this gem.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/[my-github-username]/positive_string_support/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "positive_string_support"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,61 @@
1
+ # server-based syntax
2
+ # ======================
3
+ # Defines a single server with a list of roles and multiple properties.
4
+ # You can define all roles on a single server, or split them:
5
+
6
+ # server 'example.com', user: 'deploy', roles: %w{app db web}, my_property: :my_value
7
+ # server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
8
+ # server 'db.example.com', user: 'deploy', roles: %w{db}
9
+
10
+
11
+
12
+ # role-based syntax
13
+ # ==================
14
+
15
+ # Defines a role with one or multiple servers. The primary server in each
16
+ # group is considered to be the first unless any hosts have the primary
17
+ # property set. Specify the username and a domain or IP for the server.
18
+ # Don't use `:all`, it's a meta role.
19
+
20
+ # role :app, %w{deploy@example.com}, my_property: :my_value
21
+ # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
22
+ # role :db, %w{deploy@example.com}
23
+
24
+
25
+
26
+ # Configuration
27
+ # =============
28
+ # You can set any configuration variable like in config/deploy.rb
29
+ # These variables are then only loaded and set in this stage.
30
+ # For available Capistrano configuration variables see the documentation page.
31
+ # http://capistranorb.com/documentation/getting-started/configuration/
32
+ # Feel free to add new variables to customise your setup.
33
+
34
+
35
+
36
+ # Custom SSH Options
37
+ # ==================
38
+ # You may pass any option but keep in mind that net/ssh understands a
39
+ # limited set of options, consult the Net::SSH documentation.
40
+ # http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
41
+ #
42
+ # Global options
43
+ # --------------
44
+ # set :ssh_options, {
45
+ # keys: %w(/home/rlisowski/.ssh/id_rsa),
46
+ # forward_agent: false,
47
+ # auth_methods: %w(password)
48
+ # }
49
+ #
50
+ # The server-based syntax can be used to override options:
51
+ # ------------------------------------
52
+ # server 'example.com',
53
+ # user: 'user_name',
54
+ # roles: %w{web app},
55
+ # ssh_options: {
56
+ # user: 'user_name', # overrides user setting above
57
+ # keys: %w(/home/user_name/.ssh/id_rsa),
58
+ # forward_agent: false,
59
+ # auth_methods: %w(publickey password)
60
+ # # password: 'please use keys'
61
+ # }
@@ -0,0 +1,61 @@
1
+ # server-based syntax
2
+ # ======================
3
+ # Defines a single server with a list of roles and multiple properties.
4
+ # You can define all roles on a single server, or split them:
5
+
6
+ # server 'example.com', user: 'deploy', roles: %w{app db web}, my_property: :my_value
7
+ # server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
8
+ # server 'db.example.com', user: 'deploy', roles: %w{db}
9
+
10
+
11
+
12
+ # role-based syntax
13
+ # ==================
14
+
15
+ # Defines a role with one or multiple servers. The primary server in each
16
+ # group is considered to be the first unless any hosts have the primary
17
+ # property set. Specify the username and a domain or IP for the server.
18
+ # Don't use `:all`, it's a meta role.
19
+
20
+ # role :app, %w{deploy@example.com}, my_property: :my_value
21
+ # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
22
+ # role :db, %w{deploy@example.com}
23
+
24
+
25
+
26
+ # Configuration
27
+ # =============
28
+ # You can set any configuration variable like in config/deploy.rb
29
+ # These variables are then only loaded and set in this stage.
30
+ # For available Capistrano configuration variables see the documentation page.
31
+ # http://capistranorb.com/documentation/getting-started/configuration/
32
+ # Feel free to add new variables to customise your setup.
33
+
34
+
35
+
36
+ # Custom SSH Options
37
+ # ==================
38
+ # You may pass any option but keep in mind that net/ssh understands a
39
+ # limited set of options, consult the Net::SSH documentation.
40
+ # http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
41
+ #
42
+ # Global options
43
+ # --------------
44
+ # set :ssh_options, {
45
+ # keys: %w(/home/rlisowski/.ssh/id_rsa),
46
+ # forward_agent: false,
47
+ # auth_methods: %w(password)
48
+ # }
49
+ #
50
+ # The server-based syntax can be used to override options:
51
+ # ------------------------------------
52
+ # server 'example.com',
53
+ # user: 'user_name',
54
+ # roles: %w{web app},
55
+ # ssh_options: {
56
+ # user: 'user_name', # overrides user setting above
57
+ # keys: %w(/home/user_name/.ssh/id_rsa),
58
+ # forward_agent: false,
59
+ # auth_methods: %w(publickey password)
60
+ # # password: 'please use keys'
61
+ # }
data/config/deploy.rb ADDED
@@ -0,0 +1,38 @@
1
+ # config valid only for current version of Capistrano
2
+ lock '3.4.0'
3
+
4
+ set :application, 'gem_positive_string_support'
5
+ set :repo_url, 'https://github.com/osorubeki-fujita/positive_string_support.git'
6
+
7
+ set :pj_dir , ::File.expand_path( "#{ ::File.dirname( __FILE__ ) }/.." )
8
+ set :github_remote_name , :origin
9
+
10
+ # Default branch is :master
11
+ # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
12
+
13
+ # Default deploy_to directory is /var/www/my_app_name
14
+ set :deploy_to, '/'
15
+
16
+ # Default value for :scm is :git
17
+ # set :scm, :git
18
+
19
+ # Default value for :format is :pretty
20
+ # set :format, :pretty
21
+
22
+ # Default value for :log_level is :debug
23
+ # set :log_level, :debug
24
+
25
+ # Default value for :pty is false
26
+ # set :pty, true
27
+
28
+ # Default value for :linked_files is []
29
+ # set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml')
30
+
31
+ # Default value for linked_dirs is []
32
+ # set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
33
+
34
+ # Default value for default_env is {}
35
+ # set :default_env, { path: "/opt/ruby/bin:$PATH" }
36
+
37
+ # Default value for keep_releases is 5
38
+ # set :keep_releases, 5
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "positive_string_support"
@@ -0,0 +1,27 @@
1
+ module PositiveStringSupport::RegexpLibrary
2
+
3
+ class << self
4
+
5
+ def string_of_hour_and_min
6
+ /\A( ?\d|\d{1,2})\:(\d{2})\Z/
7
+ end
8
+
9
+ # 括弧に対する正規表現(日本語)
10
+ # @return [Regexp]
11
+ def regexp_for_parentheses_ja
12
+ /([\((〈\|【].+[】\|〉)\)])\Z/
13
+ end
14
+
15
+ def regexp_for_parentheses_en
16
+ /([\(\<\|].+[\|\>\)])\Z/
17
+ end
18
+
19
+ # quotation に対する正規表現
20
+ # @return [Regexp]
21
+ def regexp_for_quotation
22
+ /('.+')$/
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -0,0 +1,115 @@
1
+ class String
2
+
3
+ alias :__to_s__ :to_s
4
+ private :__to_s__
5
+ undef :to_s
6
+
7
+ def to_s( *args )
8
+ to_strf( *args )
9
+ end
10
+
11
+ end
12
+
13
+ # 文字列 String への追加機能をまとめたモジュール
14
+ module PositiveStringSupport::StringExt
15
+
16
+ # インスタンスの情報を整形した文字列にして返すメソッド
17
+ # @param indent [Integer (>=0)] インデントの幅
18
+ # @return [String]
19
+ # @note 配列やハッシュを変換するメソッドから呼び出される。
20
+ def to_strf( indent = 0 )
21
+ " " * indent + __to_s__
22
+ end
23
+
24
+ # バイナリか否かを判定するメソッド
25
+ # @return [Boolean]
26
+ # @note YAML でエラーが発生するのを防ぐために定義している。
27
+ def is_binary_data?
28
+ false # 日本語がバイナリとみなされるのを防ぐ
29
+ end
30
+
31
+ # 全角数字を半角数字に変換するメソッド
32
+ # @return [String]
33
+ def zen_num_to_han
34
+ ::Moji.zen_to_han( self , ::Moji::ZEN_ALNUM )
35
+ end
36
+
37
+ # 全角アルファベットを半角アルファベットに変換するメソッド
38
+ # @return [String]
39
+ def zen_alphabet_to_han
40
+ ::Moji.zen_to_han( self , ::Moji::ZEN_ALPHA )
41
+ end
42
+
43
+ # ひらがなの濁点を除去するメソッド
44
+ def remove_dakuten
45
+ h = {
46
+ "が" => "か" ,
47
+ "ぎ" => "き" ,
48
+ "ぐ" => "く" ,
49
+ "げ" => "け" ,
50
+ "ご" => "こ" ,
51
+ "ざ" => "さ" ,
52
+ "じ" => "し" ,
53
+ "ず" => "す" ,
54
+ "ぜ" => "せ" ,
55
+ "ぞ" => "そ" ,
56
+ "だ" => "た" ,
57
+ "ぢ" => "ち" ,
58
+ "づ" => "つ" ,
59
+ "で" => "て" ,
60
+ "ど" => "と" ,
61
+ "ば" => "は" ,
62
+ "び" => "ひ" ,
63
+ "ぶ" => "ふ" ,
64
+ "べ" => "へ" ,
65
+ "ぼ" => "ほ" ,
66
+ "ぱ" => "は" ,
67
+ "ぴ" => "ひ" ,
68
+ "ぷ" => "ふ" ,
69
+ "ぺ" => "へ" ,
70
+ "ぽ" => "ほ"
71
+ }
72
+
73
+ gsub( /[#{h.keys.join}]/ , h )
74
+ end
75
+
76
+ def hour_and_min?
77
+ ::PositiveStringSupport::RegexpLibrary.string_of_hour_and_min =~ self
78
+ end
79
+
80
+ alias :is_hour_and_min? :hour_and_min?
81
+
82
+ def to_array_of_hour_and_min
83
+ if hour_and_min?
84
+ split( /\:/ ).map( &:to_i )
85
+ else
86
+ raise "Error: #{ self } (#{self.class.name}) is not valid."
87
+ end
88
+ end
89
+
90
+ # ファイル名を処理するメソッド
91
+ def convert_slash_to_yen
92
+ gsub( /\\/ , "\/" )
93
+ end
94
+
95
+ # ファイル名を処理するメソッド
96
+ def convert_yen_to_slash
97
+ gsub( /\// , "\\" )
98
+ end
99
+
100
+ def convert_meta_character_in_regexp
101
+ gsub( /(?=[\(\)\[\]\{\}\.\?\+\*\|\\])/ , "\\" )
102
+ end
103
+
104
+ def convert_comma_between_number_to_dot
105
+ gsub( /(?<=\d)、(?=\d)/ , "・" )
106
+ end
107
+
108
+ # ファイル名として適切か否かを判定する.
109
+ # @note スペース (" "), "?", "!" がファイル名に含まれていなければ true を返す.
110
+ # @return [Boolean]
111
+ def valid_as_filename?
112
+ /[ \?\!]/ !~ self
113
+ end
114
+
115
+ end
@@ -0,0 +1,3 @@
1
+ module PositiveStringSupport
2
+ VERSION = ::File.open( "#{ ::File.dirname( __FILE__ ) }/../../.current_version" , "r:utf-8" ).read.chomp
3
+ end
@@ -0,0 +1,24 @@
1
+ require "positive_string_support/version"
2
+
3
+ require "active_support"
4
+ require "active_support/core_ext"
5
+ require "moji"
6
+
7
+ require_relative "positive_string_support/string_ext"
8
+ require_relative "positive_string_support/regexp_library"
9
+
10
+ module PositiveStringSupport
11
+
12
+ extend ::ActiveSupport::Concern
13
+
14
+ included do
15
+
16
+ ::String.class_eval do
17
+ include ::PositiveStringSupport::StringExt
18
+ end
19
+
20
+ end
21
+
22
+ end
23
+
24
+ include PositiveStringSupport
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'positive_string_support/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "positive_string_support"
8
+ spec.version = PositiveStringSupport::VERSION
9
+ spec.authors = ["Shu Fujita"]
10
+ spec.email = ["osorubeki.fujita@gmail.com"]
11
+
12
+ spec.summary = "This gem provides useful methods for String class (built-in class of Ruby)."
13
+ # spec.description = %q{TODO: Write a longer description or delete this line.}
14
+ spec.homepage = "https://github.com/osorubeki-fujita/positive_string_support"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.9"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "rspec"
33
+
34
+ spec.add_development_dependency "capistrano"
35
+ spec.add_development_dependency "deplo", ">= 0.1.4"
36
+
37
+ spec.add_runtime_dependency "activesupport" , ">= 4.2.1"
38
+ spec.add_runtime_dependency "positive_basic_support", ">= 0.1.2"
39
+
40
+ spec.add_runtime_dependency "moji" , ">= 1.6"
41
+ end
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: positive_string_support
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Shu Fujita
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: capistrano
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: deplo
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 0.1.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 0.1.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 4.2.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 4.2.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: positive_basic_support
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 0.1.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 0.1.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: moji
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '1.6'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '1.6'
125
+ description:
126
+ email:
127
+ - osorubeki.fujita@gmail.com
128
+ executables:
129
+ - positive_string_support
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".current_version"
134
+ - ".gitignore"
135
+ - ".rspec"
136
+ - ".travis.yml"
137
+ - Capfile
138
+ - Gemfile
139
+ - LICENSE
140
+ - README.md
141
+ - Rakefile
142
+ - bin/console
143
+ - bin/setup
144
+ - config/deploy.rb
145
+ - config/deploy/production.rb
146
+ - config/deploy/staging.rb
147
+ - exe/positive_string_support
148
+ - lib/positive_string_support.rb
149
+ - lib/positive_string_support/regexp_library.rb
150
+ - lib/positive_string_support/string_ext.rb
151
+ - lib/positive_string_support/version.rb
152
+ - positive_string_support.gemspec
153
+ homepage: https://github.com/osorubeki-fujita/positive_string_support
154
+ licenses:
155
+ - MIT
156
+ metadata: {}
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ requirements: []
172
+ rubyforge_project:
173
+ rubygems_version: 2.4.6
174
+ signing_key:
175
+ specification_version: 4
176
+ summary: This gem provides useful methods for String class (built-in class of Ruby).
177
+ test_files: []
178
+ has_rdoc: