wirb 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/README.md +6 -1
- data/data/wirb/{gray.yml → ultra.yml} +51 -52
- data/lib/wirb/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aa1b145bd66701a8ead0252b2be8415f2f9bcbc
|
4
|
+
data.tar.gz: f5b4097bcb145cf9b68c39a1f219a51084297b76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c431f78171be2217d2e17ac2a5f0dd649752d9dbd14e540f10b83ea6418ff735288c931ea5e3d7c699204a6c2edc0d327250925a4f443c3cb401c4f6b0ccd602
|
7
|
+
data.tar.gz: 1e725e28a73953fcd6313c1667667873a132b24a2a8b5fe0f1a3ff14c8feb242ae031e1b8bbcddfa79a8e3028d16ca3f62f771cf650f079ac237c9ac9207b73d
|
data/CHANGELOG.md
CHANGED
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 opensource@janlelis.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/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
**WIRB** syntax highlights Ruby objects.
|
4
4
|
|
5
|
-
Supported Rubies: 2.2, 2.1, 2.0, jruby, rubinius.
|
5
|
+
Supported Rubies: 2.3, 2.2, 2.1, 2.0, jruby, rubinius.
|
6
6
|
|
7
7
|
Legacy Rubies (1.9, 1.8): Use [WIRB 1.0](https://github.com/janlelis/wirb/tree/1.0.3)
|
8
8
|
|
@@ -43,7 +43,12 @@ These are the bundled color schemas. You can load one with `Wirb.load_schema
|
|
43
43
|
|
44
44
|
* `:classic` (default)
|
45
45
|
* `:colorless` (only uses :bright, :underline and :inverse effect)
|
46
|
+
* `:ultra` (matches the colorscheme from
|
47
|
+
[Ultra](https://github.com/venantius/ultra) over in Clojure-land)
|
46
48
|
|
49
|
+
### Usage with Rails
|
50
|
+
|
51
|
+
See [the solution in this issue](https://github.com/janlelis/wirb/issues/12#issuecomment-249492524).
|
47
52
|
|
48
53
|
## `Kernel#wp`
|
49
54
|
|
@@ -1,64 +1,67 @@
|
|
1
1
|
# container
|
2
|
-
|
3
|
-
-
|
4
|
-
|
5
|
-
-
|
6
|
-
|
7
|
-
-
|
2
|
+
hash_delimiter:
|
3
|
+
- :red
|
4
|
+
array_delimiter:
|
5
|
+
- :red
|
6
|
+
set_delimiter:
|
7
|
+
- :red
|
8
8
|
|
9
9
|
# delimiter
|
10
|
-
comma:
|
11
|
-
refers:
|
10
|
+
# comma: :white
|
11
|
+
# refers: :white
|
12
12
|
|
13
13
|
# class
|
14
14
|
class:
|
15
|
-
-
|
15
|
+
- :red
|
16
16
|
class_separator:
|
17
|
-
-
|
17
|
+
- :white
|
18
18
|
object_class:
|
19
|
-
-
|
19
|
+
- :red
|
20
20
|
|
21
21
|
# object
|
22
|
-
|
23
|
-
-
|
22
|
+
object_delimiter:
|
23
|
+
- :green
|
24
24
|
object_description_prefix:
|
25
|
-
-
|
25
|
+
- :green
|
26
26
|
object_description:
|
27
|
-
-
|
27
|
+
- :yellow
|
28
28
|
object_address_prefix:
|
29
|
-
-
|
29
|
+
- :yellow
|
30
|
+
- :underline
|
30
31
|
object_address:
|
31
|
-
-
|
32
|
+
- :yellow
|
33
|
+
- :underline
|
32
34
|
object_line_prefix:
|
33
|
-
-
|
35
|
+
- :yellow
|
36
|
+
- :underline
|
34
37
|
object_line:
|
35
|
-
-
|
38
|
+
- :yellow
|
39
|
+
- :underline
|
36
40
|
object_line_number:
|
37
|
-
-
|
41
|
+
- :yellow
|
42
|
+
- :underline
|
38
43
|
object_variable_prefix:
|
39
|
-
-
|
44
|
+
- :red
|
45
|
+
- :bright
|
40
46
|
object_variable:
|
41
|
-
-
|
47
|
+
- :red
|
48
|
+
- :bright
|
42
49
|
|
43
50
|
# symbol
|
44
51
|
symbol_prefix:
|
45
|
-
-
|
46
|
-
- :bright
|
52
|
+
- :green
|
47
53
|
symbol:
|
48
|
-
-
|
49
|
-
- :bright
|
54
|
+
- :green
|
50
55
|
symbol_string:
|
51
|
-
-
|
52
|
-
|
53
|
-
|
54
|
-
- "#9f9"
|
56
|
+
- :green
|
57
|
+
symbol_string_delimiter:
|
58
|
+
- :green
|
55
59
|
|
56
60
|
# string
|
57
61
|
string:
|
58
|
-
-
|
62
|
+
- :cyan
|
59
63
|
string_delimiter:
|
60
|
-
-
|
61
|
-
- :bright
|
64
|
+
- :cyan
|
62
65
|
|
63
66
|
# regexp
|
64
67
|
regexp:
|
@@ -72,32 +75,28 @@ regexp_flags:
|
|
72
75
|
|
73
76
|
# number
|
74
77
|
number:
|
75
|
-
-
|
78
|
+
- :cyan
|
76
79
|
special_number:
|
77
|
-
-
|
80
|
+
- :cyan
|
78
81
|
range:
|
79
|
-
-
|
80
|
-
|
81
|
-
-
|
82
|
+
- :red
|
83
|
+
rational_delimiter:
|
84
|
+
- :cyan
|
85
|
+
- :bright
|
82
86
|
rational_separator:
|
83
|
-
-
|
84
|
-
|
85
|
-
|
87
|
+
- :cyan
|
88
|
+
- :bright
|
89
|
+
complex_delimiter:
|
90
|
+
- :cyan
|
86
91
|
|
87
92
|
# misc
|
88
|
-
#default:
|
89
93
|
time:
|
90
|
-
- :
|
94
|
+
- :red
|
91
95
|
word:
|
92
|
-
- :blue
|
93
|
-
nil:
|
94
96
|
- :red
|
95
|
-
|
97
|
+
nil:
|
98
|
+
- :cyan
|
96
99
|
false:
|
97
|
-
- :
|
100
|
+
- :cyan
|
98
101
|
true:
|
99
|
-
- :
|
100
|
-
gem_requirement_condition:
|
101
|
-
- "#eee"
|
102
|
-
gem_requirement_version:
|
103
|
-
- "#ddd"
|
102
|
+
- :cyan
|
data/lib/wirb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wirb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|
@@ -83,12 +83,13 @@ extra_rdoc_files:
|
|
83
83
|
- COPYING.txt
|
84
84
|
files:
|
85
85
|
- CHANGELOG.md
|
86
|
+
- CODE_OF_CONDUCT.md
|
86
87
|
- COPYING.txt
|
87
88
|
- README.md
|
88
89
|
- Rakefile
|
89
90
|
- data/wirb/classic.yml
|
90
91
|
- data/wirb/colorless.yml
|
91
|
-
- data/wirb/
|
92
|
+
- data/wirb/ultra.yml
|
92
93
|
- lib/wirb.rb
|
93
94
|
- lib/wirb/inspector.rb
|
94
95
|
- lib/wirb/irb.rb
|
@@ -133,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
134
|
version: '0'
|
134
135
|
requirements: []
|
135
136
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.4.
|
137
|
+
rubygems_version: 2.4.8
|
137
138
|
signing_key:
|
138
139
|
specification_version: 4
|
139
140
|
summary: WIRB Interactive Ruby
|