sinatra-activerecord 0.1.2 → 0.1.3
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.
- data/README.md +5 -1
- data/lib/sinatra/activerecord/rake.rb +1 -1
- data/sinatra-activerecord.gemspec +1 -1
- metadata +26 -8
data/README.md
CHANGED
@@ -7,7 +7,7 @@ tasks for dealing with a SQL database using the [ActiveRecord ORM](http://api.ru
|
|
7
7
|
Install the `sinatra-activerecord` gem along with one of the database adapters:
|
8
8
|
|
9
9
|
sudo gem install activerecord
|
10
|
-
sudo gem install sinatra-activerecord -s http://
|
10
|
+
sudo gem install sinatra-activerecord -s http://gemcutter.org
|
11
11
|
sudo gem install sqlite3
|
12
12
|
sudo gem install mysql
|
13
13
|
sudo gem install postgres
|
@@ -70,6 +70,10 @@ the following code in about anywhere and it'll work just fine:
|
|
70
70
|
erb :foos
|
71
71
|
end
|
72
72
|
|
73
|
+
### NOTE about the rip-off
|
74
|
+
|
75
|
+
This Code and README.md is a heavy adaption of [rtomayko's sinatra-sequel](http://github.com/rtomayko/sinatra-sequel/)
|
76
|
+
|
73
77
|
Copyright (c) 2009 Blake Mizerany
|
74
78
|
|
75
79
|
Permission is hereby granted, free of charge, to any person
|
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'sinatra-activerecord'
|
6
|
-
s.version = '0.1.
|
6
|
+
s.version = '0.1.3'
|
7
7
|
s.date = '2009-09-21'
|
8
8
|
|
9
9
|
s.description = "Extends Sinatra with activerecord helpers for instant activerecord use"
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Blake Mizerany
|
@@ -14,14 +20,20 @@ default_executable:
|
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: sinatra
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 51
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 9
|
33
|
+
- 4
|
23
34
|
version: 0.9.4
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
25
37
|
description: Extends Sinatra with activerecord helpers for instant activerecord use
|
26
38
|
email: blake.mizerany@gmail.com
|
27
39
|
executables: []
|
@@ -48,21 +60,27 @@ rdoc_options:
|
|
48
60
|
require_paths:
|
49
61
|
- lib
|
50
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
51
64
|
requirements:
|
52
65
|
- - ">="
|
53
66
|
- !ruby/object:Gem::Version
|
67
|
+
hash: 3
|
68
|
+
segments:
|
69
|
+
- 0
|
54
70
|
version: "0"
|
55
|
-
version:
|
56
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
57
73
|
requirements:
|
58
74
|
- - ">="
|
59
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 3
|
77
|
+
segments:
|
78
|
+
- 0
|
60
79
|
version: "0"
|
61
|
-
version:
|
62
80
|
requirements: []
|
63
81
|
|
64
82
|
rubyforge_project: bmizerany
|
65
|
-
rubygems_version: 1.
|
83
|
+
rubygems_version: 1.5.2
|
66
84
|
signing_key:
|
67
85
|
specification_version: 2
|
68
86
|
summary: Extends Sinatra with activerecord helpers for instant activerecord use
|