administrate-field-scoped_belongs_to 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2bf766aaa873f47b944ef744695ec206066c527b1f26473d68f40fcaf39b7ba
4
- data.tar.gz: 139e29e64323b40cd5b54709c8ac27c59097363f128c412a4fa92228ebcb9639
3
+ metadata.gz: e4a06d710b438c8ecbfefb1428aaf8148fafc9374083f851868f76f87bbc9f1f
4
+ data.tar.gz: 27140d84e10b6e4bff8cee048c410291847fb66706a9927849d7777ffca375ab
5
5
  SHA512:
6
- metadata.gz: ea51d51123f12a77c52e6d9dfd8cbd8660f8658518d6e2368a0c587166ff3745e0c0382ff1c91f5624778c74f1ccab7e8e59156e08db2dda51a0afe80fcbd68f
7
- data.tar.gz: 9e0e5605b4d81a213ca5049c6f32a6fa7ffdcae444b30c19e4da95c8f95e23002ca537408ae5be71c3a5c261fbd0b569cc0da6341b42e8fbfb4b8203c4e3e72f
6
+ metadata.gz: 6f8e2023233ec9e74809cb99a6b964e59f94d7a20e4d3febe3b1d7b20a4d244d8b9454ae13039255511f02a11cfe3a63b97d5217846dc5f901a5a9cff416b672
7
+ data.tar.gz: 68076656b218e076a7bde3021604a9a0c45512f4fd8c3728413d897d6cf027c9d1ce42b867dd5584a22cc99e93f3f923dbbe0e260d61db1b584251649102de4b
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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
- # 0.1.0
3
+ ## 0.2.0
4
+
5
+ Fix an issue with dependency and version management
6
+
7
+ ## 0.1.0
4
8
 
5
9
  :baby: Initial commit
data/README.md CHANGED
@@ -59,21 +59,20 @@ globally available data.
59
59
  ## Related
60
60
 
61
61
  - [`Administrate`](https://github.com/thoughtbot/administrate): A Rails engine that helps you put together a super-flexible admin dashboard.
62
- - [`Administrate::BaseController`](https://github.com/XPBytes/administrate-base_controller): A set of application controller improvements.
62
+ - [`Administrate::BaseController`](https://github.com/XPBytes/administrate-base_controller): :stars: A set of application controller improvements.
63
63
 
64
64
  ### Concerns
65
65
 
66
- - [`Administrate::DefaultOrder`](https://github.com/XPBytes/administrate-default_order): Sets the default order for a resource in a administrate controller.
67
- - [`Administrate::SerializedFields`](https://github.com/XPBytes/administrate-serialized_fields): Automatically deserialize administrate fields on form submit.
66
+ - [`Administrate::DefaultOrder`](https://github.com/XPBytes/administrate-default_order): :1234: Sets the default order for a resource in a administrate controller.
67
+ - [`Administrate::SerializedFields`](https://github.com/XPBytes/administrate-serialized_fields): :ab: Automatically deserialize administrate fields on form submit.
68
68
 
69
69
  ### Fields
70
70
 
71
- - [`Administrate::Field::Code`](https://github.com/XPBytes/administrate-field-code): A `text` field that shows code.
72
- - [`Administrate::Field::Hyperlink`](https://github.com/XPBytes/administrate-field-hyperlink): A `string` field that is shows a hyperlink.
73
- - [`Adminisrtate::Field::JsonEditor`](https://github.com/XPBytes/administrate-field-json_editor): A `text` field that shows a [JSON editor](https://github.com/josdejong/jsoneditor).
74
- <!-- - [`Administrate::Field::ScopedBelongsTo`](https://github.com/XPBytes/administrate-field-scoped_belongs_to): A `belongs_to` field that yields itself to the scope `lambda`. -->
75
- - [`Administrate::Field::ScopedHasMany`](https://github.com/XPBytes/administrate-field-scoped_has_many): A `has_many` field that yields itself to the scope `lambda`.
76
- - [`Administrate::Field::TimeAgo`](https://github.com/XPBytes/administrate-field-time_ago): A `date_time` field that shows its data as `time_ago` since.
71
+ - [`Administrate::Field::Code`](https://github.com/XPBytes/administrate-field-code): :pencil: A `text` field that shows code.
72
+ - [`Administrate::Field::Hyperlink`](https://github.com/XPBytes/administrate-field-hyperlink): :pencil: A `string` field that is shows a hyperlink.
73
+ - [`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).
74
+ - [`Administrate::Field::ScopedHasMany`](https://github.com/XPBytes/administrate-field-scoped_has_many): :pencil: A `has_many` field that yields itself to the scope `lambda`.
75
+ - [`Administrate::Field::TimeAgo`](https://github.com/XPBytes/administrate-field-time_ago): :pencil: A `date_time` field that shows its data as `time_ago` since.
77
76
 
78
77
  ## Development
79
78
 
@@ -4,7 +4,7 @@ require 'administrate/field/scoped_belongs_to/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'administrate-field-scoped_belongs_to'
7
- spec.version = Administrate::Field::ScopedBelongsTo::VERSION
7
+ spec.version = Administrate::Field::ScopedBelongsToVersion::VERSION
8
8
  spec.authors = ['Derk-Jan Karrenbeld']
9
9
  spec.email = ['derk-jan@xpbytes.com']
10
10
 
@@ -1,9 +1,12 @@
1
+ require 'administrate/field/belongs_to'
1
2
  require 'administrate/field/scoped_belongs_to/version'
2
- require 'rails'
3
+ require 'rails/engine'
3
4
 
4
5
  module Administrate
5
6
  module Field
6
7
  class ScopedBelongsTo < Administrate::Field::BelongsTo
8
+ include ScopedBelongsToVersion
9
+
7
10
  class Engine < ::Rails::Engine
8
11
  end
9
12
 
@@ -1,9 +1,7 @@
1
- require 'administrate/field/belongs_to'
2
-
3
1
  module Administrate
4
2
  module Field
5
- class ScopedBelongsTo < Administrate::Field::BelongsTo
6
- VERSION = '0.1.0'.freeze
3
+ class ScopedBelongsToVersion
4
+ VERSION = '0.2.0'.freeze
7
5
  end
8
6
  end
9
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-scoped_belongs_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
@@ -86,6 +86,7 @@ files:
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