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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c686258435c3f623b6acaf22885f36748c242c75
4
- data.tar.gz: 1e6c1e76be9198e7488fbf7129ec680671c25ae2
3
+ metadata.gz: b0297f9369fabdb912e41bcc6590b9be815635f1
4
+ data.tar.gz: c6594d60ae6ece67a1032f858b2ee7394ee42c47
5
5
  SHA512:
6
- metadata.gz: 5bb06174c971e2e78b8628c3d40d499fd6850969a16a7349907c932a79e6c7839d7837586a416ed8337b237f0983020b9a3d87f40f508c478f082be6aa5c8d5f
7
- data.tar.gz: 086f9636511ead4c620bcb19b99e047e1894f4ca94168d50c5d07feff75b2fcd8dadf9b2de0f7bdfd3f0d6a9d5845dd449396a63aeea7755cc8121f8843e87d1
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
@@ -1,6 +1,6 @@
1
- # Feedcellar - Storage for Feed Reader
1
+ # Feedcellar - Searchable Storage
2
2
 
3
- A storage for feed reader. Powered by rroonga.
3
+ A searchable storage for RSS feed reader. Powered by rroonga.
4
4
 
5
5
  ## Installation
6
6
 
data/TODO.md CHANGED
@@ -5,5 +5,3 @@
5
5
  * Manage TAG outline from OPML format.
6
6
 
7
7
  ## Release
8
-
9
- * Release to RubyGems.org
@@ -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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Feedcellar
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-02 00:00:00.000000000 Z
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.2
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