taps 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION.yml +1 -1
- data/bin/taps +1 -1
- data/lib/taps/cli.rb +2 -1
- data/lib/taps/client_session.rb +1 -1
- data/spec/base.rb +2 -1
- metadata +4 -4
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ begin
|
|
11
11
|
s.add_dependency 'sinatra', '= 0.9.2'
|
12
12
|
s.add_dependency 'activerecord', '= 2.2.2'
|
13
13
|
s.add_dependency 'thor', '= 0.9.9'
|
14
|
-
s.add_dependency 'rest-client', '~> 1.
|
14
|
+
s.add_dependency 'rest-client', '~> 1.3.0'
|
15
15
|
s.add_dependency 'sequel', '>= 3.0.0', '< 3.1.0'
|
16
16
|
s.add_dependency 'sqlite3-ruby', '~> 1.2.0'
|
17
17
|
|
data/VERSION.yml
CHANGED
data/bin/taps
CHANGED
data/lib/taps/cli.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
require 'thor'
|
2
|
+
require 'tempfile'
|
2
3
|
require File.dirname(__FILE__) + '/config'
|
3
4
|
|
4
|
-
Taps::Config.taps_database_url = ENV['TAPS_DATABASE_URL'] || '
|
5
|
+
Taps::Config.taps_database_url = ENV['TAPS_DATABASE_URL'] || "sqlite://#{Tempfile.new('taps.db').path}"
|
5
6
|
|
6
7
|
module Taps
|
7
8
|
class Cli < Thor
|
data/lib/taps/client_session.rb
CHANGED
data/spec/base.rb
CHANGED
@@ -2,6 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'bacon'
|
3
3
|
require 'mocha'
|
4
4
|
require 'rack/test'
|
5
|
+
require 'tempfile'
|
5
6
|
|
6
7
|
class Bacon::Context
|
7
8
|
include Mocha::Standalone
|
@@ -19,5 +20,5 @@ class Bacon::Context
|
|
19
20
|
end
|
20
21
|
|
21
22
|
require File.dirname(__FILE__) + '/../lib/taps/config'
|
22
|
-
Taps::Config.taps_database_url = '
|
23
|
+
Taps::Config.taps_database_url = "sqlite://#{Tempfile.new('test.db').path}"
|
23
24
|
Sequel.connect(Taps::Config.taps_database_url)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Chimal, Jr.
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-02-
|
13
|
+
date: 2010-02-11 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.3.0
|
55
55
|
version:
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: sequel
|
@@ -144,5 +144,5 @@ test_files:
|
|
144
144
|
- spec/schema_spec.rb
|
145
145
|
- spec/client_session_spec.rb
|
146
146
|
- spec/utils_spec.rb
|
147
|
-
- spec/base.rb
|
148
147
|
- spec/server_spec.rb
|
148
|
+
- spec/base.rb
|