rtt 0.0.0.51 → 0.0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +0 -1
- data/Rakefile +1 -1
- data/lib/rtt.rb +1 -1
- data/lib/rtt/storage.rb +2 -0
- data/rtt.gemspec +2 -2
- metadata +2 -2
data/Manifest
CHANGED
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'echoe'
|
|
3
3
|
|
4
4
|
# PACKAGING ============================================================
|
5
5
|
|
6
|
-
Echoe.new('rtt', '0.0.0.
|
6
|
+
Echoe.new('rtt', '0.0.0.52') do |p|
|
7
7
|
p.description = 'RTT is a tool for tracking time'
|
8
8
|
p.url = 'http://github.com/marklazz/rtt'
|
9
9
|
p.author = 'Marcelo Giorgi'
|
data/lib/rtt.rb
CHANGED
data/lib/rtt/storage.rb
CHANGED
@@ -25,6 +25,8 @@ module Rtt
|
|
25
25
|
|
26
26
|
def init(env = :production)
|
27
27
|
ActiveRecord::Base.establish_connection(config(env))
|
28
|
+
log_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'log'))
|
29
|
+
Dir::mkdir(log_dir) unless FileTest::directory?(log_dir)
|
28
30
|
ActiveRecord::Base.logger = Logger.new(File.open(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'log', 'database.log')), 'a'))
|
29
31
|
silence_stream(STDOUT) do
|
30
32
|
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'db', 'schema.rb')) unless tables_exists?
|
data/rtt.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rtt"
|
5
|
-
s.version = "0.0.0.
|
5
|
+
s.version = "0.0.0.52"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Marcelo Giorgi"]
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.email = "marklazz.uy@gmail.com"
|
12
12
|
s.executables = ["rtt"]
|
13
13
|
s.extra_rdoc_files = ["LICENSE", "README.rdoc", "bin/rtt", "lib/extensions/array.rb", "lib/extensions/date.rb", "lib/extensions/hash.rb", "lib/extensions/kernel.rb", "lib/models/client.rb", "lib/models/project.rb", "lib/models/task.rb", "lib/models/user.rb", "lib/rtt.rb", "lib/rtt/boot.rb", "lib/rtt/cmd_line_parser.rb", "lib/rtt/interactive_configurator.rb", "lib/rtt/query_builder.rb", "lib/rtt/report_generator.rb", "lib/rtt/storage.rb", "tasks/rtt.rake"]
|
14
|
-
s.files = ["Gemfile", "Gemfile.lock", "LICENSE", "README.rdoc", "Rakefile", "USAGE.txt", "bin/rtt", "db/config.yml", "db/production.sqlite3", "db/schema.rb", "db/test.sqlite3", "lib/extensions/array.rb", "lib/extensions/date.rb", "lib/extensions/hash.rb", "lib/extensions/kernel.rb", "lib/models/client.rb", "lib/models/project.rb", "lib/models/task.rb", "lib/models/user.rb", "lib/rtt.rb", "lib/rtt/boot.rb", "lib/rtt/cmd_line_parser.rb", "lib/rtt/interactive_configurator.rb", "lib/rtt/query_builder.rb", "lib/rtt/report_generator.rb", "lib/rtt/storage.rb", "rtt.gemspec", "spec/ar_spec_helper.rb", "spec/lib/models/task_spec.rb", "spec/lib/rtt_spec.rb", "tasks/rtt.rake"
|
14
|
+
s.files = ["Gemfile", "Gemfile.lock", "LICENSE", "Manifest", "README.rdoc", "Rakefile", "USAGE.txt", "bin/rtt", "db/config.yml", "db/production.sqlite3", "db/schema.rb", "db/test.sqlite3", "lib/extensions/array.rb", "lib/extensions/date.rb", "lib/extensions/hash.rb", "lib/extensions/kernel.rb", "lib/models/client.rb", "lib/models/project.rb", "lib/models/task.rb", "lib/models/user.rb", "lib/rtt.rb", "lib/rtt/boot.rb", "lib/rtt/cmd_line_parser.rb", "lib/rtt/interactive_configurator.rb", "lib/rtt/query_builder.rb", "lib/rtt/report_generator.rb", "lib/rtt/storage.rb", "rtt.gemspec", "spec/ar_spec_helper.rb", "spec/lib/models/task_spec.rb", "spec/lib/rtt_spec.rb", "tasks/rtt.rake"]
|
15
15
|
s.homepage = "http://github.com/marklazz/rtt"
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rtt", "--main", "README.rdoc"]
|
17
17
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.52
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -360,6 +360,7 @@ files:
|
|
360
360
|
- Gemfile
|
361
361
|
- Gemfile.lock
|
362
362
|
- LICENSE
|
363
|
+
- Manifest
|
363
364
|
- README.rdoc
|
364
365
|
- Rakefile
|
365
366
|
- USAGE.txt
|
@@ -388,7 +389,6 @@ files:
|
|
388
389
|
- spec/lib/models/task_spec.rb
|
389
390
|
- spec/lib/rtt_spec.rb
|
390
391
|
- tasks/rtt.rake
|
391
|
-
- Manifest
|
392
392
|
homepage: http://github.com/marklazz/rtt
|
393
393
|
licenses: []
|
394
394
|
post_install_message:
|