rack-scaffold 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -8
- data/lib/rack/scaffold/adapters/core_data.rb +4 -1
- data/rack-scaffold.gemspec +1 -1
- metadata +8 -9
- data/rack-scaffold-0.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 360768fd0ef66689a6eb6c3fda2fe1d66088c5ec
|
4
|
+
data.tar.gz: 61ec5dbd6a8b956694c6d0752ec4944961ca0598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 342900ad0c9c8e43f0911b0ae9d556fe357047136e2d0c0a7618e4004909efcc5d291823d65cae6469f72c399a96f3bbbbbb815497f43524735a33141404b344
|
7
|
+
data.tar.gz: 87f6a502de098edfc7abc9cff2b28de7153b77629783bf296fa2bbdf8474a00337ec7250de0fb184addd2619a66b320f21da2eca83e94e309c83d5d665eb4401
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rack-scaffold (0.0.
|
4
|
+
rack-scaffold (0.0.3)
|
5
5
|
activesupport (>= 3.0)
|
6
6
|
rack (~> 1.4)
|
7
7
|
rack-contrib (~> 1.1)
|
@@ -11,24 +11,32 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (
|
15
|
-
i18n (
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
activesupport (4.0.0)
|
15
|
+
i18n (~> 0.6, >= 0.6.4)
|
16
|
+
minitest (~> 4.2)
|
17
|
+
multi_json (~> 1.3)
|
18
|
+
thread_safe (~> 0.1)
|
19
|
+
tzinfo (~> 0.3.37)
|
20
|
+
atomic (1.1.10)
|
21
|
+
i18n (0.6.4)
|
22
|
+
minitest (4.7.5)
|
23
|
+
multi_json (1.7.7)
|
19
24
|
rack (1.5.2)
|
20
25
|
rack-contrib (1.1.0)
|
21
26
|
rack (>= 0.9.1)
|
22
27
|
rack-protection (1.5.0)
|
23
28
|
rack
|
24
29
|
rake (10.0.4)
|
25
|
-
sinatra (1.4.
|
26
|
-
rack (~> 1.
|
30
|
+
sinatra (1.4.3)
|
31
|
+
rack (~> 1.4)
|
27
32
|
rack-protection (~> 1.4)
|
28
33
|
tilt (~> 1.3, >= 1.3.4)
|
29
34
|
sinatra-param (0.1.3)
|
30
35
|
sinatra (~> 1.3)
|
36
|
+
thread_safe (0.1.0)
|
37
|
+
atomic
|
31
38
|
tilt (1.4.1)
|
39
|
+
tzinfo (0.3.37)
|
32
40
|
|
33
41
|
PLATFORMS
|
34
42
|
ruby
|
@@ -21,6 +21,9 @@ module Rack::Scaffold::Adapters
|
|
21
21
|
klass.dataset = entity.name.downcase.pluralize.to_sym
|
22
22
|
|
23
23
|
klass.class_eval do
|
24
|
+
alias :update! :update
|
25
|
+
alias :destroy! :destroy
|
26
|
+
|
24
27
|
self.strict_param_setting = false
|
25
28
|
self.raise_on_save_failure = false
|
26
29
|
|
@@ -117,7 +120,7 @@ module Rack::Scaffold::Adapters
|
|
117
120
|
end
|
118
121
|
end
|
119
122
|
|
120
|
-
|
123
|
+
|
121
124
|
super(CoreData.const_set(entity.name, klass))
|
122
125
|
end
|
123
126
|
end
|
data/rack-scaffold.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.email = "m@mattt.me"
|
8
8
|
s.homepage = "http://mattt.me"
|
9
9
|
s.license = "MIT"
|
10
|
-
s.version = "0.0.
|
10
|
+
s.version = "0.0.3"
|
11
11
|
s.platform = Gem::Platform::RUBY
|
12
12
|
s.summary = "Rack::Scaffold"
|
13
13
|
s.description = "Automatically generate RESTful CRUD services"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -70,28 +70,28 @@ dependencies:
|
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Automatically generate RESTful CRUD services
|
@@ -108,7 +108,6 @@ files:
|
|
108
108
|
- ./lib/rack/scaffold/adapters.rb
|
109
109
|
- ./lib/rack/scaffold.rb
|
110
110
|
- ./LICENSE
|
111
|
-
- ./rack-scaffold-0.0.1.gem
|
112
111
|
- ./rack-scaffold.gemspec
|
113
112
|
- ./Rakefile
|
114
113
|
- ./README.md
|
@@ -122,12 +121,12 @@ require_paths:
|
|
122
121
|
- lib
|
123
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
123
|
requirements:
|
125
|
-
- -
|
124
|
+
- - '>='
|
126
125
|
- !ruby/object:Gem::Version
|
127
126
|
version: '0'
|
128
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
128
|
requirements:
|
130
|
-
- -
|
129
|
+
- - '>='
|
131
130
|
- !ruby/object:Gem::Version
|
132
131
|
version: '0'
|
133
132
|
requirements: []
|
data/rack-scaffold-0.0.1.gem
DELETED
Binary file
|