rails3_sequel 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -90,7 +90,7 @@ Rake tasks usage:
90
90
  db:schema:dump
91
91
  Uses Sequel's schema_dumper. Stores output in db/schema.rb.
92
92
  db:schema:load
93
- Does not work yet, but you can use just run the migrator on the schema file.
93
+ Does not work yet, but you can just run Sequel::Migrator on the schema file.
94
94
  db:seed
95
95
  Load the seed data from db/seeds.rb
96
96
  db:version
@@ -119,7 +119,7 @@ Will use name and specie as composite primary keys. Data types are as specified
119
119
 
120
120
  Example:
121
121
 
122
- rails g scaffold cat name:String:pk description:Text ugly:Boolean location:geocode
122
+ rails g scaffold cat name:String:pk description:Text ugly:Boolean location:geocode
123
123
 
124
124
  Note that the "location" field's type will not be translated and geocode will be used as the type in the database.
125
125
 
@@ -152,5 +152,6 @@ MIT
152
152
  Credits
153
153
  -------
154
154
 
155
- Based partially on rails_sequel by Piotr Usewicz: http://github.com/pusewicz/rails_sequel
156
- Thanks to ActiveRecord's and dm-rails' railties
155
+ + Piotr Usewicz for rails_sequel (http://github.com/pusewicz/rails_sequel)
156
+ + Jeremy Evans for Sequel and pointers he gave for this plugin
157
+ + Many thanks to ActiveRecord's and dm-rails' railties, and everyone at Rails 3 team for making this even possible
data/VERSION CHANGED
@@ -1 +1 @@
1
- alpha
1
+ 0.2.1
@@ -34,8 +34,6 @@ module Rails
34
34
  end
35
35
 
36
36
  initializer 'sequel.logging' do |app|
37
- ::Sequel::Model.db.log_warn_duration = 0.1
38
-
39
37
  if app.config.rails_fancy_pants_logging then
40
38
  ::Sequel::Model.db.loggers << Rails.logger
41
39
  ::Sequel::Model.db.extend Rails::Sequel::Logging
@@ -13,7 +13,7 @@ module Rails
13
13
  name = color(name, :magenta, true)
14
14
  end
15
15
 
16
- warn " #{name} #{sql}"
16
+ debug " #{name} #{sql}"
17
17
  end
18
18
 
19
19
  # by default, Rails.logger will be used
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails3_sequel
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 0
9
- version: 0.2.0
4
+ version: 0.2.1
10
5
  platform: ruby
11
6
  authors:
12
7
  - Rachot Moragraan
@@ -19,33 +14,24 @@ default_executable:
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: sequel
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
24
20
  requirements:
25
21
  - - ">="
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 3
29
- - 11
30
- - 0
31
23
  version: 3.11.0
32
- type: :runtime
33
- version_requirements: *id001
24
+ version:
34
25
  - !ruby/object:Gem::Dependency
35
26
  name: rails
36
- prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
38
30
  requirements:
39
31
  - - ">="
40
32
  - !ruby/object:Gem::Version
41
- segments:
42
- - 3
43
- - 0
44
- - 0
45
- - beta3
46
33
  version: 3.0.0.beta3
47
- type: :runtime
48
- version_requirements: *id002
34
+ version:
49
35
  description: Rails 3 integration with Sequel
50
36
  email: janechii@gmail.com
51
37
  executables: []
@@ -55,26 +41,26 @@ extensions: []
55
41
  extra_rdoc_files: []
56
42
 
57
43
  files:
58
- - lib/rails/generators/sequel/observer/templates/observer.rb
59
- - lib/rails/generators/sequel/observer/observer_generator.rb
60
- - lib/rails/generators/sequel/model/model_generator.rb
61
- - lib/rails/generators/sequel/model/templates/migration.rb
44
+ - lib/rails3_sequel/railties/controller_runtime.rb
45
+ - lib/rails3_sequel/railties/log_subscriber.rb
46
+ - lib/rails3_sequel/database.rb
47
+ - lib/rails3_sequel/logging.rb
48
+ - lib/rails3_sequel/railtie.rb
49
+ - lib/rails3_sequel.rb
62
50
  - lib/rails/generators/sequel/model/templates/model.rb
63
- - lib/rails/generators/sequel/active_model.rb
51
+ - lib/rails/generators/sequel/model/templates/migration.rb
52
+ - lib/rails/generators/sequel/model/model_generator.rb
64
53
  - lib/rails/generators/sequel/migration/templates/migration.rb
65
54
  - lib/rails/generators/sequel/migration/migration_generator.rb
55
+ - lib/rails/generators/sequel/observer/observer_generator.rb
56
+ - lib/rails/generators/sequel/observer/templates/observer.rb
57
+ - lib/rails/generators/sequel/active_model.rb
66
58
  - lib/rails/generators/sequel/generated_attribute.rb
67
59
  - lib/rails/generators/sequel.rb
68
- - lib/rails3_sequel/railtie.rb
69
- - lib/rails3_sequel/database.rb
70
- - lib/rails3_sequel/logging.rb
71
- - lib/rails3_sequel/railties/controller_runtime.rb
72
- - lib/rails3_sequel/railties/log_subscriber.rb
73
- - lib/rails3_sequel.rb
74
60
  - lib/rails3_sequel/railties/database.rake
61
+ - LICENSE
75
62
  - README.md
76
63
  - VERSION
77
- - LICENSE
78
64
  has_rdoc: true
79
65
  homepage: http://github.com/mooman/rails3_sequel
80
66
  licenses: []
@@ -88,20 +74,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
74
  requirements:
89
75
  - - ">="
90
76
  - !ruby/object:Gem::Version
91
- segments:
92
- - 0
93
77
  version: "0"
78
+ version:
94
79
  required_rubygems_version: !ruby/object:Gem::Requirement
95
80
  requirements:
96
81
  - - ">="
97
82
  - !ruby/object:Gem::Version
98
- segments:
99
- - 0
100
83
  version: "0"
84
+ version:
101
85
  requirements: []
102
86
 
103
87
  rubyforge_project:
104
- rubygems_version: 1.3.6
88
+ rubygems_version: 1.3.4
105
89
  signing_key:
106
90
  specification_version: 3
107
91
  summary: Rails 3 integration with Sequel