picky 4.20.1 → 4.20.2
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/picky.rb +1 -1
- data/spec/lib/picky_spec.rb +12 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48213f688488361aa4c09b943c2be94e956e19b1
|
4
|
+
data.tar.gz: 1ec6a4dc8d8dced3c2c2a7b6a8ce9f7176acb592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3eb94fd9f3a4cbf3695f1611f6a54aae9193c934e8d63e7a072b81f1766d54224d164cc01d665f143f756dc309d09ee14146746b25d3e343b028e82a4dd5d8e
|
7
|
+
data.tar.gz: 8407ce2fa8aa9a423e6387d2bdb13b98da910576e815bbd021c9d6853b11c837390977f4871d67304a2321ccc5f50bbc5dc7b106fc74eec4471dad0fec04098e
|
data/lib/picky.rb
CHANGED
data/spec/lib/picky_spec.rb
CHANGED
@@ -11,4 +11,16 @@ describe Picky do
|
|
11
11
|
# Encoding.default_internal.should == Encoding::UTF_8
|
12
12
|
# end
|
13
13
|
|
14
|
+
it 'loads in a simple ruby environment with the defined requirements' do
|
15
|
+
#TODO Picky.root is set to /spec/temp in spec_helper, so is this the "best" way?
|
16
|
+
load_path = File.expand_path('../../../lib', __FILE__)
|
17
|
+
ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
|
18
|
+
|
19
|
+
simple_load = <<-COMMAND
|
20
|
+
#{ruby} -I #{load_path} -r picky -e "puts 'OK'"
|
21
|
+
COMMAND
|
22
|
+
|
23
|
+
IO.popen(simple_load, err: [:child, :out]).readline.strip.should == 'OK'
|
24
|
+
end
|
25
|
+
|
14
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.20.
|
4
|
+
version: 4.20.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Hanke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
397
397
|
version: '0'
|
398
398
|
requirements: []
|
399
399
|
rubyforge_project: http://rubyforge.org/projects/picky
|
400
|
-
rubygems_version: 2.2.
|
400
|
+
rubygems_version: 2.2.2
|
401
401
|
signing_key:
|
402
402
|
specification_version: 4
|
403
403
|
summary: 'Picky: Semantic Search Engine. Clever Interface. Good Tools.'
|
@@ -553,4 +553,3 @@ test_files:
|
|
553
553
|
- spec/lib/tasks/try_spec.rb
|
554
554
|
- spec/lib/tokenizer_spec.rb
|
555
555
|
- spec/performant_spec.rb
|
556
|
-
has_rdoc:
|