administrate-field-jsontable 0.0.3 → 0.0.4
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.
- checksums.yaml +5 -5
- data/Gemfile.lock +110 -95
- data/LICENSE.md +1 -1
- data/README.md +6 -25
- data/administrate-field-jsontable.gemspec +5 -5
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: ab3b0ea1d8992850e72ee30af9bbec87272b6cd7226efa76712fbb801444d231
|
|
4
|
+
data.tar.gz: 95d98c8062eeba057cfb45399915641ee5e70c840e3fdf32a5e7fa15bc176941
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a99f21513ad06270d1ae0f49dd03173bbe04b6727a918fa4b0af8c439318bc8efd0f6211c6a51963f58ae22a7d386607de2fcb83425bf012352621673221d2e6
|
|
7
|
+
data.tar.gz: 0e0f8366a84a2f95913809a1c0751eab458a2cb2ab482f839543c98be8506bf99f10890bb42619586ef82a745388f645ee880907ea3f1f2b2e1c59ac39cfd9f0
|
data/Gemfile.lock
CHANGED
|
@@ -1,134 +1,145 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
administrate-field-jsontable (0.0.
|
|
4
|
+
administrate-field-jsontable (0.0.4)
|
|
5
5
|
administrate
|
|
6
|
-
rails (>= 4.2, <
|
|
6
|
+
rails (>= 4.2, < 6.0)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: http://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actioncable (5.
|
|
12
|
-
actionpack (= 5.
|
|
13
|
-
nio4r (
|
|
14
|
-
websocket-driver (
|
|
15
|
-
actionmailer (5.
|
|
16
|
-
actionpack (= 5.
|
|
17
|
-
actionview (= 5.
|
|
18
|
-
activejob (= 5.
|
|
11
|
+
actioncable (5.2.3)
|
|
12
|
+
actionpack (= 5.2.3)
|
|
13
|
+
nio4r (~> 2.0)
|
|
14
|
+
websocket-driver (>= 0.6.1)
|
|
15
|
+
actionmailer (5.2.3)
|
|
16
|
+
actionpack (= 5.2.3)
|
|
17
|
+
actionview (= 5.2.3)
|
|
18
|
+
activejob (= 5.2.3)
|
|
19
19
|
mail (~> 2.5, >= 2.5.4)
|
|
20
20
|
rails-dom-testing (~> 2.0)
|
|
21
|
-
actionpack (5.
|
|
22
|
-
actionview (= 5.
|
|
23
|
-
activesupport (= 5.
|
|
21
|
+
actionpack (5.2.3)
|
|
22
|
+
actionview (= 5.2.3)
|
|
23
|
+
activesupport (= 5.2.3)
|
|
24
24
|
rack (~> 2.0)
|
|
25
|
-
rack-test (
|
|
25
|
+
rack-test (>= 0.6.3)
|
|
26
26
|
rails-dom-testing (~> 2.0)
|
|
27
27
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
28
|
-
actionview (5.
|
|
29
|
-
activesupport (= 5.
|
|
28
|
+
actionview (5.2.3)
|
|
29
|
+
activesupport (= 5.2.3)
|
|
30
30
|
builder (~> 3.1)
|
|
31
|
-
|
|
31
|
+
erubi (~> 1.4)
|
|
32
32
|
rails-dom-testing (~> 2.0)
|
|
33
33
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
34
|
-
activejob (5.
|
|
35
|
-
activesupport (= 5.
|
|
34
|
+
activejob (5.2.3)
|
|
35
|
+
activesupport (= 5.2.3)
|
|
36
36
|
globalid (>= 0.3.6)
|
|
37
|
-
activemodel (5.
|
|
38
|
-
activesupport (= 5.
|
|
39
|
-
activerecord (5.
|
|
40
|
-
activemodel (= 5.
|
|
41
|
-
activesupport (= 5.
|
|
42
|
-
arel (
|
|
43
|
-
|
|
37
|
+
activemodel (5.2.3)
|
|
38
|
+
activesupport (= 5.2.3)
|
|
39
|
+
activerecord (5.2.3)
|
|
40
|
+
activemodel (= 5.2.3)
|
|
41
|
+
activesupport (= 5.2.3)
|
|
42
|
+
arel (>= 9.0)
|
|
43
|
+
activestorage (5.2.3)
|
|
44
|
+
actionpack (= 5.2.3)
|
|
45
|
+
activerecord (= 5.2.3)
|
|
46
|
+
marcel (~> 0.3.1)
|
|
47
|
+
activesupport (5.2.3)
|
|
44
48
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
45
|
-
i18n (
|
|
49
|
+
i18n (>= 0.7, < 2)
|
|
46
50
|
minitest (~> 5.1)
|
|
47
51
|
tzinfo (~> 1.1)
|
|
48
|
-
administrate (0.
|
|
49
|
-
actionpack (>= 4.2, <
|
|
50
|
-
actionview (>= 4.2, <
|
|
51
|
-
activerecord (>= 4.2, <
|
|
52
|
-
autoprefixer-rails (
|
|
52
|
+
administrate (0.11.0)
|
|
53
|
+
actionpack (>= 4.2, < 6.0)
|
|
54
|
+
actionview (>= 4.2, < 6.0)
|
|
55
|
+
activerecord (>= 4.2, < 6.0)
|
|
56
|
+
autoprefixer-rails (>= 6.0)
|
|
53
57
|
datetime_picker_rails (~> 0.0.7)
|
|
54
58
|
jquery-rails (>= 4.0)
|
|
55
59
|
kaminari (>= 1.0)
|
|
56
60
|
momentjs-rails (~> 2.8)
|
|
57
|
-
normalize-rails (>= 3.0)
|
|
58
61
|
sass-rails (~> 5.0)
|
|
59
62
|
selectize-rails (~> 0.6)
|
|
60
|
-
arel (
|
|
61
|
-
autoprefixer-rails (6.
|
|
63
|
+
arel (9.0.0)
|
|
64
|
+
autoprefixer-rails (9.6.0)
|
|
62
65
|
execjs
|
|
63
66
|
builder (3.2.3)
|
|
64
|
-
concurrent-ruby (1.
|
|
67
|
+
concurrent-ruby (1.1.5)
|
|
68
|
+
crass (1.0.4)
|
|
65
69
|
datetime_picker_rails (0.0.7)
|
|
66
70
|
momentjs-rails (>= 2.8.1)
|
|
67
71
|
diff-lcs (1.3)
|
|
68
|
-
|
|
72
|
+
erubi (1.8.0)
|
|
69
73
|
execjs (2.7.0)
|
|
70
|
-
|
|
74
|
+
ffi (1.11.1)
|
|
75
|
+
globalid (0.4.2)
|
|
71
76
|
activesupport (>= 4.2.0)
|
|
72
|
-
i18n (
|
|
73
|
-
|
|
77
|
+
i18n (1.6.0)
|
|
78
|
+
concurrent-ruby (~> 1.0)
|
|
79
|
+
jquery-rails (4.3.5)
|
|
74
80
|
rails-dom-testing (>= 1, < 3)
|
|
75
81
|
railties (>= 4.2.0)
|
|
76
82
|
thor (>= 0.14, < 2.0)
|
|
77
|
-
kaminari (1.
|
|
83
|
+
kaminari (1.1.1)
|
|
78
84
|
activesupport (>= 4.1.0)
|
|
79
|
-
kaminari-actionview (= 1.
|
|
80
|
-
kaminari-activerecord (= 1.
|
|
81
|
-
kaminari-core (= 1.
|
|
82
|
-
kaminari-actionview (1.
|
|
85
|
+
kaminari-actionview (= 1.1.1)
|
|
86
|
+
kaminari-activerecord (= 1.1.1)
|
|
87
|
+
kaminari-core (= 1.1.1)
|
|
88
|
+
kaminari-actionview (1.1.1)
|
|
83
89
|
actionview
|
|
84
|
-
kaminari-core (= 1.
|
|
85
|
-
kaminari-activerecord (1.
|
|
90
|
+
kaminari-core (= 1.1.1)
|
|
91
|
+
kaminari-activerecord (1.1.1)
|
|
86
92
|
activerecord
|
|
87
|
-
kaminari-core (= 1.
|
|
88
|
-
kaminari-core (1.
|
|
89
|
-
loofah (2.
|
|
93
|
+
kaminari-core (= 1.1.1)
|
|
94
|
+
kaminari-core (1.1.1)
|
|
95
|
+
loofah (2.2.3)
|
|
96
|
+
crass (~> 1.0.2)
|
|
90
97
|
nokogiri (>= 1.5.9)
|
|
91
|
-
mail (2.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
mail (2.7.1)
|
|
99
|
+
mini_mime (>= 0.1.1)
|
|
100
|
+
marcel (0.3.3)
|
|
101
|
+
mimemagic (~> 0.3.2)
|
|
102
|
+
method_source (0.9.2)
|
|
103
|
+
mimemagic (0.3.3)
|
|
104
|
+
mini_mime (1.0.1)
|
|
105
|
+
mini_portile2 (2.4.0)
|
|
106
|
+
minitest (5.11.3)
|
|
107
|
+
momentjs-rails (2.20.1)
|
|
100
108
|
railties (>= 3.1)
|
|
101
|
-
nio4r (2.
|
|
102
|
-
nokogiri (1.
|
|
103
|
-
mini_portile2 (~> 2.
|
|
104
|
-
|
|
105
|
-
rack (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
activesupport (= 5.
|
|
117
|
-
bundler (>= 1.3.0
|
|
118
|
-
railties (= 5.
|
|
109
|
+
nio4r (2.3.1)
|
|
110
|
+
nokogiri (1.10.3)
|
|
111
|
+
mini_portile2 (~> 2.4.0)
|
|
112
|
+
rack (2.0.7)
|
|
113
|
+
rack-test (1.1.0)
|
|
114
|
+
rack (>= 1.0, < 3)
|
|
115
|
+
rails (5.2.3)
|
|
116
|
+
actioncable (= 5.2.3)
|
|
117
|
+
actionmailer (= 5.2.3)
|
|
118
|
+
actionpack (= 5.2.3)
|
|
119
|
+
actionview (= 5.2.3)
|
|
120
|
+
activejob (= 5.2.3)
|
|
121
|
+
activemodel (= 5.2.3)
|
|
122
|
+
activerecord (= 5.2.3)
|
|
123
|
+
activestorage (= 5.2.3)
|
|
124
|
+
activesupport (= 5.2.3)
|
|
125
|
+
bundler (>= 1.3.0)
|
|
126
|
+
railties (= 5.2.3)
|
|
119
127
|
sprockets-rails (>= 2.0.0)
|
|
120
128
|
rails-dom-testing (2.0.3)
|
|
121
129
|
activesupport (>= 4.2.0)
|
|
122
130
|
nokogiri (>= 1.6)
|
|
123
|
-
rails-html-sanitizer (1.0.
|
|
124
|
-
loofah (~> 2.
|
|
125
|
-
railties (5.
|
|
126
|
-
actionpack (= 5.
|
|
127
|
-
activesupport (= 5.
|
|
131
|
+
rails-html-sanitizer (1.0.4)
|
|
132
|
+
loofah (~> 2.2, >= 2.2.2)
|
|
133
|
+
railties (5.2.3)
|
|
134
|
+
actionpack (= 5.2.3)
|
|
135
|
+
activesupport (= 5.2.3)
|
|
128
136
|
method_source
|
|
129
137
|
rake (>= 0.8.7)
|
|
130
|
-
thor (>= 0.
|
|
131
|
-
rake (12.
|
|
138
|
+
thor (>= 0.19.0, < 2.0)
|
|
139
|
+
rake (12.3.2)
|
|
140
|
+
rb-fsevent (0.10.3)
|
|
141
|
+
rb-inotify (0.10.0)
|
|
142
|
+
ffi (~> 1.0)
|
|
132
143
|
rspec-core (3.5.4)
|
|
133
144
|
rspec-support (~> 3.5.0)
|
|
134
145
|
rspec-expectations (3.5.0)
|
|
@@ -146,29 +157,33 @@ GEM
|
|
|
146
157
|
rspec-mocks (~> 3.5.0)
|
|
147
158
|
rspec-support (~> 3.5.0)
|
|
148
159
|
rspec-support (3.5.0)
|
|
149
|
-
sass (3.4
|
|
150
|
-
|
|
160
|
+
sass (3.7.4)
|
|
161
|
+
sass-listen (~> 4.0.0)
|
|
162
|
+
sass-listen (4.0.0)
|
|
163
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
164
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
|
165
|
+
sass-rails (5.0.7)
|
|
151
166
|
railties (>= 4.0.0, < 6)
|
|
152
167
|
sass (~> 3.1)
|
|
153
168
|
sprockets (>= 2.8, < 4.0)
|
|
154
169
|
sprockets-rails (>= 2.0, < 4.0)
|
|
155
170
|
tilt (>= 1.1, < 3)
|
|
156
|
-
selectize-rails (0.12.
|
|
157
|
-
sprockets (3.7.
|
|
171
|
+
selectize-rails (0.12.6)
|
|
172
|
+
sprockets (3.7.2)
|
|
158
173
|
concurrent-ruby (~> 1.0)
|
|
159
174
|
rack (> 1, < 3)
|
|
160
|
-
sprockets-rails (3.2.
|
|
175
|
+
sprockets-rails (3.2.1)
|
|
161
176
|
actionpack (>= 4.0)
|
|
162
177
|
activesupport (>= 4.0)
|
|
163
178
|
sprockets (>= 3.0.0)
|
|
164
|
-
thor (0.
|
|
179
|
+
thor (0.20.3)
|
|
165
180
|
thread_safe (0.3.6)
|
|
166
|
-
tilt (2.0.
|
|
167
|
-
tzinfo (1.2.
|
|
181
|
+
tilt (2.0.9)
|
|
182
|
+
tzinfo (1.2.5)
|
|
168
183
|
thread_safe (~> 0.1)
|
|
169
|
-
websocket-driver (0.
|
|
184
|
+
websocket-driver (0.7.1)
|
|
170
185
|
websocket-extensions (>= 0.1.0)
|
|
171
|
-
websocket-extensions (0.1.
|
|
186
|
+
websocket-extensions (0.1.4)
|
|
172
187
|
|
|
173
188
|
PLATFORMS
|
|
174
189
|
ruby
|
|
@@ -178,4 +193,4 @@ DEPENDENCIES
|
|
|
178
193
|
rspec-rails (~> 3.5.0)
|
|
179
194
|
|
|
180
195
|
BUNDLED WITH
|
|
181
|
-
1.
|
|
196
|
+
1.17.2
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -1,33 +1,14 @@
|
|
|
1
1
|
# Administrate::Field::Jsontable
|
|
2
2
|
|
|
3
|
-
A plugin to
|
|
3
|
+
A plugin to display the values of a JSON into a table. If the JSON has no data
|
|
4
|
+
of a field it will display a "-". This gem only displays 1 or 2 rows.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
Although its structure may change,
|
|
7
|
-
it's designed to act as a template for other Administrate field plugins.
|
|
6
|
+

|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
This repository is a field plugin for Administrate.
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
## Installation
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Essentially, name your gem after the field class that it defines.
|
|
16
|
-
If there's a namespace in the class name, that gets translated to a dash (`-`) in the gem name.
|
|
17
|
-
If the class name is CamelCased, that translates to an underscore (`_`) in the gem name.
|
|
18
|
-
|
|
19
|
-
Since all administrate field gems are under the namespace `Administrate::Field`,
|
|
20
|
-
every field gem name should start with the prefix `administrate-field-`.
|
|
21
|
-
|
|
22
|
-
Here are some examples (these don't correspond to actual gems):
|
|
23
|
-
|
|
24
|
-
| Gem Name | Field Name |
|
|
25
|
-
|----------------------------|------------------------------|
|
|
26
|
-
| `administrate-field-enum` | `Administrate::Field::Enum` |
|
|
27
|
-
| `administrate-field-file_upload` | `Administrate::Field::FileUpload` |
|
|
28
|
-
| `administrate-field-geocoding-region` | `Administrate::Field::Geocoding::Region` |
|
|
29
|
-
| `administrate-field-geocoding-geo_json` | `Administrate::Field::Geocoding::GeoJson` |
|
|
30
|
-
|
|
31
|
-
[Rubygems naming guidelines]: http://guides.rubygems.org/name-your-gem/
|
|
12
|
+
Add to your gemfile `gem 'administrate-field-jsontable'`
|
|
32
13
|
|
|
33
14
|
[Administrate]: https://github.com/thoughtbot/administrate
|
|
@@ -2,10 +2,10 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'administrate-field-jsontable'
|
|
5
|
-
s.version = '0.0.
|
|
6
|
-
s.authors = ['
|
|
7
|
-
s.email = ['
|
|
8
|
-
s.homepage = 'https://github.com/
|
|
5
|
+
s.version = '0.0.4'
|
|
6
|
+
s.authors = ['Adrian Rangel', 'Enrique Barragan']
|
|
7
|
+
s.email = ['adrian@valiot.io', 'enrique@valiot.io']
|
|
8
|
+
s.homepage = 'https://github.com/Valiot/administrate-field-jsontable'
|
|
9
9
|
s.summary = 'JSON to table field plugin for Administrate'
|
|
10
10
|
s.description = s.summary
|
|
11
11
|
s.license = 'MIT'
|
|
@@ -15,5 +15,5 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
16
16
|
|
|
17
17
|
s.add_dependency 'administrate'
|
|
18
|
-
s.add_dependency 'rails', '>= 4.2', '<
|
|
18
|
+
s.add_dependency 'rails', '>= 4.2', '< 6.0'
|
|
19
19
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: administrate-field-jsontable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
+
- Adrian Rangel
|
|
7
8
|
- Enrique Barragan
|
|
8
|
-
- Esteban Arocha
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-06-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: administrate
|
|
@@ -34,7 +34,7 @@ dependencies:
|
|
|
34
34
|
version: '4.2'
|
|
35
35
|
- - "<"
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: '
|
|
37
|
+
version: '6.0'
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -44,11 +44,11 @@ dependencies:
|
|
|
44
44
|
version: '4.2'
|
|
45
45
|
- - "<"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '6.0'
|
|
48
48
|
description: JSON to table field plugin for Administrate
|
|
49
49
|
email:
|
|
50
|
-
-
|
|
51
|
-
-
|
|
50
|
+
- adrian@valiot.io
|
|
51
|
+
- enrique@valiot.io
|
|
52
52
|
executables: []
|
|
53
53
|
extensions: []
|
|
54
54
|
extra_rdoc_files: []
|
|
@@ -62,7 +62,7 @@ files:
|
|
|
62
62
|
- app/views/fields/jsontable/_show.html.erb
|
|
63
63
|
- lib/administrate/field/jsontable.rb
|
|
64
64
|
- spec/lib/administrate/field/jsontable_spec.rb
|
|
65
|
-
homepage: https://github.com/
|
|
65
|
+
homepage: https://github.com/Valiot/administrate-field-jsontable
|
|
66
66
|
licenses:
|
|
67
67
|
- MIT
|
|
68
68
|
metadata: {}
|
|
@@ -81,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
requirements: []
|
|
84
|
-
|
|
85
|
-
rubygems_version: 2.6.12
|
|
84
|
+
rubygems_version: 3.0.3
|
|
86
85
|
signing_key:
|
|
87
86
|
specification_version: 4
|
|
88
87
|
summary: JSON to table field plugin for Administrate
|