administrate-field-image 1.1.0 → 1.2.0
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/.github/workflows/main.yml +16 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +10 -0
- data/administrate-field-image.gemspec +1 -1
- data/app/views/fields/image/_form.html.erb +1 -1
- data/app/views/fields/image/_index.html.erb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 22d50e30ce09fa1d8de5adb7cdfb0da08cf5ee09d3ab14e7ce2ff946bfa0ce62
|
4
|
+
data.tar.gz: 40d83b517d0d006d9fb0d579a4416fdb4398d49e920932ade9bbbcf501eb1a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66eb1e098eea69927db230c3537ddb84487fecfebfa89bbc19b9370176c93406249845f93a2eaf497ca10cd9ae21a46e3f5ca19b7388fc77505f5836ada6b837
|
7
|
+
data.tar.gz: 5b324a632ce314f2c8adaac4cd3d529b8ec66b06c419085dbcaac6b534c2ca5b488edd0265852ce8c7dced93defcdd3843095a1212cb30470a4c6bc84b9a7946
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
name: CI
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
- name: Set up Ruby
|
12
|
+
uses: ruby/setup-ruby@v1
|
13
|
+
- name: Install dependencies
|
14
|
+
run: bundle install
|
15
|
+
- name: Run tests
|
16
|
+
run: bundle exec rspec
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-3.0.2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.2.0 (2022-07-11)
|
4
|
+
|
5
|
+
* Fix #index preview crash on when no image attached ([#23])
|
6
|
+
* Use file_field instead of text_field in the form ([#22]]
|
7
|
+
* Setup GitHub Actions for CI ([#21])
|
8
|
+
|
9
|
+
[#21]: https://github.com/thoughtbot/administrate-field-image/pull/21
|
10
|
+
[#22]: https://github.com/thoughtbot/administrate-field-image/pull/22
|
11
|
+
[#23]: https://github.com/thoughtbot/administrate-field-image/pull/23
|
12
|
+
|
3
13
|
## 1.1.0 (2017-03-24)
|
4
14
|
|
5
15
|
* Don't crash if image is nil/blank ([#9][])
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "administrate-field-image"
|
5
|
-
gem.version = "1.
|
5
|
+
gem.version = "1.2.0"
|
6
6
|
gem.authors = ["Grayson Wright", "Nick Charlton"]
|
7
7
|
gem.email = ["wright.grayson@gmail.com", "nick@nickcharlton.net"]
|
8
8
|
gem.homepage = "https://github.com/graysonwright/administrate-field-image"
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrate-field-image
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grayson Wright
|
8
8
|
- Nick Charlton
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: administrate
|
@@ -47,7 +47,9 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
+
- ".github/workflows/main.yml"
|
50
51
|
- ".gitignore"
|
52
|
+
- ".ruby-version"
|
51
53
|
- CHANGELOG.md
|
52
54
|
- Gemfile
|
53
55
|
- LICENSE
|
@@ -63,7 +65,7 @@ homepage: https://github.com/graysonwright/administrate-field-image
|
|
63
65
|
licenses:
|
64
66
|
- MIT
|
65
67
|
metadata: {}
|
66
|
-
post_install_message:
|
68
|
+
post_install_message:
|
67
69
|
rdoc_options: []
|
68
70
|
require_paths:
|
69
71
|
- lib
|
@@ -78,9 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
80
|
- !ruby/object:Gem::Version
|
79
81
|
version: '0'
|
80
82
|
requirements: []
|
81
|
-
|
82
|
-
|
83
|
-
signing_key:
|
83
|
+
rubygems_version: 3.2.22
|
84
|
+
signing_key:
|
84
85
|
specification_version: 4
|
85
86
|
summary: Official Image field plugin for Administrate
|
86
87
|
test_files:
|