administrate-field-code 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/{administrate-field-hyperlink.iml → administrate-field-code.iml} +0 -0
- data/.idea/modules.xml +2 -2
- data/.travis.yml +17 -0
- data/README.md +9 -10
- data/administrate-field-code.gemspec +1 -1
- data/lib/administrate/field/code/version.rb +2 -4
- data/lib/administrate/field/code.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ee7fd60b3102bacf2bcc46749c2316eaa4189c78a168eec7f4447542662f550
|
4
|
+
data.tar.gz: a4df0e233d1c07cfaa65b7d066daa5e2f69a24bf376c2162f7d978d0c72eb425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ab68e1addce770d7e1e45e125e4e5a089ffa16b870652d1e62731299ba72b8c16d20309f18951a06d031e9ea4692f93b0380cdd4bccbee643e04bbef8d07bb
|
7
|
+
data.tar.gz: 0e852c8cb681ea474b1471c4017e06086ef96eb7f99f58df38baf16135d8a5da07ec61b52100394ced190c0ef986db81fcaf2ac4effd5d91a380c83d53c2aa73
|
File without changes
|
data/.idea/modules.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ProjectModuleManager">
|
4
4
|
<modules>
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/administrate-field-
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/administrate-field-code.iml" filepath="$PROJECT_DIR$/.idea/administrate-field-code.iml" />
|
6
6
|
</modules>
|
7
7
|
</component>
|
8
|
-
</project>
|
8
|
+
</project>
|
data/.travis.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
sudo: false
|
3
|
+
language: ruby
|
4
|
+
cache: bundler
|
5
|
+
rvm:
|
6
|
+
- 2.5
|
7
|
+
- 2.6
|
8
|
+
- ruby-head
|
9
|
+
before_install:
|
10
|
+
- gem install bundler -v 2.0.1
|
11
|
+
- gem update --system
|
12
|
+
- gem --version
|
13
|
+
matrix:
|
14
|
+
allow_failures:
|
15
|
+
- rvm: ruby-head
|
16
|
+
install:
|
17
|
+
- bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Administrate::Field::Code
|
2
2
|
|
3
3
|
[![Build Status: master](https://travis-ci.com/XPBytes/administrate-field-code.svg)](https://travis-ci.com/XPBytes/administrate-field-code)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/administrate-field-
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/administrate-field-code.svg)](https://badge.fury.io/rb/administrate-field-code)
|
5
5
|
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
|
6
6
|
|
7
7
|
A text field that shows a code block.
|
@@ -54,21 +54,20 @@ There are no options for this field.
|
|
54
54
|
## Related
|
55
55
|
|
56
56
|
- [`Administrate`](https://github.com/thoughtbot/administrate): A Rails engine that helps you put together a super-flexible admin dashboard.
|
57
|
-
- [`Administrate::BaseController`](https://github.com/XPBytes/administrate-base_controller): A set of application controller improvements.
|
57
|
+
- [`Administrate::BaseController`](https://github.com/XPBytes/administrate-base_controller): :stars: A set of application controller improvements.
|
58
58
|
|
59
59
|
### Concerns
|
60
60
|
|
61
|
-
- [`Administrate::DefaultOrder`](https://github.com/XPBytes/administrate-default_order): Sets the default order for a resource in a administrate controller.
|
62
|
-
- [`Administrate::SerializedFields`](https://github.com/XPBytes/administrate-serialized_fields): Automatically deserialize administrate fields on form submit.
|
61
|
+
- [`Administrate::DefaultOrder`](https://github.com/XPBytes/administrate-default_order): :1234: Sets the default order for a resource in a administrate controller.
|
62
|
+
- [`Administrate::SerializedFields`](https://github.com/XPBytes/administrate-serialized_fields): :ab: Automatically deserialize administrate fields on form submit.
|
63
63
|
|
64
64
|
### Fields
|
65
65
|
|
66
|
-
|
67
|
-
- [`
|
68
|
-
- [`
|
69
|
-
- [`Administrate::Field::
|
70
|
-
- [`Administrate::Field::
|
71
|
-
- [`Administrate::Field::TimeAgo`](https://github.com/XPBytes/administrate-field-time_ago): A `date_time` field that shows its data as `time_ago` since.
|
66
|
+
- [`Administrate::Field::Hyperlink`](https://github.com/XPBytes/administrate-field-hyperlink): :pencil: A `string` field that is shows a hyperlink.
|
67
|
+
- [`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).
|
68
|
+
- [`Administrate::Field::ScopedBelongsTo`](https://github.com/XPBytes/administrate-field-scoped_belongs_to): :pencil: A `belongs_to` field that yields itself to the scope `lambda`.
|
69
|
+
- [`Administrate::Field::ScopedHasMany`](https://github.com/XPBytes/administrate-field-scoped_has_many): :pencil: A `has_many` field that yields itself to the scope `lambda`.
|
70
|
+
- [`Administrate::Field::TimeAgo`](https://github.com/XPBytes/administrate-field-time_ago): :pencil: A `date_time` field that shows its data as `time_ago` since.
|
72
71
|
|
73
72
|
## Development
|
74
73
|
|
@@ -4,7 +4,7 @@ require 'administrate/field/code/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'administrate-field-code'
|
7
|
-
spec.version = Administrate::Field::
|
7
|
+
spec.version = Administrate::Field::CodeVersion::VERSION
|
8
8
|
spec.authors = ['Derk-Jan Karrenbeld']
|
9
9
|
spec.email = ['derk-jan@xpbytes.com']
|
10
10
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrate-field-code
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derk-Jan Karrenbeld
|
@@ -82,10 +82,11 @@ files:
|
|
82
82
|
- ".gitattributes"
|
83
83
|
- ".gitignore"
|
84
84
|
- ".idea/.rakeTasks"
|
85
|
-
- ".idea/administrate-field-
|
85
|
+
- ".idea/administrate-field-code.iml"
|
86
86
|
- ".idea/misc.xml"
|
87
87
|
- ".idea/modules.xml"
|
88
88
|
- ".idea/vcs.xml"
|
89
|
+
- ".travis.yml"
|
89
90
|
- CHANGELOG.md
|
90
91
|
- Gemfile
|
91
92
|
- LICENSE
|