rtt 0.0.0.52 → 0.0.0.53

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -25,6 +25,7 @@ lib/rtt/interactive_configurator.rb
25
25
  lib/rtt/query_builder.rb
26
26
  lib/rtt/report_generator.rb
27
27
  lib/rtt/storage.rb
28
+ rtt.gemspec
28
29
  spec/ar_spec_helper.rb
29
30
  spec/lib/models/task_spec.rb
30
31
  spec/lib/rtt_spec.rb
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'echoe'
3
3
 
4
4
  # PACKAGING ============================================================
5
5
 
6
- Echoe.new('rtt', '0.0.0.52') do |p|
6
+ Echoe.new('rtt', '0.0.0.53') 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
@@ -8,7 +8,7 @@ Dir[File.expand_path(File.join(File.dirname(__FILE__), 'rtt', '*'))].each { |lib
8
8
 
9
9
  module Rtt
10
10
 
11
- VERSION = '0.0.0.52'
11
+ VERSION = '0.0.0.53'
12
12
 
13
13
  extend self
14
14
 
@@ -24,7 +24,7 @@ module Rtt
24
24
  end
25
25
 
26
26
  def init(env = :production)
27
- ActiveRecord::Base.establish_connection(config(env))
27
+ ActiveRecord::Base.establish_connection(config(env).merge('database' => database_file))
28
28
  log_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'log'))
29
29
  Dir::mkdir(log_dir) unless FileTest::directory?(log_dir)
30
30
  ActiveRecord::Base.logger = Logger.new(File.open(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'log', 'database.log')), 'a'))
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rtt"
5
- s.version = "0.0.0.52"
5
+ s.version = "0.0.0.53"
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", "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"]
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", "spec/ar_spec_helper.rb", "spec/lib/models/task_spec.rb", "spec/lib/rtt_spec.rb", "tasks/rtt.rake", "rtt.gemspec"]
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.52
4
+ version: 0.0.0.53
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -384,11 +384,11 @@ files:
384
384
  - lib/rtt/query_builder.rb
385
385
  - lib/rtt/report_generator.rb
386
386
  - lib/rtt/storage.rb
387
- - rtt.gemspec
388
387
  - spec/ar_spec_helper.rb
389
388
  - spec/lib/models/task_spec.rb
390
389
  - spec/lib/rtt_spec.rb
391
390
  - tasks/rtt.rake
391
+ - rtt.gemspec
392
392
  homepage: http://github.com/marklazz/rtt
393
393
  licenses: []
394
394
  post_install_message: