feedcellar 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +24 -0
- data/README.md +2 -2
- data/TODO.md +0 -2
- data/feedcellar.gemspec +2 -2
- data/lib/feedcellar/command.rb +2 -0
- data/lib/feedcellar/groonga_database.rb +8 -0
- data/lib/feedcellar/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0297f9369fabdb912e41bcc6590b9be815635f1
|
4
|
+
data.tar.gz: c6594d60ae6ece67a1032f858b2ee7394ee42c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f3646df59af4f6151865631a0c93184f96ac0748d28522a419c1fcfeaa20c9995dc7c865cc36eb0bd3a6cc6db8d9a66ea171d6abac98ab034c336033473d3d
|
7
|
+
data.tar.gz: de62b47d0afe37f4e56ef57cb3d1c06791e0e28cbf6c51d5039e2e677ecc3866ba7b6d6597c1bba3a518f4244689011232d1ba730aecb849bf40a00718ee1cf7
|
data/NEWS.md
CHANGED
@@ -1,5 +1,29 @@
|
|
1
1
|
# NEWS
|
2
2
|
|
3
|
+
## Feedcellar 0.1.1: 2013-06-03
|
4
|
+
|
5
|
+
Add missing index release!
|
6
|
+
|
7
|
+
### Changes
|
8
|
+
|
9
|
+
* Improvements
|
10
|
+
* Add desc option to search command
|
11
|
+
|
12
|
+
* Fixes
|
13
|
+
* Add missing index to Feeds table
|
14
|
+
|
15
|
+
## Feedcellar 0.1.0: 2013-06-02
|
16
|
+
|
17
|
+
Release to RubyGems.org!
|
18
|
+
|
19
|
+
### Changes
|
20
|
+
|
21
|
+
* Improvements
|
22
|
+
* Remove a needless command.
|
23
|
+
|
24
|
+
* Fixes
|
25
|
+
* Rescue invalid feed.
|
26
|
+
|
3
27
|
## Feedcellar 0.0.3: 2013-06-02
|
4
28
|
|
5
29
|
### Changes
|
data/README.md
CHANGED
data/TODO.md
CHANGED
data/feedcellar.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Feedcellar::VERSION
|
9
9
|
spec.authors = ["Masafumi Yokoyama"]
|
10
10
|
spec.email = ["myokoym@gmail.com"]
|
11
|
-
spec.description = %q{A storage for feed reader by rroonga.}
|
12
|
-
spec.summary = %q{Storage for Feed Reader}
|
11
|
+
spec.description = %q{A searchable storage for RSS feed reader by rroonga.}
|
12
|
+
spec.summary = %q{Searchable Storage for Feed Reader}
|
13
13
|
spec.homepage = "https://github.com/myokoym/feedcellar"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
data/lib/feedcellar/command.rb
CHANGED
@@ -105,6 +105,7 @@ module Feedcellar
|
|
105
105
|
end
|
106
106
|
|
107
107
|
desc "search WORD", "Search feeds."
|
108
|
+
option :desc, :type => :boolean, :aliases => "-d", :desc => "show description"
|
108
109
|
def search(word)
|
109
110
|
@database = GroongaDatabase.new
|
110
111
|
@database.open(@work_dir) do |database|
|
@@ -119,6 +120,7 @@ module Feedcellar
|
|
119
120
|
puts " #{record.title}"
|
120
121
|
puts " #{record.date}"
|
121
122
|
puts " #{record.link}"
|
123
|
+
puts " #{record.description}" if options[:desc]
|
122
124
|
puts
|
123
125
|
end
|
124
126
|
end
|
@@ -91,6 +91,14 @@ module Feedcellar
|
|
91
91
|
table.text("description")
|
92
92
|
table.time("date")
|
93
93
|
end
|
94
|
+
|
95
|
+
schema.create_table("Terms",
|
96
|
+
:type => :patricia_trie,
|
97
|
+
:key_normalize => true,
|
98
|
+
:default_tokenizer => "TokenBigram") do |table|
|
99
|
+
table.index("Feeds.title")
|
100
|
+
table.index("Feeds.description")
|
101
|
+
end
|
94
102
|
end
|
95
103
|
end
|
96
104
|
end
|
data/lib/feedcellar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedcellar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masafumi Yokoyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rroonga
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description: A storage for feed reader by rroonga.
|
111
|
+
description: A searchable storage for RSS feed reader by rroonga.
|
112
112
|
email:
|
113
113
|
- myokoym@gmail.com
|
114
114
|
executables:
|
@@ -154,10 +154,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.0.
|
157
|
+
rubygems_version: 2.0.3
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
|
-
summary: Storage for Feed Reader
|
160
|
+
summary: Searchable Storage for Feed Reader
|
161
161
|
test_files:
|
162
162
|
- test/fixtures/subscriptions.xml
|
163
163
|
- test/run-test.rb
|