wirb 2.0.0 → 2.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e66ad01b5a8d397758b52ad80a47c04088edd84a
4
- data.tar.gz: 433bcf5da92a4a1e8a15b03f701a6e50b854f7d2
3
+ metadata.gz: 5aa1b145bd66701a8ead0252b2be8415f2f9bcbc
4
+ data.tar.gz: f5b4097bcb145cf9b68c39a1f219a51084297b76
5
5
  SHA512:
6
- metadata.gz: 6c557117bcf11f894d1fe0fb03671bf3784bb24bc384bfd961b71519041be1ffefeb20aecaa941b5d376a89e826c612d06b6ae28485910f7744d85e99287e013
7
- data.tar.gz: fe2d2e2662c8a92c75bd7eed4da18736beafea93ba064f564f92ba93b551d2dd13fa8334c9a4b96d134025aa48a9bb5f66e8b4a567818d0a6e2fd7aa9fd50e55
6
+ metadata.gz: c431f78171be2217d2e17ac2a5f0dd649752d9dbd14e540f10b83ea6418ff735288c931ea5e3d7c699204a6c2edc0d327250925a4f443c3cb401c4f6b0ccd602
7
+ data.tar.gz: 1e725e28a73953fcd6313c1667667873a132b24a2a8b5fe0f1a3ff14c8feb242ae031e1b8bbcddfa79a8e3028d16ca3f62f771cf650f079ac237c9ac9207b73d
@@ -1,3 +1,6 @@
1
+ ## 2.1.0
2
+ * New color schema: ultra
3
+
1
4
  ## 2.0.0
2
5
  ### Main Changes
3
6
  * Don't target Ruby 1 anymore, set required Ruby version to 2.0
@@ -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
- hash:
3
- - "#ccc"
4
- array:
5
- - "#ddd"
6
- set:
7
- - "#bbb"
2
+ hash_delimiter:
3
+ - :red
4
+ array_delimiter:
5
+ - :red
6
+ set_delimiter:
7
+ - :red
8
8
 
9
9
  # delimiter
10
- comma: "#fff"
11
- refers: "#fff"
10
+ # comma: :white
11
+ # refers: :white
12
12
 
13
13
  # class
14
14
  class:
15
- - "#999"
15
+ - :red
16
16
  class_separator:
17
- - "#777"
17
+ - :white
18
18
  object_class:
19
- - "#888"
19
+ - :red
20
20
 
21
21
  # object
22
- object:
23
- - "#666"
22
+ object_delimiter:
23
+ - :green
24
24
  object_description_prefix:
25
- - "#222"
25
+ - :green
26
26
  object_description:
27
- - "#555"
27
+ - :yellow
28
28
  object_address_prefix:
29
- - "#111"
29
+ - :yellow
30
+ - :underline
30
31
  object_address:
31
- - "#555"
32
+ - :yellow
33
+ - :underline
32
34
  object_line_prefix:
33
- - "#222"
35
+ - :yellow
36
+ - :underline
34
37
  object_line:
35
- - "yellow"
38
+ - :yellow
39
+ - :underline
36
40
  object_line_number:
37
- - "gold"
41
+ - :yellow
42
+ - :underline
38
43
  object_variable_prefix:
39
- - "white"
44
+ - :red
45
+ - :bright
40
46
  object_variable:
41
- - "silver"
47
+ - :red
48
+ - :bright
42
49
 
43
50
  # symbol
44
51
  symbol_prefix:
45
- - "#9f9"
46
- - :bright
52
+ - :green
47
53
  symbol:
48
- - "#9f9"
49
- - :bright
54
+ - :green
50
55
  symbol_string:
51
- - "#9f9"
52
- - :bright
53
- symbol_string_delimetr:
54
- - "#9f9"
56
+ - :green
57
+ symbol_string_delimiter:
58
+ - :green
55
59
 
56
60
  # string
57
61
  string:
58
- - "#99f"
62
+ - :cyan
59
63
  string_delimiter:
60
- - "#99f"
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
- - "white"
78
+ - :cyan
76
79
  special_number:
77
- - "silver"
80
+ - :cyan
78
81
  range:
79
- - "#f0f0f0"
80
- rational:
81
- - "#ddd"
82
+ - :red
83
+ rational_delimiter:
84
+ - :cyan
85
+ - :bright
82
86
  rational_separator:
83
- - "#ddd"
84
- complex:
85
- - "#ccc"
87
+ - :cyan
88
+ - :bright
89
+ complex_delimiter:
90
+ - :cyan
86
91
 
87
92
  # misc
88
- #default:
89
93
  time:
90
- - :underline
94
+ - :red
91
95
  word:
92
- - :blue
93
- nil:
94
96
  - :red
95
- - :bright
97
+ nil:
98
+ - :cyan
96
99
  false:
97
- - :red
100
+ - :cyan
98
101
  true:
99
- - :green
100
- gem_requirement_condition:
101
- - "#eee"
102
- gem_requirement_version:
103
- - "#ddd"
102
+ - :cyan
@@ -1,3 +1,3 @@
1
1
  module Wirb
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
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.0.0
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: 2015-03-29 00:00:00.000000000 Z
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/gray.yml
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.6
137
+ rubygems_version: 2.4.8
137
138
  signing_key:
138
139
  specification_version: 4
139
140
  summary: WIRB Interactive Ruby