active_wrapper 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -3,6 +3,11 @@ ActiveWrapper
3
3
 
4
4
  Wraps ActiveRecord and Logger for use in non-Rails environments.
5
5
 
6
+ Compatibility
7
+ -------------
8
+
9
+ Tested with Ruby 1.8.6, 1.8.7, and 1.9.1.
10
+
6
11
  Setup
7
12
  -----
8
13
 
data/Rakefile CHANGED
@@ -48,7 +48,8 @@ end
48
48
 
49
49
  desc "Run specs"
50
50
  Spec::Rake::SpecTask.new do |t|
51
- t.rcov = true
52
51
  t.spec_opts = ["--format", "specdoc", "--colour"]
53
52
  t.spec_files = FileList["spec/**/*_spec.rb"]
54
- end
53
+ end
54
+
55
+ task :default => :spec
data/gemspec.rb CHANGED
@@ -11,13 +11,13 @@ GEM_SPEC = Gem::Specification.new do |s|
11
11
  s.homepage = "http://github.com/winton/#{GEM_NAME}"
12
12
  s.summary = "Wraps ActiveRecord and Logger for use in non-Rails environments"
13
13
  # == CONFIGURE ==
14
- s.add_dependency('activerecord', '=2.3.4')
15
- s.add_dependency('actionmailer', '=2.3.4')
14
+ s.add_dependency('activerecord', '=2.3.5')
15
+ s.add_dependency('actionmailer', '=2.3.5')
16
16
  s.extra_rdoc_files = [ "README.markdown" ]
17
17
  s.files = GEM_FILES.to_a
18
18
  s.has_rdoc = false
19
19
  s.name = GEM_NAME
20
20
  s.platform = Gem::Platform::RUBY
21
21
  s.require_path = "lib"
22
- s.version = "0.2.1"
22
+ s.version = "0.2.2"
23
23
  end
@@ -3,10 +3,10 @@ Dir["#{File.dirname(__FILE__)}/../vendor/*/lib"].each do |path|
3
3
  end
4
4
 
5
5
  require 'rubygems'
6
- gem 'activerecord', '=2.3.4'
7
- gem 'actionmailer', '=2.3.4'
8
- require 'activerecord'
9
- require 'actionmailer'
6
+ gem 'activerecord', '=2.3.5'
7
+ gem 'actionmailer', '=2.3.5'
8
+ require 'active_record'
9
+ require 'action_mailer'
10
10
  require 'logger'
11
11
  require 'yaml'
12
12
 
@@ -18,7 +18,7 @@ describe ActiveWrapper::Db do
18
18
  end
19
19
 
20
20
  it "should create a database" do
21
- $db.current_database.should == 'active_wrapper_test'
21
+ $db.current_database.should == 'active_wrapper'
22
22
  end
23
23
 
24
24
  it "should drop a database" do
@@ -1,7 +1,6 @@
1
1
  test:
2
- database: active_wrapper_test
2
+ database: active_wrapper
3
3
  adapter: mysql
4
4
  username: root
5
5
  password:
6
- host: localhost
7
- socket: /tmp/mysql.sock
6
+ host: localhost
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-10 00:00:00 -08:00
12
+ date: 2009-11-28 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.3.4
23
+ version: 2.3.5
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: actionmailer
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.4
33
+ version: 2.3.5
34
34
  version:
35
35
  description:
36
36
  email: mail@wintoni.us