dynamic_controller 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +2 -1
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/README.md +4 -0
- data/Rakefile +9 -0
- data/dynamic_controller.gemspec +4 -1
- data/lib/dynamic_controller/helper_methods.rb +2 -0
- data/lib/dynamic_controller/version.rb +1 -1
- data/spec/coverage_helper.rb +8 -0
- data/spec/spec_helper.rb +1 -1
- metadata +55 -32
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 10ab55586865bb17ead955fc52d22acd43805fe4f6f9f482b74508fc8590c675
|
4
|
+
data.tar.gz: 9d67b6592e3aa6d1ec5f101a51ec575a6c62296c80bca12d1b4b17a1c574df86
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e1914f74be4f514b2d5c7764055066c0a2be9aaae82f9366c6b61ea099dcfed8419b01e8e7554f05b50b5d44a4e179da62de0b205774fc67a7869ef6a5c13d07
|
7
|
+
data.tar.gz: 4aaf26c8bbccb2eb0b8549e95f91307584fd543addf4498f63db50fefb141bb4e0360a82c078bdd03660b5a43c39f67d8b3c48112063a46975f61188f192f2b4
|
data/.coveralls.yml
ADDED
data/.gitignore
CHANGED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
dynamic_controller
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.0.0-p247
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# DynamicController
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/dynamic_controller.png)](https://rubygems.org/gems/dynamic_controller)
|
3
4
|
[![Build Status](https://travis-ci.org/gabynaiman/dynamic_controller.png?branch=master)](https://travis-ci.org/gabynaiman/dynamic_controller)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/gabynaiman/dynamic_controller/badge.png?branch=master)](https://coveralls.io/r/gabynaiman/dynamic_controller?branch=master)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/gabynaiman/dynamic_controller.png)](https://codeclimate.com/github/gabynaiman/dynamic_controller)
|
7
|
+
[![Dependency Status](https://gemnasium.com/gabynaiman/dynamic_controller.png)](https://gemnasium.com/gabynaiman/dynamic_controller)
|
4
8
|
|
5
9
|
Simple way to add CRUD actions into Rails controllers.
|
6
10
|
|
data/Rakefile
CHANGED
data/dynamic_controller.gemspec
CHANGED
@@ -20,8 +20,11 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.add_dependency 'kaminari', '~> 0.13'
|
21
21
|
s.add_dependency 'nql', '~> 0.1'
|
22
22
|
|
23
|
+
s.add_development_dependency "bundler", "~> 1.3"
|
24
|
+
s.add_development_dependency "rake", '~> 11.0'
|
25
|
+
s.add_development_dependency "simplecov"
|
23
26
|
s.add_development_dependency 'rails', '~> 3.2'
|
24
|
-
s.add_development_dependency 'sqlite3', '~> 1.3'
|
27
|
+
s.add_development_dependency 'sqlite3', '~> 1.3.0'
|
25
28
|
s.add_development_dependency 'rspec-rails', '~> 2.12'
|
26
29
|
s.add_development_dependency 'factory_girl_rails', '~> 3.4'
|
27
30
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamic_controller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.12
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Gabriel Naiman
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: ransack
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: kaminari
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: nql
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,15 +48,55 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '11.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '11.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
62
97
|
- !ruby/object:Gem::Dependency
|
63
98
|
name: rails
|
64
99
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
100
|
requirements:
|
67
101
|
- - ~>
|
68
102
|
- !ruby/object:Gem::Version
|
@@ -70,7 +104,6 @@ dependencies:
|
|
70
104
|
type: :development
|
71
105
|
prerelease: false
|
72
106
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
107
|
requirements:
|
75
108
|
- - ~>
|
76
109
|
- !ruby/object:Gem::Version
|
@@ -78,23 +111,20 @@ dependencies:
|
|
78
111
|
- !ruby/object:Gem::Dependency
|
79
112
|
name: sqlite3
|
80
113
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
114
|
requirements:
|
83
115
|
- - ~>
|
84
116
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
117
|
+
version: 1.3.0
|
86
118
|
type: :development
|
87
119
|
prerelease: false
|
88
120
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
121
|
requirements:
|
91
122
|
- - ~>
|
92
123
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
124
|
+
version: 1.3.0
|
94
125
|
- !ruby/object:Gem::Dependency
|
95
126
|
name: rspec-rails
|
96
127
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
128
|
requirements:
|
99
129
|
- - ~>
|
100
130
|
- !ruby/object:Gem::Version
|
@@ -102,7 +132,6 @@ dependencies:
|
|
102
132
|
type: :development
|
103
133
|
prerelease: false
|
104
134
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
135
|
requirements:
|
107
136
|
- - ~>
|
108
137
|
- !ruby/object:Gem::Version
|
@@ -110,7 +139,6 @@ dependencies:
|
|
110
139
|
- !ruby/object:Gem::Dependency
|
111
140
|
name: factory_girl_rails
|
112
141
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
142
|
requirements:
|
115
143
|
- - ~>
|
116
144
|
- !ruby/object:Gem::Version
|
@@ -118,7 +146,6 @@ dependencies:
|
|
118
146
|
type: :development
|
119
147
|
prerelease: false
|
120
148
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
149
|
requirements:
|
123
150
|
- - ~>
|
124
151
|
- !ruby/object:Gem::Version
|
@@ -130,7 +157,10 @@ executables: []
|
|
130
157
|
extensions: []
|
131
158
|
extra_rdoc_files: []
|
132
159
|
files:
|
160
|
+
- .coveralls.yml
|
133
161
|
- .gitignore
|
162
|
+
- .ruby-gemset
|
163
|
+
- .ruby-version
|
134
164
|
- .travis.yml
|
135
165
|
- Gemfile
|
136
166
|
- README.md
|
@@ -154,6 +184,7 @@ files:
|
|
154
184
|
- spec/controllers/redefined_responders_json_spec.rb
|
155
185
|
- spec/controllers/two_level_nested_crud_actions_html_spec.rb
|
156
186
|
- spec/controllers/two_level_nested_crud_actions_json_spec.rb
|
187
|
+
- spec/coverage_helper.rb
|
157
188
|
- spec/custom_responder_format_spec.rb
|
158
189
|
- spec/dummy/.gitignore
|
159
190
|
- spec/dummy/Gemfile
|
@@ -238,32 +269,24 @@ files:
|
|
238
269
|
- spec/spec_helper.rb
|
239
270
|
homepage: https://github.com/gabynaiman/dynamic_controller
|
240
271
|
licenses: []
|
272
|
+
metadata: {}
|
241
273
|
post_install_message:
|
242
274
|
rdoc_options: []
|
243
275
|
require_paths:
|
244
276
|
- lib
|
245
277
|
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
-
none: false
|
247
278
|
requirements:
|
248
|
-
- -
|
279
|
+
- - '>='
|
249
280
|
- !ruby/object:Gem::Version
|
250
281
|
version: '0'
|
251
|
-
segments:
|
252
|
-
- 0
|
253
|
-
hash: -3382296632707607217
|
254
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
|
-
none: false
|
256
283
|
requirements:
|
257
|
-
- -
|
284
|
+
- - '>='
|
258
285
|
- !ruby/object:Gem::Version
|
259
286
|
version: '0'
|
260
|
-
segments:
|
261
|
-
- 0
|
262
|
-
hash: -3382296632707607217
|
263
287
|
requirements: []
|
264
|
-
|
265
|
-
rubygems_version: 1.8.24
|
288
|
+
rubygems_version: 3.0.9
|
266
289
|
signing_key:
|
267
|
-
specification_version:
|
290
|
+
specification_version: 4
|
268
291
|
summary: Simple way to add CRUD actions into Rails controllers
|
269
292
|
test_files: []
|