mindtrick 0.0.4 → 0.0.5

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
- ---
2
- SHA1:
3
- metadata.gz: da19a7f986570a480b137e2852503415615bd5d0
4
- data.tar.gz: 7d6aa790d6e5fe5d7f8ec75afd632d9fad5c84b6
5
- SHA512:
6
- metadata.gz: feaaa56da931580926703ed41c9a050b1e6af302dbd70f2adb8261c775ecaf053dd71bbb2e0d36fb4c1118208411919fd3a21bf4832845f183ac777b760054f0
7
- data.tar.gz: 952a162cbecd01d13372bbaa42249de950e98d01cbaeee5b837c0280050cdf53d674c12a4f4d0816206198785f7e56457c02b4ccaa0e5d5b34dc27bc92b33c60
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 18239ad81a7ba383e64b27d83bec993b014abf48
4
+ data.tar.gz: 363c81ec3aba82c4265d65cc892102b9db6b72d7
5
+ SHA512:
6
+ metadata.gz: fcbbe09f9e9f473cb1a4d9ccd2c1dd13562e31fdb7fda3b808b74abe2e139422d6c44d0b62e220ba64ab1b51d24f7487ed6b77e0e57c9db7f56d8257fe2ad8d6
7
+ data.tar.gz: 4373954814cd106c956f954c1db1fb2bb759b57293aa000f8f63b10b7c3bff7d7d1727c3964e3e67a566ba7d9c22dacf720a3fd4f6d0567d83ba26253d7e7725
@@ -3,7 +3,7 @@ module Mindtrick
3
3
  def each_fragment
4
4
  return to_enum(:each_fragment) unless block_given?
5
5
  (0..term.length).each do |i|
6
- yield term[0...i]
6
+ yield self.class.new(term[0...i])
7
7
  end
8
8
  end
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Mindtrick
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,79 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mindtrick
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Josh Lewis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-10-05 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: redis
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '3.0'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '3.0'
27
- - !ruby/object:Gem::Dependency
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: "3.0"
22
+ type: :runtime
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
28
25
  name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.6'
34
- type: :development
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.6'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: "1.6"
48
32
  type: :development
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: rake
49
36
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '5.0'
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: "10.0"
62
42
  type: :development
43
+ version_requirements: *id003
44
+ - !ruby/object:Gem::Dependency
45
+ name: minitest
63
46
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '5.0'
47
+ requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: "5.0"
52
+ type: :development
53
+ version_requirements: *id004
69
54
  description: Search completion suggestions using Redis's sorted sets.
70
- email:
55
+ email:
71
56
  - josh.w.lewis@gmail.com
72
57
  executables: []
58
+
73
59
  extensions: []
60
+
74
61
  extra_rdoc_files: []
75
- files:
76
- - ".gitignore"
62
+
63
+ files:
64
+ - .gitignore
77
65
  - Gemfile
78
66
  - LICENSE.txt
79
67
  - README.md
@@ -86,31 +74,33 @@ files:
86
74
  - test/set_test.rb
87
75
  - test/test_helper.rb
88
76
  - test/text_test.rb
89
- homepage: ''
90
- licenses:
77
+ homepage: ""
78
+ licenses:
91
79
  - MIT
92
80
  metadata: {}
81
+
93
82
  post_install_message:
94
83
  rdoc_options: []
95
- require_paths:
84
+
85
+ require_paths:
96
86
  - lib
97
- required_ruby_version: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- required_rubygems_version: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- version: '0'
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - &id005
90
+ - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: "0"
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - *id005
107
96
  requirements: []
97
+
108
98
  rubyforge_project:
109
- rubygems_version: 2.2.0
99
+ rubygems_version: 2.2.2
110
100
  signing_key:
111
101
  specification_version: 4
112
102
  summary: Search completion suggestions using Redis's sorted sets.
113
- test_files:
103
+ test_files:
114
104
  - test/set_test.rb
115
105
  - test/test_helper.rb
116
106
  - test/text_test.rb