linguistics 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ describe Linguistics::EN::WordNet do
34
34
 
35
35
  it "can load all synsets for a word" do
36
36
  result = "appear".en.synsets
37
- expect( result ).to have( 7 ).members
37
+ expect( result.size ).to eq( 7 )
38
38
  expect( result ).to include( WordNet::Synset[200422090] )
39
39
  end
40
40
 
@@ -69,7 +69,7 @@ describe Linguistics::EN do
69
69
 
70
70
  it "provides a way to register new lprintf formatters with a Symbol" do
71
71
  Linguistics::EN.register_lprintf_formatter :TEST, :plural
72
- expect( Linguistics::EN.lprintf_formatters ).to have( 1 ).member
72
+ expect( Linguistics::EN.lprintf_formatters.size ).to eq( 1 )
73
73
  expect( Linguistics::EN.lprintf_formatters ).to include( :TEST )
74
74
  expect( Linguistics::EN.lprintf_formatters[:TEST] ).to be_a( Proc )
75
75
  end
@@ -14,10 +14,10 @@ describe Linguistics::ISO639 do
14
14
  # eng||en|English|anglais
15
15
  it "loads simple language codes from its __DATA__ section" do
16
16
  expect( Linguistics::LANGUAGE_CODES ).to have_key( :en )
17
- expect( Linguistics::LANGUAGE_CODES[:en] ).to have(3).members
17
+ expect( Linguistics::LANGUAGE_CODES[:en].size ).to eq( 3 )
18
18
 
19
19
  expect( Linguistics::LANGUAGE_CODES[:en] ).to have_key( :codes )
20
- expect( Linguistics::LANGUAGE_CODES[:en][:codes] ).to have(2).members
20
+ expect( Linguistics::LANGUAGE_CODES[:en][:codes].size ).to eq( 2 )
21
21
  expect( Linguistics::LANGUAGE_CODES[:en][:codes] ).to include("en", "eng")
22
22
 
23
23
  expect( Linguistics::LANGUAGE_CODES[:en] ).to have_key( :eng_name )
@@ -30,10 +30,10 @@ describe Linguistics::ISO639 do
30
30
 
31
31
  # cze|ces|cs|Czech|tchèque
32
32
  expect( Linguistics::LANGUAGE_CODES ).to have_key( :cs )
33
- expect( Linguistics::LANGUAGE_CODES[:cs] ).to have(3).members
33
+ expect( Linguistics::LANGUAGE_CODES[:cs].size ).to eq( 3 )
34
34
 
35
35
  expect( Linguistics::LANGUAGE_CODES[:cs] ).to have_key( :codes )
36
- expect( Linguistics::LANGUAGE_CODES[:cs][:codes] ).to have(3).members
36
+ expect( Linguistics::LANGUAGE_CODES[:cs][:codes].size ).to eq( 3 )
37
37
  expect( Linguistics::LANGUAGE_CODES[:cs][:codes] ).to include("cs", "ces", "cze")
38
38
 
39
39
  expect( Linguistics::LANGUAGE_CODES[:cs] ).to have_key( :eng_name )
@@ -43,10 +43,10 @@ describe Linguistics::ISO639 do
43
43
 
44
44
  # mac|mkd|mk|Macedonian|macédonien
45
45
  expect( Linguistics::LANGUAGE_CODES ).to have_key( :mk )
46
- expect( Linguistics::LANGUAGE_CODES[:mk] ).to have( 3 ).members
46
+ expect( Linguistics::LANGUAGE_CODES[:mk].size ).to eq( 3 )
47
47
 
48
48
  expect( Linguistics::LANGUAGE_CODES[:mk] ).to have_key( :codes )
49
- expect( Linguistics::LANGUAGE_CODES[:mk][:codes] ).to have(3).members
49
+ expect( Linguistics::LANGUAGE_CODES[:mk][:codes].size ).to eq( 3 )
50
50
  expect( Linguistics::LANGUAGE_CODES[:mk][:codes] ).to include("mk", "mac", "mkd")
51
51
 
52
52
  expect( Linguistics::LANGUAGE_CODES[:mk] ).to have_key( :eng_name )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linguistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -12,7 +12,7 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
14
14
  GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
- HhcNMTMwMjI3MTY0ODU4WhcNMTQwMjI3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ieKs+1kE+K+dJDjtw+wTH2i63P7r6N/NfPPXpxsFquo
29
+ wcYRRrHdR7GhdJeT+V8Q8Bi5bglCUGdx+8scMgkkePc98k9osQHypbACmzO+Bqkv
30
+ c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
31
+ ggcrPfcYeTwWlfZPu2LrBg==
32
32
  -----END CERTIFICATE-----
33
- date: 2013-12-02 00:00:00.000000000 Z
33
+ date: 2015-03-12 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: loggability
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.7'
41
+ version: '0.11'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0.7'
48
+ version: '0.11'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: hoe-mercurial
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 1.4.0
55
+ version: '1.4'
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 1.4.0
62
+ version: '1.4'
63
63
  - !ruby/object:Gem::Dependency
64
- name: hoe-highline
65
- requirement: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 0.1.0
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: 0.1.0
77
- - !ruby/object:Gem::Dependency
78
- name: rdoc
64
+ name: hoe-deveiate
79
65
  requirement: !ruby/object:Gem::Requirement
80
66
  requirements:
81
- - - ~>
67
+ - - "~>"
82
68
  - !ruby/object:Gem::Version
83
- version: '4.0'
69
+ version: '0.6'
84
70
  type: :development
85
71
  prerelease: false
86
72
  version_requirements: !ruby/object:Gem::Requirement
87
73
  requirements:
88
- - - ~>
74
+ - - "~>"
89
75
  - !ruby/object:Gem::Version
90
- version: '4.0'
76
+ version: '0.6'
91
77
  - !ruby/object:Gem::Dependency
92
- name: hoe-deveiate
78
+ name: hoe-highline
93
79
  requirement: !ruby/object:Gem::Requirement
94
80
  requirements:
95
- - - ~>
81
+ - - "~>"
96
82
  - !ruby/object:Gem::Version
97
- version: '0.3'
83
+ version: '0.2'
98
84
  type: :development
99
85
  prerelease: false
100
86
  version_requirements: !ruby/object:Gem::Requirement
101
87
  requirements:
102
- - - ~>
88
+ - - "~>"
103
89
  - !ruby/object:Gem::Version
104
- version: '0.3'
90
+ version: '0.2'
105
91
  - !ruby/object:Gem::Dependency
106
- name: hoe-bundler
92
+ name: rdoc
107
93
  requirement: !ruby/object:Gem::Requirement
108
94
  requirements:
109
- - - ~>
95
+ - - "~>"
110
96
  - !ruby/object:Gem::Version
111
- version: '1.2'
97
+ version: '4.0'
112
98
  type: :development
113
99
  prerelease: false
114
100
  version_requirements: !ruby/object:Gem::Requirement
115
101
  requirements:
116
- - - ~>
102
+ - - "~>"
117
103
  - !ruby/object:Gem::Version
118
- version: '1.2'
104
+ version: '4.0'
119
105
  - !ruby/object:Gem::Dependency
120
106
  name: linkparser
121
107
  requirement: !ruby/object:Gem::Requirement
122
108
  requirements:
123
- - - ~>
109
+ - - "~>"
124
110
  - !ruby/object:Gem::Version
125
111
  version: '1.1'
126
112
  type: :development
127
113
  prerelease: false
128
114
  version_requirements: !ruby/object:Gem::Requirement
129
115
  requirements:
130
- - - ~>
116
+ - - "~>"
131
117
  - !ruby/object:Gem::Version
132
118
  version: '1.1'
133
119
  - !ruby/object:Gem::Dependency
134
120
  name: wordnet
135
121
  requirement: !ruby/object:Gem::Requirement
136
122
  requirements:
137
- - - ~>
123
+ - - "~>"
138
124
  - !ruby/object:Gem::Version
139
125
  version: '1.0'
140
126
  type: :development
141
127
  prerelease: false
142
128
  version_requirements: !ruby/object:Gem::Requirement
143
129
  requirements:
144
- - - ~>
130
+ - - "~>"
145
131
  - !ruby/object:Gem::Version
146
132
  version: '1.0'
147
133
  - !ruby/object:Gem::Dependency
148
134
  name: wordnet-defaultdb
149
135
  requirement: !ruby/object:Gem::Requirement
150
136
  requirements:
151
- - - ~>
137
+ - - "~>"
152
138
  - !ruby/object:Gem::Version
153
139
  version: '1.0'
154
140
  type: :development
155
141
  prerelease: false
156
142
  version_requirements: !ruby/object:Gem::Requirement
157
143
  requirements:
158
- - - ~>
144
+ - - "~>"
159
145
  - !ruby/object:Gem::Version
160
146
  version: '1.0'
161
147
  - !ruby/object:Gem::Dependency
162
148
  name: ruby-stemmer
163
149
  requirement: !ruby/object:Gem::Requirement
164
150
  requirements:
165
- - - ~>
151
+ - - "~>"
166
152
  - !ruby/object:Gem::Version
167
153
  version: '0.9'
168
154
  type: :development
169
155
  prerelease: false
170
156
  version_requirements: !ruby/object:Gem::Requirement
171
157
  requirements:
172
- - - ~>
158
+ - - "~>"
173
159
  - !ruby/object:Gem::Version
174
160
  version: '0.9'
161
+ - !ruby/object:Gem::Dependency
162
+ name: rdoc-generator-fivefish
163
+ requirement: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
175
  - !ruby/object:Gem::Dependency
176
176
  name: hoe
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ~>
179
+ - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '3.7'
181
+ version: '3.13'
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ~>
186
+ - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '3.7'
188
+ version: '3.13'
189
189
  description: |-
190
190
  Linguistics is a framework for building linguistic utilities for Ruby
191
191
  objects in any language. It includes a generic language-independant
@@ -200,7 +200,8 @@ extra_rdoc_files:
200
200
  - Manifest.txt
201
201
  - README.rdoc
202
202
  files:
203
- - .simplecov
203
+ - ".gemtest"
204
+ - ".simplecov"
204
205
  - ChangeLog
205
206
  - History.rdoc
206
207
  - LICENSE
@@ -245,7 +246,6 @@ files:
245
246
  - spec/linguistics/iso639_spec.rb
246
247
  - spec/linguistics/monkeypatches_spec.rb
247
248
  - spec/linguistics_spec.rb
248
- - .gemtest
249
249
  homepage: http://deveiate.org/code/linguistics
250
250
  licenses:
251
251
  - BSD
@@ -255,25 +255,23 @@ post_install_message: |-
255
255
  'wordnet' libraries, which you can enable by installing the
256
256
  gems of the same name.
257
257
  rdoc_options:
258
- - -f
259
- - fivefish
260
- - -t
261
- - Ruby Linguistics Toolkit
258
+ - "--main"
259
+ - README.rdoc
262
260
  require_paths:
263
261
  - lib
264
262
  required_ruby_version: !ruby/object:Gem::Requirement
265
263
  requirements:
266
- - - '>='
264
+ - - ">="
267
265
  - !ruby/object:Gem::Version
268
- version: 1.9.3
266
+ version: 2.0.0
269
267
  required_rubygems_version: !ruby/object:Gem::Requirement
270
268
  requirements:
271
- - - '>='
269
+ - - ">="
272
270
  - !ruby/object:Gem::Version
273
271
  version: '0'
274
272
  requirements: []
275
- rubyforge_project: linguistics
276
- rubygems_version: 2.1.11
273
+ rubyforge_project:
274
+ rubygems_version: 2.4.5
277
275
  signing_key:
278
276
  specification_version: 4
279
277
  summary: Linguistics is a framework for building linguistic utilities for Ruby objects
metadata.gz.sig CHANGED
Binary file