sinatra-activerecord 2.0.0.rc2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5a793e2e9766107769c69e570aad46e5d3388c3
4
- data.tar.gz: 1f1a0f0bcc4a133ded8adbf47625747b54bf6635
3
+ metadata.gz: 1d2fbc07c0f9935460a455c4d0185a42f4ad58f2
4
+ data.tar.gz: 3ecba535d8d83ac4bf2abcd4a2c2c30dff1c32a2
5
5
  SHA512:
6
- metadata.gz: 64bf50a0e2d7bd17fdb0dbb4d08eac01cf669eb773e9d497cfc6cc31e5f351ac5e6c616b75b8cb5ae72619b691bfb4f7d0d6616c770e0cd6618a969fc5913315
7
- data.tar.gz: 1e53a2d583f2dba949d4cfc5ce6e32f693c7c8701715378ddf918535785ba31762d828d13fdf1ad3a1baf4b6aa32fa17a44d9e478d511b8db2f86fb7484c4612
6
+ metadata.gz: a92aaadbcedd03058ae6d7362bf20601ccb3082f73350375fa014aa693bdd762d3207124cc43d35cddba31c423f9e7507036a29e4c6afd8a61d518434f871bee
7
+ data.tar.gz: 05d38c9ead41262cd6a851688d9b3c0223fdf7c1c73c6d9a5fe481d2c0c6dca0c6afc81902415c9c221fc1da5390c8d065e1dca56c02428a4169f9771b643581
data/README.md CHANGED
@@ -4,6 +4,12 @@ Extends [Sinatra](http://www.sinatrarb.com/) with extension methods and Rake
4
4
  tasks for dealing with an SQL database using the
5
5
  [ActiveRecord ORM](https://github.com/rails/rails/tree/master/activerecord).
6
6
 
7
+ ## ActiveRecord 4.1
8
+
9
+ For ActiveRecord 4.1 use sinatra-activerecord `2.0.0.rc2`. I recommend upgrading
10
+ even if you don't use ActiveRecord 4.1, because it includes *all* the Rake tasks
11
+ that ActiveRecord has.
12
+
7
13
  ## Setup
8
14
 
9
15
  Put it in your `Gemfile`, along with the adapter of your database. For
@@ -19,6 +25,7 @@ Now require it in your Sinatra application, and establish the database
19
25
  connection:
20
26
 
21
27
  ```ruby
28
+ # app.rb
22
29
  require "sinatra/activerecord"
23
30
 
24
31
  set :database, "sqlite3:///foo.sqlite3"
@@ -39,6 +46,7 @@ end
39
46
  Now require the rake tasks and your app in your `Rakefile`:
40
47
 
41
48
  ```ruby
49
+ # Rakefile
42
50
  require "sinatra/activerecord/rake"
43
51
  require "./app"
44
52
  ```
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Mizerany
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-17 00:00:00.000000000 Z
12
+ date: 2014-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: 1.9.2
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">"
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: 1.3.1
128
+ version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
131
  rubygems_version: 2.2.2