administrate 0.1.5 → 0.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of administrate might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc3433138207bed6d4a596ef48f6bfac9429e4ee
4
- data.tar.gz: 1b6e823bb2465556926e562e0e4e21a5bbfc1e61
3
+ metadata.gz: 4c0c60906bdf3342ab0285ce6a887911691012de
4
+ data.tar.gz: 178da2fa126bd012cb254a14ab5e0a208f06d403
5
5
  SHA512:
6
- metadata.gz: 416d6157029a929e125139cd53897d93187cf798106fe8e43a5232c7a4ab193d1975f496af6e23e4f03036bfae478f9153597229dbfa308a595802b8b6d01b8e
7
- data.tar.gz: 27967f0496a392f5dfee4914a35728d8e6f743a27d2d9e15c16f289995fdb40e7d9b18feabf273025e0646ff93ee7be1733216d7dabe6d930c34c971ccf9ab20
6
+ metadata.gz: 97d65157139a5c2af25ae59b898974adfd6faa56884e53c96e21975e83bbd6a2df28e64b6042f4ed89b59978d597d62677594e900efd7a7cc844c15582ce3acb
7
+ data.tar.gz: b86e9ed0010127ec29aacf0d1dc440350804fa54ae05c68154b49de387410c2ea24ec97fb53ecbc920afa9080d024b0ea57b861a47fc45287c3deeec7b25875d
@@ -1,3 +1,3 @@
1
1
  module Administrate
2
- VERSION = "0.1.5".freeze
2
+ VERSION = "0.2.0.rc1".freeze
3
3
  end
@@ -11,7 +11,7 @@ class <%= class_name %>Dashboard < Administrate::BaseDashboard
11
11
  <% attributes.each do |attr| -%>
12
12
  <%= attr %>: <%= field_type(attr) %>,
13
13
  <% end -%>
14
- }
14
+ }.freeze
15
15
 
16
16
  # COLLECTION_ATTRIBUTES
17
17
  # an array of attributes that will be displayed on the model's index page.
@@ -24,7 +24,7 @@ class <%= class_name %>Dashboard < Administrate::BaseDashboard
24
24
  " :#{attr},"
25
25
  end.join("\n")
26
26
  %>
27
- ]
27
+ ].freeze
28
28
 
29
29
  # SHOW_PAGE_ATTRIBUTES
30
30
  # an array of attributes that will be displayed on the model's show page.
@@ -34,7 +34,7 @@ class <%= class_name %>Dashboard < Administrate::BaseDashboard
34
34
  " :#{attr},"
35
35
  end.join("\n")
36
36
  %>
37
- ]
37
+ ].freeze
38
38
 
39
39
  # FORM_ATTRIBUTES
40
40
  # an array of attributes that will be displayed
@@ -45,7 +45,7 @@ class <%= class_name %>Dashboard < Administrate::BaseDashboard
45
45
  " :#{attr},"
46
46
  end.join("\n")
47
47
  %>
48
- ]
48
+ ].freeze
49
49
 
50
50
  # Overwrite this method to customize how <%= file_name.pluralize.humanize.downcase %> are displayed
51
51
  # across all pages of the admin dashboard.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grayson Wright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-01 00:00:00.000000000 Z
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -230,9 +230,6 @@ files:
230
230
  - app/views/fields/has_one/_form.html.erb
231
231
  - app/views/fields/has_one/_index.html.erb
232
232
  - app/views/fields/has_one/_show.html.erb
233
- - app/views/fields/image/_form.html.erb
234
- - app/views/fields/image/_index.html.erb
235
- - app/views/fields/image/_show.html.erb
236
233
  - app/views/fields/number/_form.html.erb
237
234
  - app/views/fields/number/_index.html.erb
238
235
  - app/views/fields/number/_show.html.erb
@@ -280,7 +277,6 @@ files:
280
277
  - lib/administrate/field/email.rb
281
278
  - lib/administrate/field/has_many.rb
282
279
  - lib/administrate/field/has_one.rb
283
- - lib/administrate/field/image.rb
284
280
  - lib/administrate/field/number.rb
285
281
  - lib/administrate/field/polymorphic.rb
286
282
  - lib/administrate/field/select.rb
@@ -340,14 +336,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
340
336
  version: '0'
341
337
  required_rubygems_version: !ruby/object:Gem::Requirement
342
338
  requirements:
343
- - - ">="
339
+ - - ">"
344
340
  - !ruby/object:Gem::Version
345
- version: '0'
341
+ version: 1.3.1
346
342
  requirements: []
347
343
  rubyforge_project:
348
- rubygems_version: 2.6.2
344
+ rubygems_version: 2.4.5.1
349
345
  signing_key:
350
346
  specification_version: 4
351
347
  summary: A Rails engine for creating super-flexible admin dashboards
352
348
  test_files: []
353
- has_rdoc:
@@ -1,23 +0,0 @@
1
- <%#
2
- # Image Form Partial
3
-
4
- This partial renders an input element for image attributes.
5
- By default, the input is a text field for the image's URL.
6
-
7
- ## Local variables:
8
-
9
- - `f`:
10
- A Rails form generator, used to help create the appropriate input fields.
11
- - `field`:
12
- An instance of [Administrate::Field::Image][1].
13
- A wrapper around the image url pulled from the database.
14
-
15
- [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image
16
- %>
17
-
18
- <div class="field-unit__label">
19
- <%= f.label field.attribute %>
20
- </div>
21
- <div class="field-unit__field">
22
- <%= f.text_field field.attribute %>
23
- </div>
@@ -1,18 +0,0 @@
1
- <%#
2
- # Image Index Partial
3
-
4
- This partial renders an image attribute
5
- to be displayed on a resource's index page.
6
-
7
- By default, the attribute is rendered as an image tag.
8
-
9
- ## Local variables:
10
-
11
- - `field`:
12
- An instance of [Administrate::Field::Image][1].
13
- A wrapper around the image url pulled from the database.
14
-
15
- [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image
16
- %>
17
-
18
- <%= image_tag field.data %>
@@ -1,18 +0,0 @@
1
- <%#
2
- # Image Show Partial
3
-
4
- This partial renders an image attribute,
5
- to be displayed on a resource's show page.
6
-
7
- By default, the attribute is rendered as an image tag.
8
-
9
- ## Local variables:
10
-
11
- - `field`:
12
- An instance of [Administrate::Field::Image][1].
13
- A wrapper around the image url pulled from the database.
14
-
15
- [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image
16
- %>
17
-
18
- <%= image_tag field.data %>
@@ -1,8 +0,0 @@
1
- require_relative "base"
2
-
3
- module Administrate
4
- module Field
5
- class Image < Field::Base
6
- end
7
- end
8
- end