sewell 1.0.5 → 1.0.6
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 +4 -4
- data/lib/sewell.rb +1 -1
- data/lib/sewell/version.rb +1 -1
- data/spec/sewell/sewell_spec.rb +4 -0
- data/spec/spec_helper.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8430cab999dcb76ecd0372c0043550f0c140cc2
|
|
4
|
+
data.tar.gz: 0658ae06250b16068ea398cc87be02829192b34d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6df9d13a9dda63c8239bd7d0d17f2ea489a953e52dde6c42beb8b07b305080908f97ab57aaf579e38bc44f035c4ec1cac68352c8d8bd15eb4bbadbf9e0818bfe
|
|
7
|
+
data.tar.gz: 04b84bba6f23723d2b97da4b1a167deea271c21afb57deb78c9e8aded791c6d9b70303d287f97a5739869dfd96a0c02ca7ad56cace646011aa646e2d3327ae25
|
data/lib/sewell.rb
CHANGED
data/lib/sewell/version.rb
CHANGED
data/spec/sewell/sewell_spec.rb
CHANGED
|
@@ -24,4 +24,8 @@ describe Sewell do
|
|
|
24
24
|
Sewell.generate('"Rainy veil" OR あなたの愛した世界', ['buta']).should == "( buta:@\"Rainy veil\" ) OR ( buta:@あなたの愛した世界 )"
|
|
25
25
|
Sewell.generate('あなたの愛した世界 OR "Rainy veil"', ['buta']).should == "( buta:@あなたの愛した世界 ) OR ( buta:@\"Rainy veil\" )"
|
|
26
26
|
end
|
|
27
|
+
|
|
28
|
+
it 'can use +' do
|
|
29
|
+
Sewell.generate('Aチャンネル +smile', ['buta']).should == '( buta:@Aチャンネル ) + ( buta:@smile )'
|
|
30
|
+
end
|
|
27
31
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
#
|
|
6
6
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
7
7
|
RSpec.configure do |config|
|
|
8
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
|
9
8
|
config.run_all_when_everything_filtered = true
|
|
10
9
|
config.filter_run :focus
|
|
11
10
|
|
|
@@ -14,4 +13,6 @@ RSpec.configure do |config|
|
|
|
14
13
|
# the seed, which is printed after each run.
|
|
15
14
|
# --seed 1234
|
|
16
15
|
config.order = 'random'
|
|
16
|
+
|
|
17
|
+
config.expect_with(:rspec) { |c| c.syntax = :should }
|
|
17
18
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sewell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ssig33
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|