ragabash 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +9 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +90 -0
- data/.travis.yml +15 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +7 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/lib/ragabash.rb +8 -0
- data/lib/ragabash/awesome_string_formatter.rb +68 -0
- data/lib/ragabash/ext/awesome_strings.rb +5 -0
- data/lib/ragabash/ext/pry_awesome_print.rb +7 -0
- data/lib/ragabash/refinements.rb +116 -0
- data/lib/ragabash/version.rb +4 -0
- data/ragabash.gemspec +35 -0
- metadata +203 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f525237ed9e30ba2686a2d1ee51f33105d4160af
|
4
|
+
data.tar.gz: 92961fbbd0a3934233c1fcfbd21cc2e4e9ce5414
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f2e1493d650a7fccfca4a4c7a2c50b36e6d3127f8126a3b5c9da3650a941e24c787a9aaa6c8c566ad38d8f3e69f3fc1cd1c22c8b972c9ef6b63350f2b9931606
|
7
|
+
data.tar.gz: f93225111a737a5fe8a50c436c93931a5149ddbd80db3644b2a08c06d9324c9bbca7b8e1683eb4c42f42fff8d34ea4b4e2c9bd0a29cbfa1c3258613eebb14fd7
|
data/.codeclimate.yml
ADDED
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.3
|
3
|
+
|
4
|
+
# Metrics
|
5
|
+
Metrics/AbcSize:
|
6
|
+
Description: >-
|
7
|
+
A calculated magnitude based on number of assignments,
|
8
|
+
branches, and conditions.
|
9
|
+
Reference: 'http://c2.com/cgi/wiki?AbcMetric'
|
10
|
+
Enabled: false
|
11
|
+
Max: 20
|
12
|
+
|
13
|
+
Metrics/BlockNesting:
|
14
|
+
Description: 'Avoid excessive block nesting'
|
15
|
+
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
|
16
|
+
Enabled: true
|
17
|
+
Max: 4
|
18
|
+
|
19
|
+
Metrics/ClassLength:
|
20
|
+
Description: 'Avoid classes longer than 250 lines of code.'
|
21
|
+
Enabled: true
|
22
|
+
Max: 250
|
23
|
+
|
24
|
+
Metrics/CyclomaticComplexity:
|
25
|
+
Description: >-
|
26
|
+
A complexity metric that is strongly correlated to the number
|
27
|
+
of test cases needed to validate a method.
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
Metrics/LineLength:
|
31
|
+
Description: 'Limit lines to 80 characters.'
|
32
|
+
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
Metrics/MethodLength:
|
36
|
+
Description: 'Avoid methods longer than 30 lines of code.'
|
37
|
+
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
|
38
|
+
Enabled: true
|
39
|
+
Max: 30
|
40
|
+
|
41
|
+
Metrics/ModuleLength:
|
42
|
+
Description: 'Avoid modules longer than 250 lines of code.'
|
43
|
+
Enabled: true
|
44
|
+
Max: 250
|
45
|
+
|
46
|
+
Metrics/ParameterLists:
|
47
|
+
Description: 'Avoid parameter lists longer than three or four parameters.'
|
48
|
+
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Metrics/PerceivedComplexity:
|
52
|
+
Description: >-
|
53
|
+
A complexity metric geared towards measuring complexity for a
|
54
|
+
human reader.
|
55
|
+
Enabled: false
|
56
|
+
|
57
|
+
# Style
|
58
|
+
Style/AsciiComments:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
Style/CollectionMethods:
|
62
|
+
Enabled: true
|
63
|
+
|
64
|
+
Style/Documentation:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Style/FormatString:
|
68
|
+
EnforcedStyle: percent
|
69
|
+
|
70
|
+
Style/HashSyntax:
|
71
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
72
|
+
|
73
|
+
Style/MethodCalledOnDoEndBlock:
|
74
|
+
Enabled: true
|
75
|
+
|
76
|
+
Style/PercentLiteralDelimiters:
|
77
|
+
PreferredDelimiters:
|
78
|
+
'%i': '[]'
|
79
|
+
'%I': '[]'
|
80
|
+
'%w': '[]'
|
81
|
+
'%W': '[]'
|
82
|
+
|
83
|
+
Style/StringLiterals:
|
84
|
+
EnforcedStyle: double_quotes
|
85
|
+
|
86
|
+
Style/SymbolArray:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Style/TrailingCommaInLiteral:
|
90
|
+
EnforcedStyleForMultiline: comma
|
data/.travis.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.3.1
|
5
|
+
- 2.2
|
6
|
+
- 2.4.0-preview1
|
7
|
+
matrix:
|
8
|
+
allow_failures:
|
9
|
+
- rvm: 2.4.0-preview1
|
10
|
+
|
11
|
+
before_install: gem install bundler -v 1.12.5
|
12
|
+
script: bundle exec rake spec SPEC_OPTS="--format p"
|
13
|
+
addons:
|
14
|
+
code_climate:
|
15
|
+
repo_token: 65276d9bbeb1bc990342faa04d89bfc4a84534329cee34bc5b7c513e4f6c3e3e
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at nomoon@phoebus.ca. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Tim Bellefleur
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Ragabash
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/nomoon/ragabash.svg?branch=master)](https://travis-ci.org/nomoon/ragabash)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/nomoon/ragabash/badges/gpa.svg)](https://codeclimate.com/github/nomoon/ragabash)
|
5
|
+
[![Test Coverage](https://codeclimate.com/github/nomoon/ragabash/badges/coverage.svg)](https://codeclimate.com/github/nomoon/ragabash/coverage)
|
6
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/nomoon/ragabash.svg)](https://gemnasium.com/github.com/nomoon/ragabash)
|
7
|
+
|
8
|
+
"A collection of useful extensions, refinements, and tools."
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "ragabash"
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install ragabash
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
TODO: Write usage instructions here
|
29
|
+
|
30
|
+
## Development
|
31
|
+
|
32
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
33
|
+
|
34
|
+
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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nomoon/ragabash. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
+
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "ragabash"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
require "pry"
|
11
|
+
Pry.start
|
data/bin/setup
ADDED
data/lib/ragabash.rb
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "rouge"
|
3
|
+
|
4
|
+
module Ragabash
|
5
|
+
module AwesomeStringFormatter
|
6
|
+
def self.included(base)
|
7
|
+
base.send :alias_method, :cast_without_string, :cast
|
8
|
+
base.send :alias_method, :cast, :cast_with_string
|
9
|
+
end
|
10
|
+
|
11
|
+
def cast_with_string(object, type)
|
12
|
+
object.is_a?(::String) ? :string : cast_without_string(object, type)
|
13
|
+
end
|
14
|
+
|
15
|
+
MULTILINE_UNESCAPES = {
|
16
|
+
"\\t" => "\t",
|
17
|
+
"\\n" => "\n",
|
18
|
+
"\\r\\n" => "\n",
|
19
|
+
'\\"' => '"',
|
20
|
+
}.freeze
|
21
|
+
R_FORMATTER = ::Rouge::Formatters::Terminal256.new
|
22
|
+
R_LEXERS = ::Rouge::Lexer.all
|
23
|
+
private_constant :MULTILINE_UNESCAPES, :R_FORMATTER, :R_LEXERS
|
24
|
+
|
25
|
+
def awesome_string(string)
|
26
|
+
lexers = ::Rouge::Guessers::Source.new(string).filter(R_LEXERS)
|
27
|
+
if !lexers.empty?
|
28
|
+
format_syntax_string(string, lexers.first)
|
29
|
+
elsif string =~ /(?:\r?\n)(?!\z)/
|
30
|
+
format_multiline_string(string)
|
31
|
+
else
|
32
|
+
format_plain_string(string)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def format_syntax_string(string, lexer)
|
39
|
+
label = heredoc_label(lexer.name.gsub(/^.*::/, ""))
|
40
|
+
string = R_FORMATTER.format(lexer.lex(string))
|
41
|
+
"<<#{label}\n#{string}\n#{label}"
|
42
|
+
end
|
43
|
+
|
44
|
+
def format_multiline_string(string)
|
45
|
+
string = string.inspect[1..-2]
|
46
|
+
string.gsub!(/\\r\\n|\\[tn"]/, MULTILINE_UNESCAPES)
|
47
|
+
colorize_string_with_escapes!(string)
|
48
|
+
label = heredoc_label("String")
|
49
|
+
%(<<#{label}\n#{string}\n#{label})
|
50
|
+
end
|
51
|
+
|
52
|
+
def format_plain_string(string)
|
53
|
+
string = string.inspect[1..-2]
|
54
|
+
colorize_string_with_escapes!(string)
|
55
|
+
%("#{string}")
|
56
|
+
end
|
57
|
+
|
58
|
+
def heredoc_label(name)
|
59
|
+
%(#{colorize('__"', :keyword)}#{colorize(name, :class)}#{colorize('"__', :keyword)})
|
60
|
+
end
|
61
|
+
|
62
|
+
def colorize_string_with_escapes!(string)
|
63
|
+
string.gsub!(/[^\\]+|\\./) do |m|
|
64
|
+
colorize(m, m.start_with?("\\") ? :symbol : :string)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "ice_nine"
|
3
|
+
|
4
|
+
module Ragabash
|
5
|
+
module Refinements
|
6
|
+
# rubocop:disable Style/Alias
|
7
|
+
refine ::Object do
|
8
|
+
def deep_freeze
|
9
|
+
IceNine.deep_freeze(self)
|
10
|
+
end
|
11
|
+
|
12
|
+
def deep_freeze!
|
13
|
+
IceNine.deep_freeze!(self)
|
14
|
+
end
|
15
|
+
|
16
|
+
def try_dup
|
17
|
+
dup
|
18
|
+
rescue TypeError
|
19
|
+
self
|
20
|
+
end
|
21
|
+
alias deep_dup try_dup
|
22
|
+
alias safe_copy try_dup
|
23
|
+
end
|
24
|
+
|
25
|
+
refine ::NilClass do
|
26
|
+
def try_dup
|
27
|
+
self
|
28
|
+
end
|
29
|
+
alias deep_dup try_dup
|
30
|
+
alias safe_copy try_dup
|
31
|
+
end
|
32
|
+
|
33
|
+
refine ::FalseClass do
|
34
|
+
def try_dup
|
35
|
+
self
|
36
|
+
end
|
37
|
+
alias deep_dup try_dup
|
38
|
+
alias safe_copy try_dup
|
39
|
+
end
|
40
|
+
|
41
|
+
refine ::TrueClass do
|
42
|
+
def try_dup
|
43
|
+
self
|
44
|
+
end
|
45
|
+
alias deep_dup try_dup
|
46
|
+
alias safe_copy try_dup
|
47
|
+
end
|
48
|
+
|
49
|
+
refine ::Symbol do
|
50
|
+
def try_dup
|
51
|
+
self
|
52
|
+
end
|
53
|
+
alias deep_dup try_dup
|
54
|
+
alias safe_copy try_dup
|
55
|
+
end
|
56
|
+
|
57
|
+
refine ::Numeric do
|
58
|
+
def try_dup
|
59
|
+
self
|
60
|
+
end
|
61
|
+
alias deep_dup try_dup
|
62
|
+
alias safe_copy try_dup
|
63
|
+
end
|
64
|
+
|
65
|
+
# Necessary to re-override Numeric
|
66
|
+
require "bigdecimal"
|
67
|
+
refine ::BigDecimal do
|
68
|
+
def try_dup
|
69
|
+
dup
|
70
|
+
end
|
71
|
+
alias deep_dup try_dup
|
72
|
+
|
73
|
+
def safe_copy
|
74
|
+
frozen? ? self : dup
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
refine ::String do
|
79
|
+
def safe_copy
|
80
|
+
frozen? ? self : dup
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
refine ::Array do
|
85
|
+
def deep_dup
|
86
|
+
map { |value| value.deep_dup } # rubocop:disable Style/SymbolProc
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
refine ::Hash do
|
91
|
+
def deep_dup
|
92
|
+
hash = dup
|
93
|
+
each_pair do |key, value|
|
94
|
+
if ::String === key # rubocop:disable Style/CaseEquality
|
95
|
+
hash[key] = value.deep_dup
|
96
|
+
else
|
97
|
+
hash.delete(key)
|
98
|
+
hash[key.deep_dup] = value.deep_dup
|
99
|
+
end
|
100
|
+
end
|
101
|
+
hash
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
refine ::Set do
|
106
|
+
def deep_dup
|
107
|
+
set_a = to_a
|
108
|
+
set_a.map! do |val|
|
109
|
+
next val if ::String === val # rubocop:disable Style/CaseEquality
|
110
|
+
val.deep_dup
|
111
|
+
end
|
112
|
+
self.class[set_a]
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
data/ragabash.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
lib = File.expand_path("../lib", __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "ragabash/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "ragabash"
|
9
|
+
spec.version = Ragabash::VERSION
|
10
|
+
spec.authors = ["Tim Bellefleur"]
|
11
|
+
spec.email = ["nomoon@phoebus.ca"]
|
12
|
+
|
13
|
+
spec.summary = "A collection of useful extensions, refinements, and tools."
|
14
|
+
spec.homepage = "https://github.com/nomoon/ragabash"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.required_ruby_version = "~> 2.2"
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
25
|
+
spec.add_development_dependency "rake", "~> 11.2"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.5"
|
27
|
+
spec.add_development_dependency "codeclimate-test-reporter", "~> 0.6"
|
28
|
+
spec.add_development_dependency "rubocop", "~> 0.41"
|
29
|
+
spec.add_development_dependency "yard", "~> 0.9"
|
30
|
+
|
31
|
+
spec.add_runtime_dependency "ice_nine", "~> 0.11"
|
32
|
+
spec.add_runtime_dependency "awesome_print", "~> 1.7"
|
33
|
+
spec.add_runtime_dependency "rouge", "~> 2.0"
|
34
|
+
spec.add_runtime_dependency "pry", "~> 0.10"
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ragabash
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tim Bellefleur
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-23 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.12'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '11.2'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '11.2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: codeclimate-test-reporter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.41'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.41'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: yard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.9'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.9'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: ice_nine
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.11'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.11'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: awesome_print
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.7'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.7'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rouge
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.10'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.10'
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- nomoon@phoebus.ca
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".codeclimate.yml"
|
161
|
+
- ".gitignore"
|
162
|
+
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
164
|
+
- ".travis.yml"
|
165
|
+
- CODE_OF_CONDUCT.md
|
166
|
+
- Gemfile
|
167
|
+
- LICENSE.txt
|
168
|
+
- README.md
|
169
|
+
- Rakefile
|
170
|
+
- bin/console
|
171
|
+
- bin/setup
|
172
|
+
- lib/ragabash.rb
|
173
|
+
- lib/ragabash/awesome_string_formatter.rb
|
174
|
+
- lib/ragabash/ext/awesome_strings.rb
|
175
|
+
- lib/ragabash/ext/pry_awesome_print.rb
|
176
|
+
- lib/ragabash/refinements.rb
|
177
|
+
- lib/ragabash/version.rb
|
178
|
+
- ragabash.gemspec
|
179
|
+
homepage: https://github.com/nomoon/ragabash
|
180
|
+
licenses:
|
181
|
+
- MIT
|
182
|
+
metadata: {}
|
183
|
+
post_install_message:
|
184
|
+
rdoc_options: []
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - "~>"
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '2.2'
|
192
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
requirements: []
|
198
|
+
rubyforge_project:
|
199
|
+
rubygems_version: 2.6.6
|
200
|
+
signing_key:
|
201
|
+
specification_version: 4
|
202
|
+
summary: A collection of useful extensions, refinements, and tools.
|
203
|
+
test_files: []
|