lucid_works 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/lucid_works.rb CHANGED
@@ -24,3 +24,8 @@ require 'lucid_works/datasource/index'
24
24
  require 'lucid_works/datasource/status'
25
25
  require 'lucid_works/datasource/history'
26
26
  require 'lucid_works/datasource/schedule'
27
+ require 'lucid_works/logs'
28
+ require 'lucid_works/logs/query'
29
+ require 'lucid_works/logs/query/summary'
30
+ require 'lucid_works/logs/index'
31
+ require 'lucid_works/logs/index/summary'
@@ -0,0 +1,8 @@
1
+ module LucidWorks
2
+ class Logs < LucidWorks::Base
3
+ self.singleton = true
4
+
5
+ has_one :query
6
+ has_one :index
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ module LucidWorks
2
+ class Logs::Index < LucidWorks::Base
3
+ self.singleton = true
4
+
5
+ has_one :summary
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module LucidWorks
2
+ class Logs::Index::Summary < LucidWorks::Base
3
+ self.singleton = true
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ module LucidWorks
2
+ class Logs::Query < LucidWorks::Base
3
+ self.singleton = true
4
+
5
+ has_one :summary
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module LucidWorks
2
+ class Logs::Query::Summary < LucidWorks::Base
3
+ self.singleton = true
4
+ end
5
+ end
@@ -6,6 +6,7 @@ module LucidWorks
6
6
  include Associations
7
7
 
8
8
  has_many :collections
9
+ has_one :logs
9
10
 
10
11
  DEFAULT_REST_API_PATH = "/api"
11
12
 
@@ -1,3 +1,3 @@
1
1
  module LucidWorks
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: lucid_works
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sam Pierson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-11 00:00:00 -08:00
13
+ date: 2011-03-15 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -86,6 +86,11 @@ files:
86
86
  - lib/lucid_works/datasource/schedule.rb
87
87
  - lib/lucid_works/datasource/status.rb
88
88
  - lib/lucid_works/exceptions.rb
89
+ - lib/lucid_works/logs.rb
90
+ - lib/lucid_works/logs/index.rb
91
+ - lib/lucid_works/logs/index/summary.rb
92
+ - lib/lucid_works/logs/query.rb
93
+ - lib/lucid_works/logs/query/summary.rb
89
94
  - lib/lucid_works/patch_restclient.rb
90
95
  - lib/lucid_works/server.rb
91
96
  - lib/lucid_works/version.rb