taps 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +13 -5
  2. data/VERSION.yml +1 -1
  3. data/bin/taps +1 -1
  4. metadata +11 -8
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', '~> 0.9.0'
14
+ s.add_dependency 'rest-client', '>= 1.0.0', '< 1.1.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
 
@@ -21,8 +21,12 @@ begin
21
21
  s.files = FileList['spec/*.rb'] + FileList['lib/**/*.rb'] + ['README.rdoc', 'LICENSE', 'VERSION.yml', 'Rakefile']
22
22
  s.executables = ['taps', 'schema']
23
23
  end
24
- rescue LoadError
25
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
24
+ rescue LoadError => e
25
+ if e.message =~ /jeweler/
26
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
27
+ else
28
+ puts e.message + ' -- while loading jeweler.'
29
+ end
26
30
  end
27
31
 
28
32
  require 'rake/rdoctask'
@@ -45,9 +49,13 @@ rescue LoadError
45
49
  puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
46
50
  end
47
51
 
48
- desc "Run all specs"
52
+ desc "Run all specs; requires the bacon gem"
49
53
  task :spec do
50
- system "bacon #{File.dirname(__FILE__)}/spec/*_spec.rb"
54
+ if `which bacon`.empty?
55
+ puts "bacon is not available. In order to run the specs, you must: sudo gem install bacon."
56
+ else
57
+ system "bacon #{File.dirname(__FILE__)}/spec/*_spec.rb"
58
+ end
51
59
  end
52
60
 
53
61
  task :default => :spec
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 17
2
+ :patch: 18
3
3
  :major: 0
4
4
  :minor: 2
data/bin/taps CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'rubygems'
4
4
  gem 'activerecord', '= 2.2.2'
5
5
  gem 'thor', '= 0.9.9'
6
- gem 'rest-client', '~> 0.9.0'
6
+ gem 'rest-client', '>= 1.0.0', '< 1.1.0'
7
7
  gem 'sinatra', '= 0.9.2'
8
8
  gem 'sequel', '>= 3.0.0', '< 3.1.0'
9
9
  gem 'sqlite3-ruby', '~> 1.2.0'
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.17
4
+ version: 0.2.18
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: 2009-05-19 00:00:00 -07:00
13
+ date: 2009-05-29 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -49,9 +49,12 @@ dependencies:
49
49
  version_requirement:
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ - - <
53
56
  - !ruby/object:Gem::Version
54
- version: 0.9.0
57
+ version: 1.1.0
55
58
  version:
56
59
  - !ruby/object:Gem::Dependency
57
60
  name: sequel
@@ -93,17 +96,17 @@ files:
93
96
  - spec/utils_spec.rb
94
97
  - lib/taps/progress_bar.rb
95
98
  - lib/taps/adapter_hacks.rb
96
- - lib/taps/adapter_hacks/non_rails_schema_dump.rb
99
+ - lib/taps/adapter_hacks/invalid_binary_limit.rb
97
100
  - lib/taps/adapter_hacks/invalid_text_limit.rb
98
101
  - lib/taps/adapter_hacks/mysql_invalid_primary_key.rb
99
- - lib/taps/adapter_hacks/invalid_binary_limit.rb
102
+ - lib/taps/adapter_hacks/non_rails_schema_dump.rb
103
+ - lib/taps/schema.rb
100
104
  - lib/taps/cli.rb
101
105
  - lib/taps/db_session.rb
106
+ - lib/taps/server.rb
102
107
  - lib/taps/utils.rb
103
- - lib/taps/schema.rb
104
108
  - lib/taps/client_session.rb
105
109
  - lib/taps/config.rb
106
- - lib/taps/server.rb
107
110
  - README.rdoc
108
111
  - LICENSE
109
112
  - VERSION.yml