wirb 2.1.0 → 2.1.1
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/COPYING.txt +1 -1
- data/README.md +2 -2
- data/lib/wirb/version.rb +1 -1
- data/spec/tokenizer_number_spec.rb +0 -25
- data/wirb.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf0f492185d3e2611bac0fe646202a9cdf02492a
|
4
|
+
data.tar.gz: 70491e11f6f820f7d6ffe4a4fa09791584e88c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e78d06c03211006f1d016576162dfc1e88eb4b7841a074f484854006b023e6abcba68b17acefc8b44f16f29767fba7a7b1b613589e9f53f953f243c8240f899b
|
7
|
+
data.tar.gz: 78d2175cb1fadf93bf5f83cf43bc7bc5d8ccad88d89e64fc6f0bb7c6a492f45e9e7a56f00c232ce73f5d9a89814ea48ae8a8eedb08be90a4c8888b53bd945fd8
|
data/CHANGELOG.md
CHANGED
data/COPYING.txt
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
**WIRB** syntax highlights Ruby objects.
|
4
4
|
|
5
|
-
Supported Rubies: 2.3, 2.2, 2.1, 2.0, jruby, rubinius.
|
5
|
+
Supported Rubies: 2.4, 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
|
|
@@ -71,7 +71,7 @@ You can use WIRB like awesome_print to highlight any objects using `wp`:
|
|
71
71
|
|
72
72
|
## Credits
|
73
73
|
|
74
|
-
Copyright (c) 2011-
|
74
|
+
Copyright (c) 2011-2017 Jan Lelis <http://janlelis.com> see COPYING for
|
75
75
|
details.
|
76
76
|
|
77
77
|
Influenced by code from: Copyright (C) 2006-2009 Paul Duncan
|
data/lib/wirb/version.rb
CHANGED
@@ -79,31 +79,6 @@ describe tokenizer(__FILE__) do
|
|
79
79
|
]
|
80
80
|
end
|
81
81
|
|
82
|
-
=begin
|
83
|
-
only18 do
|
84
|
-
please do check Rational(2,3)
|
85
|
-
tokens.should == [
|
86
|
-
[:class, "Rational"],
|
87
|
-
[:open_rational, "("],
|
88
|
-
[:number, "2"],
|
89
|
-
[:rational_separator, ","],
|
90
|
-
[:whitespace, " "],
|
91
|
-
[:number, "3"],
|
92
|
-
[:close_rational, ")"],
|
93
|
-
]
|
94
|
-
|
95
|
-
# modifying the world, see https://github.com/janlelis/wirb/issues#issue/1
|
96
|
-
require 'mathn'
|
97
|
-
check Rational(2,3)
|
98
|
-
tokens.should == [
|
99
|
-
[:number, "2"],
|
100
|
-
[:rational_separator, "/"],
|
101
|
-
[:number, "3"],
|
102
|
-
]
|
103
|
-
end
|
104
|
-
end
|
105
|
-
=end
|
106
|
-
|
107
82
|
please do check (1/0.0)
|
108
83
|
tokens.should == [
|
109
84
|
[:special_number, "Infinity"],
|
data/wirb.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,md} ext/**/*.{rb,c} data/**/*.yml]) + %w{Rakefile wirb.gemspec}
|
14
14
|
s.extra_rdoc_files = ["README.md", "CHANGELOG.md", "COPYING.txt"]
|
15
15
|
s.license = 'MIT'
|
16
|
-
s.add_dependency 'paint', '>= 0.9', '<
|
16
|
+
s.add_dependency 'paint', '>= 0.9', '< 3.0'
|
17
17
|
s.add_development_dependency 'rspec', '~> 2.14'
|
18
18
|
s.add_development_dependency 'rake', '~> 10.4'
|
19
19
|
s.add_development_dependency 'ruby_engine', '~> 1.0'
|
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.1.
|
4
|
+
version: 2.1.1
|
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: 2017-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.9'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.9'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.6.8
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: WIRB Interactive Ruby
|