logworm 0.7.0 → 0.7.1
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.
- data/CHANGELOG +25 -12
- data/Rakefile +1 -1
- data/lib/base/db.rb +6 -0
- data/logworm.gemspec +2 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,21 +1,34 @@
|
|
1
|
-
v0.7.
|
2
|
-
|
3
|
-
|
1
|
+
v0.7.1
|
2
|
+
Added DB.from_config_or_die, to throw exception if DB cannot be initialized
|
3
|
+
|
4
|
+
v0.7.0
|
5
|
+
Changes to run as a Heroku add-on
|
6
|
+
Configuration now stored as a URL
|
7
|
+
Now requires Heroku gem
|
4
8
|
|
5
|
-
v0.6.1
|
9
|
+
v0.6.1
|
10
|
+
fixed query builder
|
6
11
|
|
7
|
-
v0.6.0
|
12
|
+
v0.6.0
|
13
|
+
added query builder
|
8
14
|
|
9
|
-
v0.5.1
|
15
|
+
v0.5.1
|
16
|
+
removed memcache dependency, added memcache-client
|
10
17
|
|
11
|
-
v0.5.0
|
18
|
+
v0.5.0
|
19
|
+
removed utils, moved them to separate gem
|
12
20
|
|
13
|
-
v0.4.1
|
21
|
+
v0.4.1
|
22
|
+
added start and end options to lw-compute and lw-tail
|
14
23
|
|
15
|
-
v0.4.0
|
24
|
+
v0.4.0
|
25
|
+
added lw-compute tool, to run aggregate queries
|
16
26
|
|
17
|
-
v0.3.0
|
27
|
+
v0.3.0
|
28
|
+
added lw-heroku tool, to push configuration variables to heroku
|
18
29
|
|
19
|
-
v0.2.0
|
30
|
+
v0.2.0
|
31
|
+
removed app/ libraries. Added tail as a utility, lw-tail as a command
|
20
32
|
|
21
|
-
v0.1.0
|
33
|
+
v0.1.0
|
34
|
+
initial version.
|
data/Rakefile
CHANGED
data/lib/base/db.rb
CHANGED
@@ -48,6 +48,12 @@ module Logworm
|
|
48
48
|
|
49
49
|
nil
|
50
50
|
end
|
51
|
+
|
52
|
+
def self.from_config_or_die
|
53
|
+
db = self.from_config
|
54
|
+
raise "The application is not properly configured. Either use 'heroku addon:add' to add logworm to your app, or save your project's credentials into the .logworm file" unless db
|
55
|
+
db
|
56
|
+
end
|
51
57
|
|
52
58
|
def tables()
|
53
59
|
res = db_call(:get, "#{@host}/")
|
data/logworm.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{logworm}
|
5
|
-
s.version = "0.7.
|
5
|
+
s.version = "0.7.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Pomelo, LLC"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-04-01}
|
10
10
|
s.description = %q{logworm logging tool}
|
11
11
|
s.email = %q{schapira@pomelollc.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "README", "lib/base/config.rb", "lib/base/db.rb", "lib/base/query_builder.rb", "lib/logworm.rb"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.7.
|
8
|
+
- 1
|
9
|
+
version: 0.7.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pomelo, LLC
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-04-01 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|