lite-ruby 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.fasterer.yml +19 -0
- data/.gitignore +11 -0
- data/.rspec +4 -0
- data/.rubocop.yml +32 -0
- data/.travis.yml +24 -0
- data/CHANGELOG.md +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +119 -0
- data/LICENSE.txt +21 -0
- data/README.md +96 -0
- data/Rakefile +8 -0
- data/_config.yml +1 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docs/ARRAY.md +284 -0
- data/docs/DATE.md +78 -0
- data/docs/ENUMERABLE.md +174 -0
- data/docs/HASH.md +282 -0
- data/docs/INTEGER.md +43 -0
- data/docs/KERNEL.md +31 -0
- data/docs/NUMERIC.md +302 -0
- data/docs/OBJECT.md +322 -0
- data/docs/RANGE.md +55 -0
- data/docs/STRING.md +463 -0
- data/docs/TIME.md +86 -0
- data/lib/generators/lite/ruby/install_generator.rb +17 -0
- data/lib/generators/lite/ruby/templates/install.rb +15 -0
- data/lib/lite/ruby.rb +16 -0
- data/lib/lite/ruby/array.rb +290 -0
- data/lib/lite/ruby/configuration.rb +42 -0
- data/lib/lite/ruby/date.rb +27 -0
- data/lib/lite/ruby/enumerable.rb +167 -0
- data/lib/lite/ruby/hash.rb +284 -0
- data/lib/lite/ruby/helpers/date_helper.rb +105 -0
- data/lib/lite/ruby/helpers/time_helper.rb +84 -0
- data/lib/lite/ruby/integer.rb +45 -0
- data/lib/lite/ruby/kernel.rb +29 -0
- data/lib/lite/ruby/numeric.rb +210 -0
- data/lib/lite/ruby/object.rb +182 -0
- data/lib/lite/ruby/range.rb +32 -0
- data/lib/lite/ruby/string.rb +412 -0
- data/lib/lite/ruby/time.rb +26 -0
- data/lib/lite/ruby/version.rb +9 -0
- data/lite-ruby.gemspec +48 -0
- metadata +200 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 329151a0021c9f782b6c9b32c60401cd35e2f94d73b24a69d5e6d48ff3c29fce
|
4
|
+
data.tar.gz: 96f11da93a7a669dd1f356022a39cd1c4456a22b3afda67562f46c19b63db794
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 66527e6752355b6374ba751ee3dd67dcc17fa4b340dc009d7d3e6e54e24345d668f8d911b9fb67fdaed74d0ee92c7e10451394946bce1faebb9a5a85caf3d39d
|
7
|
+
data.tar.gz: 48b9b357661552e2c0664a1c49ce66ad9bcb7c96b36a7d791932971f30ce940dda9343fdeedcea999778b816f9b86d20fcafe9204b90a04e32b0992cd03bf85e
|
data/.fasterer.yml
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
speedups:
|
2
|
+
block_vs_symbol_to_proc: true
|
3
|
+
each_with_index_vs_while: false
|
4
|
+
fetch_with_argument_vs_block: true
|
5
|
+
for_loop_vs_each: true
|
6
|
+
getter_vs_attr_reader: true
|
7
|
+
gsub_vs_tr: true
|
8
|
+
hash_merge_bang_vs_hash_brackets: true
|
9
|
+
keys_each_vs_each_key: true
|
10
|
+
map_flatten_vs_flat_map: true
|
11
|
+
module_eval: true
|
12
|
+
proc_call_vs_yield: true
|
13
|
+
rescue_vs_respond_to: true
|
14
|
+
reverse_each_vs_reverse_each: true
|
15
|
+
select_first_vs_detect: true
|
16
|
+
select_last_vs_reverse_detect: true
|
17
|
+
setter_vs_attr_writer: true
|
18
|
+
shuffle_first_vs_sample: true
|
19
|
+
sort_vs_sort_by: true
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rspec
|
4
|
+
AllCops:
|
5
|
+
TargetRubyVersion: 2.6
|
6
|
+
DisplayCopNames: true
|
7
|
+
DisplayStyleGuide: true
|
8
|
+
LineLength:
|
9
|
+
Max: 100
|
10
|
+
Layout/EmptyLinesAroundBlockBody:
|
11
|
+
Exclude:
|
12
|
+
- 'spec/**/**/*'
|
13
|
+
Layout/EmptyLinesAroundClassBody:
|
14
|
+
EnforcedStyle: empty_lines_except_namespace
|
15
|
+
Layout/EmptyLinesAroundModuleBody:
|
16
|
+
EnforcedStyle: empty_lines_except_namespace
|
17
|
+
Metrics/BlockLength:
|
18
|
+
Exclude:
|
19
|
+
- 'spec/**/**/*'
|
20
|
+
- '*.gemspec'
|
21
|
+
Metrics/ClassLength:
|
22
|
+
Enabled: false
|
23
|
+
Metrics/ModuleLength:
|
24
|
+
Enabled: false
|
25
|
+
RSpec/ExampleLength:
|
26
|
+
Enabled: false
|
27
|
+
RSpec/MultipleExpectations:
|
28
|
+
Enabled: false
|
29
|
+
Style/Documentation:
|
30
|
+
Enabled: false
|
31
|
+
Style/ExpandPathArguments:
|
32
|
+
Enabled: false
|
data/.travis.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
cache: bundler
|
4
|
+
rvm:
|
5
|
+
- 2.5
|
6
|
+
- 2.6
|
7
|
+
- ruby-head
|
8
|
+
matrix:
|
9
|
+
fast_finish: true
|
10
|
+
allow_failures:
|
11
|
+
- rvm: ruby-head
|
12
|
+
before_install:
|
13
|
+
- gem update --system
|
14
|
+
- gem install bundler
|
15
|
+
install:
|
16
|
+
- bundle install --jobs=3 --retry=3
|
17
|
+
script:
|
18
|
+
- bundle exec rspec
|
19
|
+
- bundle exec rubocop
|
20
|
+
# - bundle exec fasterer
|
21
|
+
notifications:
|
22
|
+
email: false
|
23
|
+
slack:
|
24
|
+
secure: oyAdZqtJEaCrJe1MAIL1pgM9SPCoqUN1TzoDwNKO1amIIsM7Db55VD3Y9vIpBNkDHJ7A2UrcL/19DhMIaE57JBebed4U6vmgLcFoZ4lJsIe+uFDzAfYOuQPa/UgCYcj3yN9S3FQ6HMXQKaZgMqjix44iIfxVfy+vVDPNfMFiAveBYOdFSAWU82vqPrEApEvMwa0EcVKdQi4GNucvcINNrAitGsLWUCnZ7WHNJJBIOPqg7I5jMy+p3C0lq6xwQ37FhTQTyrj+PaMqJmC14ammPjeTzAafBn/AFRMDXu418eBQ8HJIbEQ8c0ULJ648dTSU/k8Jv9TNQpbs9wsoQNa3uW4zpzqh8zvQtcJ1ILtHWaBf230Ib1eQeo21WuVtT97CQABmwyNvBm9E0jfUWrh3yyNyoX+Bl04tgKaH0eoigaBX+g3UFdXUtgNM5KE7hHcgwYROFP19+pAZcwWLSYQmhbNn1h/Xg6tOrPy/tFdWBvlf+2MXRTwhSOHDNP3GGKiWRD+1qbIn7EO9rgr8wczNE4bykv9MoVTlOzkCmNkVl5RMgTVhsgJOoNKGCeZ0z4Lfu8bN278/4+BXaGcE5ctb8LsF6m4jFzkg66bvcb1iDQetmiFcIR/7C+S6yWE+FaM91tfaCFwwT9s/Y4hnDD5m6HBvyCW8iCjgmRybjxGpELQ=
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [1.0.0] - 2019-07-12
|
10
|
+
### Added
|
11
|
+
- Initial project version
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at j.gomez@drexed.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
lite-ruby (1.0.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionpack (5.2.3)
|
10
|
+
actionview (= 5.2.3)
|
11
|
+
activesupport (= 5.2.3)
|
12
|
+
rack (~> 2.0)
|
13
|
+
rack-test (>= 0.6.3)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
16
|
+
actionview (5.2.3)
|
17
|
+
activesupport (= 5.2.3)
|
18
|
+
builder (~> 3.1)
|
19
|
+
erubi (~> 1.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
22
|
+
activesupport (5.2.3)
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
|
+
i18n (>= 0.7, < 2)
|
25
|
+
minitest (~> 5.1)
|
26
|
+
tzinfo (~> 1.1)
|
27
|
+
ast (2.4.0)
|
28
|
+
builder (3.2.3)
|
29
|
+
colorize (0.8.1)
|
30
|
+
concurrent-ruby (1.1.5)
|
31
|
+
crass (1.0.4)
|
32
|
+
diff-lcs (1.3)
|
33
|
+
erubi (1.8.0)
|
34
|
+
fasterer (0.6.0)
|
35
|
+
colorize (~> 0.7)
|
36
|
+
ruby_parser (>= 3.13.0)
|
37
|
+
generator_spec (0.9.4)
|
38
|
+
activesupport (>= 3.0.0)
|
39
|
+
railties (>= 3.0.0)
|
40
|
+
i18n (1.6.0)
|
41
|
+
concurrent-ruby (~> 1.0)
|
42
|
+
jaro_winkler (1.5.3)
|
43
|
+
loofah (2.2.3)
|
44
|
+
crass (~> 1.0.2)
|
45
|
+
nokogiri (>= 1.5.9)
|
46
|
+
method_source (0.9.2)
|
47
|
+
mini_portile2 (2.4.0)
|
48
|
+
minitest (5.11.3)
|
49
|
+
nokogiri (1.10.3)
|
50
|
+
mini_portile2 (~> 2.4.0)
|
51
|
+
parallel (1.17.0)
|
52
|
+
parser (2.6.3.0)
|
53
|
+
ast (~> 2.4.0)
|
54
|
+
rack (2.0.7)
|
55
|
+
rack-test (1.1.0)
|
56
|
+
rack (>= 1.0, < 3)
|
57
|
+
rails-dom-testing (2.0.3)
|
58
|
+
activesupport (>= 4.2.0)
|
59
|
+
nokogiri (>= 1.6)
|
60
|
+
rails-html-sanitizer (1.0.4)
|
61
|
+
loofah (~> 2.2, >= 2.2.2)
|
62
|
+
railties (5.2.3)
|
63
|
+
actionpack (= 5.2.3)
|
64
|
+
activesupport (= 5.2.3)
|
65
|
+
method_source
|
66
|
+
rake (>= 0.8.7)
|
67
|
+
thor (>= 0.19.0, < 2.0)
|
68
|
+
rainbow (3.0.0)
|
69
|
+
rake (12.3.2)
|
70
|
+
rspec (3.8.0)
|
71
|
+
rspec-core (~> 3.8.0)
|
72
|
+
rspec-expectations (~> 3.8.0)
|
73
|
+
rspec-mocks (~> 3.8.0)
|
74
|
+
rspec-core (3.8.2)
|
75
|
+
rspec-support (~> 3.8.0)
|
76
|
+
rspec-expectations (3.8.4)
|
77
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
+
rspec-support (~> 3.8.0)
|
79
|
+
rspec-mocks (3.8.1)
|
80
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
+
rspec-support (~> 3.8.0)
|
82
|
+
rspec-support (3.8.2)
|
83
|
+
rubocop (0.72.0)
|
84
|
+
jaro_winkler (~> 1.5.1)
|
85
|
+
parallel (~> 1.10)
|
86
|
+
parser (>= 2.6)
|
87
|
+
rainbow (>= 2.2.2, < 4.0)
|
88
|
+
ruby-progressbar (~> 1.7)
|
89
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
90
|
+
rubocop-performance (1.4.0)
|
91
|
+
rubocop (>= 0.71.0)
|
92
|
+
rubocop-rspec (1.33.0)
|
93
|
+
rubocop (>= 0.60.0)
|
94
|
+
ruby-progressbar (1.10.1)
|
95
|
+
ruby_parser (3.13.1)
|
96
|
+
sexp_processor (~> 4.9)
|
97
|
+
sexp_processor (4.12.1)
|
98
|
+
thor (0.20.3)
|
99
|
+
thread_safe (0.3.6)
|
100
|
+
tzinfo (1.2.5)
|
101
|
+
thread_safe (~> 0.1)
|
102
|
+
unicode-display_width (1.6.0)
|
103
|
+
|
104
|
+
PLATFORMS
|
105
|
+
ruby
|
106
|
+
|
107
|
+
DEPENDENCIES
|
108
|
+
bundler
|
109
|
+
fasterer
|
110
|
+
generator_spec
|
111
|
+
lite-ruby!
|
112
|
+
rake
|
113
|
+
rspec
|
114
|
+
rubocop
|
115
|
+
rubocop-performance
|
116
|
+
rubocop-rspec
|
117
|
+
|
118
|
+
BUNDLED WITH
|
119
|
+
2.0.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Juan Gomez
|
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,96 @@
|
|
1
|
+
# Lite::Ruby
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/lite-ruby.svg)](http://badge.fury.io/rb/lite-ruby)
|
4
|
+
[![Build Status](https://travis-ci.org/drexed/lite-ruby.svg?branch=master)](https://travis-ci.org/drexed/lite-ruby)
|
5
|
+
|
6
|
+
Lite::Ruby is a collection of useful Ruby methods for its primitive classes.
|
7
|
+
|
8
|
+
**NOTE:** If you are coming from `ActiveObject`, please read the [port](#port) section.
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'lite-ruby'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install lite-ruby
|
25
|
+
|
26
|
+
## Table of Contents
|
27
|
+
|
28
|
+
* [Configurations](#configurations)
|
29
|
+
* [Extensions](#extensions)
|
30
|
+
* [3rd-party](#3rd-party)
|
31
|
+
* [Port](#port)
|
32
|
+
|
33
|
+
## Configurations
|
34
|
+
|
35
|
+
`rails g lite:ruby:install` will generate the following file:
|
36
|
+
`../config/initalizers/lite-ruby.rb`
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
Lite::Ruby.configure do |config|
|
40
|
+
config.array = true
|
41
|
+
config.date = true
|
42
|
+
config.enumerable = true
|
43
|
+
config.hash = true
|
44
|
+
config.integer = true
|
45
|
+
config.kernel = true
|
46
|
+
config.numeric = true
|
47
|
+
config.object = true
|
48
|
+
config.range = true
|
49
|
+
config.string = true
|
50
|
+
config.time = true
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
## Extensions
|
55
|
+
|
56
|
+
* [Array](https://github.com/drexed/lite-ruby/blob/master/docs/ARRAY.md)
|
57
|
+
* [Date](https://github.com/drexed/lite-ruby/blob/master/docs/DATE.md)
|
58
|
+
* [Enumerable](https://github.com/drexed/lite-ruby/blob/master/docs/ENUMERABLE.md)
|
59
|
+
* [Hash](https://github.com/drexed/lite-ruby/blob/master/docs/HASH.md)
|
60
|
+
* [Integer](https://github.com/drexed/lite-ruby/blob/master/docs/INTEGER.md)
|
61
|
+
* [Kernel](https://github.com/drexed/lite-ruby/blob/master/docs/KERNEL.md)
|
62
|
+
* [Numeric](https://github.com/drexed/lite-ruby/blob/master/docs/NUMERIC.md)
|
63
|
+
* [Object](https://github.com/drexed/lite-ruby/blob/master/docs/OBJECT.md)
|
64
|
+
* [Range](https://github.com/drexed/lite-ruby/blob/master/docs/RANGE.md)
|
65
|
+
* [String](https://github.com/drexed/lite-ruby/blob/master/docs/STRING.md)
|
66
|
+
* [Time](https://github.com/drexed/lite-ruby/blob/master/docs/TIME.md)
|
67
|
+
|
68
|
+
## 3rd-party
|
69
|
+
|
70
|
+
The following are highly recommended 3rd-party extensions to supplement your workflow:
|
71
|
+
|
72
|
+
* **String:** Escape Utils - https://github.com/brianmario/escape_utils
|
73
|
+
* **String:** Fast Blank - https://github.com/SamSaffron/fast_blank
|
74
|
+
* **Primitives:** Facets - https://github.com/rubyworks/facets
|
75
|
+
|
76
|
+
## Port
|
77
|
+
|
78
|
+
`Lite::Ruby` is a compatible port of [ActiveObject](https://github.com/drexed/active_object).
|
79
|
+
|
80
|
+
## Development
|
81
|
+
|
82
|
+
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.
|
83
|
+
|
84
|
+
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).
|
85
|
+
|
86
|
+
## Contributing
|
87
|
+
|
88
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lite-ruby. 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.
|
89
|
+
|
90
|
+
## License
|
91
|
+
|
92
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
93
|
+
|
94
|
+
## Code of Conduct
|
95
|
+
|
96
|
+
Everyone interacting in the Lite::Ruby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/lite-ruby/blob/master/CODE_OF_CONDUCT.md).
|