regexp_property_values 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 20ea749474673385c6a98a9cfb2a6f4265d84ce688f69d3068ee3ba351ddb18a
4
- data.tar.gz: 8cc47f0492ac633689a75bbf92a3b50fa7c71c3e5b36dd72be0d2c50f6b375d6
2
+ SHA1:
3
+ metadata.gz: 77c75950412b0dfab6436971e7ed43bb1056b3e9
4
+ data.tar.gz: aff97bcbb3a4b7dd911bd2c29433094a7768e915
5
5
  SHA512:
6
- metadata.gz: 6dd88b94bc75382f973bfe7fc402bcf52183dcc93ed05630b02c9f2890bce40bc01ce07a9e98e02b10f592da3394e2faceeb173a7a7b3995f1a0f14f1698d9e6
7
- data.tar.gz: cfa31e9a424a1dc385bc8719605566ace765fa4fbaf5ab594d7fe09c09028db5e1b2aea5a6eaaef11e579626ff849f89f5c2e88a44e368567295712be487fef9
6
+ metadata.gz: 9da7226931e7d9a44362b1cbac1bc3d908061c4ba43790f2d3f38da71bce4472ce65517c805ee5e12b8ad6573340096a9fcddef036e7b6ba0f1853b73dab130d
7
+ data.tar.gz: 0cfc2ba6726431c73f6d74133077b2a388ab2308af2f5fb16a011ee9919fafba0caefe1bca6470917a6e82ebcce1f1d461c5252c1ee78dc10ca8a87c2e04b6aa
data/Rakefile CHANGED
@@ -11,5 +11,7 @@ Rake::ExtensionTask.new('regexp_property_values') do |ext|
11
11
  ext.lib_dir = 'lib/regexp_property_values'
12
12
  end
13
13
 
14
- # recompile before running specs
15
- task(:spec).enhance([:compile])
14
+ if RUBY_PLATFORM !~ /java/i
15
+ # recompile before running specs
16
+ task(:spec).enhance([:compile])
17
+ end
@@ -33,7 +33,7 @@ module RegexpPropertyValues
33
33
 
34
34
  def matched_ranges
35
35
  require 'set'
36
- matched_characters
36
+ matched_codepoints
37
37
  .to_set(SortedSet)
38
38
  .divide { |i, j| (i - j).abs == 1 }
39
39
  .map { |s| a = s.to_a; a.first..a.last }
@@ -1,3 +1,3 @@
1
1
  module RegexpPropertyValues
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
@@ -20,7 +20,9 @@ Gem::Specification.new do |s|
20
20
  end
21
21
  s.require_paths = ['lib']
22
22
 
23
- s.extensions = %w[ext/regexp_property_values/extconf.rb]
23
+ if RUBY_PLATFORM !~ /java/i
24
+ s.extensions = %w[ext/regexp_property_values/extconf.rb]
25
+ end
24
26
 
25
27
  s.required_ruby_version = '>= 2.0.0'
26
28
 
metadata CHANGED
@@ -1,66 +1,66 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regexp_property_values
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janosch Müller
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-08 00:00:00.000000000 Z
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
18
  version: '1.16'
20
- type: :development
19
+ name: bundler
21
20
  prerelease: false
21
+ type: :development
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.16'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
32
  version: '10.0'
34
- type: :development
33
+ name: rake
35
34
  prerelease: false
35
+ type: :development
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake-compiler
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
46
  version: '1.0'
48
- type: :development
47
+ name: rake-compiler
49
48
  prerelease: false
49
+ type: :development
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - "~>"
60
59
  - !ruby/object:Gem::Version
61
60
  version: '3.0'
62
- type: :development
61
+ name: rspec
63
62
  prerelease: false
63
+ type: :development
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
@@ -72,8 +72,7 @@ description: This small library lets you see which property values are supported
72
72
  email:
73
73
  - janosch84@gmail.com
74
74
  executables: []
75
- extensions:
76
- - ext/regexp_property_values/extconf.rb
75
+ extensions: []
77
76
  extra_rdoc_files: []
78
77
  files:
79
78
  - ".gitignore"
@@ -96,7 +95,7 @@ homepage: https://github.com/janosch-x/regexp_property_values
96
95
  licenses:
97
96
  - MIT
98
97
  metadata: {}
99
- post_install_message:
98
+ post_install_message:
100
99
  rdoc_options: []
101
100
  require_paths:
102
101
  - lib
@@ -111,9 +110,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
110
  - !ruby/object:Gem::Version
112
111
  version: '0'
113
112
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.7.6
116
- signing_key:
113
+ rubyforge_project:
114
+ rubygems_version: 2.6.14
115
+ signing_key:
117
116
  specification_version: 4
118
117
  summary: Inspect property values supported by Ruby's regex engine
119
118
  test_files: []