sewell 1.0.3 → 1.0.4

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
2
  SHA1:
3
- metadata.gz: b2e3221a92b41a9f340e497b8fb1b9a993587105
4
- data.tar.gz: 5657211fc48a6bfd87da0e317fe9a5e72beb35cb
3
+ metadata.gz: 440265a1625ef9efb9062be096819e79b8d60a54
4
+ data.tar.gz: e69abbe115631b8b748ef8bd92b75d01f9b13195
5
5
  SHA512:
6
- metadata.gz: f6e5afc5f08726e8ad271dd03c5cc7775679e58a5d3c8993a21a6e0702b8f6363a5daacd0728686e30b0e9550e0ca0eecda67940de3128448ff68bce5e983aa8
7
- data.tar.gz: 362160df08d87a846f76578e24543aeb559aee142b038cde1552ff01e98337ca129e7b200f764372c25c15ecbdcd9df182b83f46fdc6de6af8b20a69edda3205
6
+ metadata.gz: 4d40efdf12b6413fda0a4233a9a9b13cf4dfc1309c9290865516deb9e24ede92910c27de631665990989e2053ad74ff44ac9ec173bb6b15a4e840ba756eb6ee1
7
+ data.tar.gz: 52a4c4d7802f50b236f671a3508ed6e8fb66565d244804e7bdc03f410d24db8fb3b0fa6f6c6d39e17a764ff92170e2a164f4ff8b970c1f47983fa2b373903b77
@@ -1,3 +1,3 @@
1
1
  module Sewell
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
data/lib/sewell.rb CHANGED
@@ -65,7 +65,6 @@ module Sewell
65
65
  else
66
66
  if x.split('').first == '-'
67
67
  if x == '-'
68
- q << '( ' + tables.map{|t| "#{t}:@#{sanitize(x)}"}.join(' OR ') + ' )'
69
68
  else
70
69
  x.sub!(/^-/, '')
71
70
  q << ' - ( ' + tables.map{|t| "#{t}:@#{sanitize(x)}"}.join(' OR ') + ' )'
@@ -17,6 +17,6 @@ describe Sewell do
17
17
  end
18
18
 
19
19
  it 'can generate with "-"' do
20
- Sewell.generate('ビジュメニア - Single', ['buta']).should == "( buta:@ビジュメニア ) + ( buta:@- ) + ( buta:@Single )"
20
+ Sewell.generate('ビジュメニア - Single', ['buta']).should == "( buta:@ビジュメニア ) + ( buta:@Single )"
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sewell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssig33
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Generator for Groonga's query
@@ -45,8 +45,8 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".gitignore"
49
- - ".rspec"
48
+ - .gitignore
49
+ - .rspec
50
50
  - Gemfile
51
51
  - LICENSE
52
52
  - README.md
@@ -66,17 +66,17 @@ require_paths:
66
66
  - lib
67
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ">="
69
+ - - '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.2.2
79
+ rubygems_version: 2.0.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Generator for Groonga's query