administrate-serialized_fields 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1a95937e38cd100cc1beac6fd30497de78987ca14a18dc7d50e72c2e7085da0
4
- data.tar.gz: 93891c65872a619e851aacb7ba595b516a9146c46523b7a8e0494c3e54098f9e
3
+ metadata.gz: 1f52ee971fad871275bfc3bfcf438966ea21eaa09b90366578406f51f58ed722
4
+ data.tar.gz: 1e197251c733cf9417ab7ac1f8de6c30463f95d1a58a5bdac8908a730d3e2590
5
5
  SHA512:
6
- metadata.gz: 93b096af15d46c1fb82b2b9ed837cdb17eb98065d7f0b018529e69a23ce1ccc2aafea3211e8e853ef0036b2fd1b6c0cc391bf0c0a5e231409f8ed8fff1b3f488
7
- data.tar.gz: 9a0ddf2b0f6ecb6fe84b766298bfb30892a6e10a94bd99516534930705e64b95149fdad0e5d6d9dbe27ea50dd8842d5b0af8ac8b5feeec16632db930aa43f7be
6
+ metadata.gz: a663ee769b4cb45ae27e8d834125a9eba59554ac7888da6b21560bd8b25e6b45fb739b8651fc95077c334395e019d29ff6aac83946568b69fca7e98a869274ec
7
+ data.tar.gz: 1f38ec105ddb145352f9198ef1689cf09868e6cc76cd4cdadc9d8006d941c1937b95b875aaaff9e86a96c453b111dde9f118c0770b9068eb5f477cfcdd0b09f3
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build administrate-serialized_fields-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install administrate-serialized_fields-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install administrate-serialized_fields-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push administrate-serialized_fields-0.1.0.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
data/.idea/workspace.xml CHANGED
@@ -2,21 +2,9 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="1a09d8ce-2813-4f89-8120-e33f2aa09757" name="Default Changelist" comment="">
5
- <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
6
- <change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
- <change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
8
- <change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
11
- <change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
12
- <change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
13
- <change afterPath="$PROJECT_DIR$/administrate-serialized_fields.gemspec" afterDir="false" />
14
- <change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
15
- <change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
16
- <change afterPath="$PROJECT_DIR$/lib/administrate/serialized_fields.rb" afterDir="false" />
17
- <change afterPath="$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb" afterDir="false" />
18
- <change afterPath="$PROJECT_DIR$/test/administrate/serialized_fields_test.rb" afterDir="false" />
19
- <change afterPath="$PROJECT_DIR$/test/test_helper.rb" afterDir="false" />
5
+ <change afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/lib/administrate/serialized_fields.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/administrate/serialized_fields.rb" afterDir="false" />
7
+ <change beforePath="$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb" afterDir="false" />
20
8
  </list>
21
9
  <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
22
10
  <option name="SHOW_DIALOG" value="false" />
@@ -25,12 +13,51 @@
25
13
  <option name="LAST_RESOLUTION" value="IGNORE" />
26
14
  </component>
27
15
  <component name="FileEditorManager">
28
- <leaf>
16
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
29
17
  <file pinned="false" current-in-tab="false">
30
18
  <entry file="file://$PROJECT_DIR$/lib/administrate/serialized_fields.rb">
31
19
  <provider selected="true" editor-type-id="text-editor">
32
- <state relative-caret-position="391">
33
- <caret line="23" column="33" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="33" />
20
+ <state relative-caret-position="85">
21
+ <caret line="5" column="19" lean-forward="true" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
22
+ </state>
23
+ </provider>
24
+ </entry>
25
+ </file>
26
+ <file pinned="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb">
28
+ <provider selected="true" editor-type-id="text-editor">
29
+ <state relative-caret-position="34">
30
+ <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
31
+ </state>
32
+ </provider>
33
+ </entry>
34
+ </file>
35
+ <file pinned="false" current-in-tab="true">
36
+ <entry file="file://$PROJECT_DIR$/CHANGELOG.md">
37
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
38
+ <state split_layout="SPLIT">
39
+ <first_editor relative-caret-position="68">
40
+ <caret line="4" column="22" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
41
+ </first_editor>
42
+ <second_editor />
43
+ </state>
44
+ </provider>
45
+ </entry>
46
+ </file>
47
+ <file pinned="false" current-in-tab="false">
48
+ <entry file="file://$PROJECT_DIR$/test/administrate/serialized_fields_test.rb">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state relative-caret-position="119">
51
+ <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
52
+ </state>
53
+ </provider>
54
+ </entry>
55
+ </file>
56
+ <file pinned="false" current-in-tab="false">
57
+ <entry file="file://$PROJECT_DIR$/administrate-serialized_fields.gemspec">
58
+ <provider selected="true" editor-type-id="text-editor">
59
+ <state relative-caret-position="119">
60
+ <caret line="7" column="62" lean-forward="true" selection-start-line="7" selection-start-column="62" selection-end-line="7" selection-end-column="62" />
34
61
  </state>
35
62
  </provider>
36
63
  </entry>
@@ -40,12 +67,12 @@
40
67
  <provider selected="true" editor-type-id="text-editor" />
41
68
  </entry>
42
69
  </file>
43
- <file pinned="false" current-in-tab="true">
70
+ <file pinned="false" current-in-tab="false">
44
71
  <entry file="file://$PROJECT_DIR$/README.md">
45
72
  <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
46
73
  <state split_layout="SPLIT">
47
74
  <first_editor relative-caret-position="306">
48
- <caret line="87" column="72" lean-forward="true" selection-start-line="87" selection-start-column="72" selection-end-line="87" selection-end-column="72" />
75
+ <caret line="87" column="72" selection-start-line="87" selection-start-column="72" selection-end-line="87" selection-end-column="72" />
49
76
  </first_editor>
50
77
  <second_editor />
51
78
  </state>
@@ -71,20 +98,11 @@
71
98
  <option name="CHANGED_PATHS">
72
99
  <list>
73
100
  <option value="$PROJECT_DIR$/test/administrate/serialized_fields_test.rb" />
74
- <option value="$PROJECT_DIR$/lib/administrate/serialized_fields.rb" />
75
101
  <option value="$PROJECT_DIR$/administrate-serialized_fields.gemspec" />
76
102
  <option value="$PROJECT_DIR$/README.md" />
77
- </list>
78
- </option>
79
- </component>
80
- <component name="ProjectConfigurationFiles">
81
- <option name="files">
82
- <list>
83
- <option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
84
- <option value="$PROJECT_DIR$/.idea/administrate-serialized_fields.iml" />
85
- <option value="$PROJECT_DIR$/.idea/misc.xml" />
86
- <option value="$PROJECT_DIR$/.idea/vcs.xml" />
87
- <option value="$PROJECT_DIR$/.idea/modules.xml" />
103
+ <option value="$PROJECT_DIR$/lib/administrate/serialized_fields.rb" />
104
+ <option value="$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb" />
105
+ <option value="$PROJECT_DIR$/CHANGELOG.md" />
88
106
  </list>
89
107
  </option>
90
108
  </component>
@@ -108,6 +126,35 @@
108
126
  <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
109
127
  <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
110
128
  </path>
129
+ <path>
130
+ <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
131
+ <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
132
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
133
+ </path>
134
+ <path>
135
+ <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
136
+ <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
137
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
138
+ <item name="administrate" type="462c0819:PsiDirectoryNode" />
139
+ </path>
140
+ <path>
141
+ <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
142
+ <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
143
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
144
+ <item name="administrate" type="462c0819:PsiDirectoryNode" />
145
+ <item name="serialized_fields" type="462c0819:PsiDirectoryNode" />
146
+ </path>
147
+ <path>
148
+ <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
149
+ <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
150
+ <item name="test" type="462c0819:PsiDirectoryNode" />
151
+ </path>
152
+ <path>
153
+ <item name="administrate-serialized_fields" type="b2602c69:ProjectViewProjectNode" />
154
+ <item name="administrate-serialized_fields" type="462c0819:PsiDirectoryNode" />
155
+ <item name="test" type="462c0819:PsiDirectoryNode" />
156
+ <item name="administrate" type="462c0819:PsiDirectoryNode" />
157
+ </path>
111
158
  </expand>
112
159
  <select />
113
160
  </subPane>
@@ -115,7 +162,9 @@
115
162
  </panes>
116
163
  </component>
117
164
  <component name="PropertiesComponent">
165
+ <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
118
166
  <property name="WebServerToolWindowFactoryState" value="false" />
167
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
119
168
  <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
120
169
  <property name="nodejs_npm_path_reset_for_default_project" value="true" />
121
170
  <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
@@ -149,23 +198,20 @@
149
198
  <option name="presentableId" value="Default" />
150
199
  <updated>1552655310691</updated>
151
200
  <workItem from="1552655312063" duration="2134000" />
201
+ <workItem from="1553278032383" duration="46000" />
152
202
  </task>
153
203
  <servers />
154
204
  </component>
155
205
  <component name="TimeTrackingManager">
156
- <option name="totallyTimeSpent" value="2134000" />
206
+ <option name="totallyTimeSpent" value="2180000" />
157
207
  </component>
158
208
  <component name="ToolWindowManager">
159
209
  <frame x="-1928" y="-8" width="1936" height="1066" extended-state="6" />
210
+ <editor active="true" />
160
211
  <layout>
161
- <window_info id="Favorites" side_tool="true" />
162
- <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
212
+ <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25266525" />
163
213
  <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
164
- <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
165
- <window_info anchor="bottom" id="Database Changes" />
166
- <window_info anchor="bottom" id="Version Control" />
167
- <window_info anchor="bottom" id="Terminal" visible="true" weight="0.3290461" />
168
- <window_info anchor="bottom" id="Event Log" side_tool="true" />
214
+ <window_info id="Favorites" order="2" side_tool="true" />
169
215
  <window_info anchor="bottom" id="Message" order="0" />
170
216
  <window_info anchor="bottom" id="Find" order="1" />
171
217
  <window_info anchor="bottom" id="Run" order="2" weight="0.3290461" />
@@ -173,10 +219,15 @@
173
219
  <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
174
220
  <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
175
221
  <window_info anchor="bottom" id="TODO" order="6" />
176
- <window_info anchor="right" id="Database" />
222
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
223
+ <window_info anchor="bottom" id="Database Changes" order="8" />
224
+ <window_info anchor="bottom" id="Version Control" order="9" />
225
+ <window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.3290461" />
226
+ <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
177
227
  <window_info anchor="right" id="Commander" order="0" weight="0.4" />
178
228
  <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
179
229
  <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
230
+ <window_info anchor="right" id="Database" order="3" />
180
231
  </layout>
181
232
  </component>
182
233
  <component name="TypeScriptGeneratedFilesManager">
@@ -193,13 +244,6 @@
193
244
  <entry file="file://C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0.beta3/lib/active_support/core_ext/class/attribute_accessors.rb">
194
245
  <provider selected="true" editor-type-id="text-editor" />
195
246
  </entry>
196
- <entry file="file://$PROJECT_DIR$/test/administrate/serialized_fields_test.rb">
197
- <provider selected="true" editor-type-id="text-editor">
198
- <state relative-caret-position="85">
199
- <caret line="5" column="5" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="5" />
200
- </state>
201
- </provider>
202
- </entry>
203
247
  <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
204
248
  <provider selected="true" editor-type-id="text-editor" />
205
249
  </entry>
@@ -216,25 +260,49 @@
216
260
  <entry file="file://$PROJECT_DIR$/.travis.yml">
217
261
  <provider selected="true" editor-type-id="text-editor" />
218
262
  </entry>
263
+ <entry file="file://$PROJECT_DIR$/README.md">
264
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
265
+ <state split_layout="SPLIT">
266
+ <first_editor relative-caret-position="306">
267
+ <caret line="87" column="72" selection-start-line="87" selection-start-column="72" selection-end-line="87" selection-end-column="72" />
268
+ </first_editor>
269
+ <second_editor />
270
+ </state>
271
+ </provider>
272
+ </entry>
219
273
  <entry file="file://$PROJECT_DIR$/lib/administrate/serialized_fields.rb">
220
274
  <provider selected="true" editor-type-id="text-editor">
221
- <state relative-caret-position="391">
222
- <caret line="23" column="33" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="33" />
275
+ <state relative-caret-position="85">
276
+ <caret line="5" column="19" lean-forward="true" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
277
+ </state>
278
+ </provider>
279
+ </entry>
280
+ <entry file="file://$PROJECT_DIR$/test/administrate/serialized_fields_test.rb">
281
+ <provider selected="true" editor-type-id="text-editor">
282
+ <state relative-caret-position="119">
283
+ <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
223
284
  </state>
224
285
  </provider>
225
286
  </entry>
226
287
  <entry file="file://$PROJECT_DIR$/administrate-serialized_fields.gemspec">
227
288
  <provider selected="true" editor-type-id="text-editor">
228
- <state relative-caret-position="323">
229
- <caret line="19" selection-start-line="19" selection-end-line="19" />
289
+ <state relative-caret-position="119">
290
+ <caret line="7" column="62" lean-forward="true" selection-start-line="7" selection-start-column="62" selection-end-line="7" selection-end-column="62" />
230
291
  </state>
231
292
  </provider>
232
293
  </entry>
233
- <entry file="file://$PROJECT_DIR$/README.md">
294
+ <entry file="file://$PROJECT_DIR$/lib/administrate/serialized_fields/version.rb">
295
+ <provider selected="true" editor-type-id="text-editor">
296
+ <state relative-caret-position="34">
297
+ <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
298
+ </state>
299
+ </provider>
300
+ </entry>
301
+ <entry file="file://$PROJECT_DIR$/CHANGELOG.md">
234
302
  <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
235
303
  <state split_layout="SPLIT">
236
- <first_editor relative-caret-position="306">
237
- <caret line="87" column="72" lean-forward="true" selection-start-line="87" selection-start-column="72" selection-end-line="87" selection-end-column="72" />
304
+ <first_editor relative-caret-position="68">
305
+ <caret line="4" column="22" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
238
306
  </first_editor>
239
307
  <second_editor />
240
308
  </state>
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ :baby: initial version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administrate-serialized_fields (0.1.0)
4
+ administrate-serialized_fields (0.1.1)
5
5
  activesupport (>= 4)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -83,6 +83,7 @@ end
83
83
  - [`Administrate::Field::Code`](https://github.com/XPBytes/administrate-field-code): :pencil: A `text` field that shows code.
84
84
  - [`Administrate::Field::Hyperlink`](https://github.com/XPBytes/administrate-field-hyperlink): :pencil: A `string` field that is shows a hyperlink.
85
85
  - [`Adminisrtate::Field::JsonEditor`](https://github.com/XPBytes/administrate-field-json_editor): :pencil: A `text` field that shows a [JSON editor](https://github.com/josdejong/jsoneditor).
86
+ - [`Administrate::Field::LazyBelongsTo`](https://github.com/XPBytes/administrate-field-lazy_belongs_to): :pencil: A `belongs to`-like field that lazily loads candidates from a custom endpoint.
86
87
  - [`Administrate::Field::ScopedBelongsTo`](https://github.com/XPBytes/administrate-field-scoped_belongs_to): :pencil: A `belongs_to` field that yields itself to the scope `lambda`.
87
88
  - [`Administrate::Field::ScopedHasMany`](https://github.com/XPBytes/administrate-field-scoped_has_many): :pencil: A `has_many` field that yields itself to the scope `lambda`.
88
89
  - [`Administrate::Field::TimeAgo`](https://github.com/XPBytes/administrate-field-time_ago): :pencil: A `date_time` field that shows its data as `time_ago` since.
@@ -3,7 +3,7 @@ require 'administrate/serialized_fields/version'
3
3
  require 'active_support/concern'
4
4
  require 'active_support/core_ext/module/attribute_accessors'
5
5
 
6
- module Admin
6
+ module Administrate
7
7
  module SerializedFields
8
8
  extend ActiveSupport::Concern
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Administrate
2
2
  module SerializedFields
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-serialized_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - ".idea/.rakeTasks"
77
78
  - ".idea/administrate-serialized_fields.iml"
78
79
  - ".idea/inspectionProfiles/Project_Default.xml"
79
80
  - ".idea/misc.xml"
@@ -81,6 +82,7 @@ files:
81
82
  - ".idea/vcs.xml"
82
83
  - ".idea/workspace.xml"
83
84
  - ".travis.yml"
85
+ - CHANGELOG.md
84
86
  - CODE_OF_CONDUCT.md
85
87
  - Gemfile
86
88
  - Gemfile.lock