active-record-binder 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/active_record_binder.rb +5 -5
  2. metadata +1 -1
@@ -17,7 +17,7 @@ module Binder
17
17
  #
18
18
  # # Your methods
19
19
  # end
20
- #
20
+ # #
21
21
  # # Or
22
22
  # class ARMySqlPlug < Binder::AR
23
23
  # database 'db'
@@ -34,15 +34,15 @@ module Binder
34
34
  # foo.first
35
35
  #
36
36
  # # Furthermore, the Binder::AR class, has some interesting class methods :
37
- #
37
+ # #
38
38
  # Binder::AR::default_database # => ENV['APP_DB'] # This value would be used if no database had been set during the plus creation.
39
39
  # Binder::AR::database # => Returns the current database used by the Binder in general (Would default to ENV['APP_DB'] if not specified)
40
40
  # ARSqlitePlug::database # => :db (Works the same and returns this Plug Class's database parameters)
41
- #
41
+ # #
42
42
  # # The same goes for the adapters :
43
43
  # Binder::AR::default_adapter # => :sqlite3
44
44
  # ARMySqlPlug::adapter # => :mysql
45
- #
45
+ # #
46
46
  # # And connection parameters
47
47
  # Binder::AR::connection # => {}
48
48
  # ARMySqlPlug::connection # => { :user => 'Foo', :password => 'Bar', :host => 'localhost' }
@@ -163,7 +163,7 @@ module Binder
163
163
 
164
164
  # Public: Retrieves de default database
165
165
  #
166
- # Returns a the content of ENV['APP_DB'].
166
+ # Returns a the content of ENV\['APP_DB'\].
167
167
  def default_database; ENV['APP_DB'] end
168
168
 
169
169
  # Public: Retrieves de default database
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-record-binder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: