swiss_db 0.6.3 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f6dc466e5a73e0845b92c20c4f709a653a3c4a7
4
- data.tar.gz: fa1188d6631c175e4e0c6fc8e4e0a8eeacca8609
3
+ metadata.gz: 557c9d785540bb8f57c7683a3571a300e26533fe
4
+ data.tar.gz: 3a52e2f527e47e65b9e6cd900ab8d60345a277b6
5
5
  SHA512:
6
- metadata.gz: 6d62c444464a318fc1a04ddcbacc661bd8559cbf7cf023980f243014f5fa51366674e8d31cc5c75b3ebde25f08bdec9f9d9d380cd53823103305fcd2c8ce7bd1
7
- data.tar.gz: 6da9da95a0617dd1bc8a0c94b5a17405077f7710c399e5a76adfd8e3a6c3ddc4821ffe9230edfbb2399e00b29cff133ff95df7012043a12872e59c9dd5ceaf9a
6
+ metadata.gz: 53d154c22d2b3c030f12dd1e487328041aaab7d2c3d322d5ba53aaecd31d462bea33c224ebf3d13559c3b666af5f0ca53a683a314d4da20db6d6beb7bf14f39e
7
+ data.tar.gz: a49f6300726d2c7d37776469c923d7850fc367c136718e4970cdae82fe057def8d6912ee2917ee98232e59e70cd7d96ca2970583ef815304fadfe4c60d2e11be
data/README.md CHANGED
@@ -100,7 +100,7 @@ detect class names of models for tableize
100
100
  KNOWN LIMITATION: This ORM compiles in the database name and the database version as a constant. Unfortunately I don't know of a way around this yet. This means no DB migrations yet by doing the simple version bump that is supported by Android. If we get a way to configure these from outside the gem, it will open up possibilities such as multiple schemas and migrations. To get around this simply delete your local database when you need to migrate. You can delete the app from the simulator/device (probably) or use my convenience command:
101
101
 
102
102
  ```ruby
103
- DataStore.new($app_context).drop_db #=> true if the DB was dropped, false if not
103
+ DataStore.drop_db #=> true if the DB was dropped, false if not
104
104
  ```
105
105
 
106
106
  ## Development
@@ -24,7 +24,7 @@
24
24
  getWritableDatabase
25
25
  end
26
26
 
27
- def drop_db
27
+ def self.drop_db
28
28
  @@context.deleteDatabase(DATABASE_NAME)
29
29
  end
30
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiss_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Silverman