administrate-field-state_machine 0.0.4 → 0.1.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/administrate-field-state_machine.gemspec +1 -1
- data/app/assets/stylesheets/administrate-field-state_machine/application.css +4 -0
- data/app/views/fields/state_machine/_form.html.erb +1 -0
- data/lib/administrate/field/state_machine.rb +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bd1bcea996958cdb9170d258ad2a24eccd2b784
|
|
4
|
+
data.tar.gz: aa9d7d076a48330971554a12ef0831c90e6974d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68566227ffce2e2ce8356deb44c7dffe49a2e8db1d1bb038918e6d904e5750a05245e6ae45eba152770876ad5b2a7051d5d17fb15e517493216dc73b2df93f47
|
|
7
|
+
data.tar.gz: ff058a87275c22cb562a6b5c5eade1572b3ac029f0c7a7b9a8e849d26b45535f2005889d02aabebd51a3d3bf3d2a5b545d0ca5cc40918958b685bcca62512ce1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.1.0](https://github.com/z-productions/administrate-field-state_machine/tree/v0.1.0) (2016-12-13)
|
|
4
|
+
[Full Changelog](https://github.com/z-productions/administrate-field-state_machine/compare/v0.0.4...v0.1.0)
|
|
5
|
+
|
|
6
|
+
* Add current state in edit mode
|
|
7
|
+
|
|
3
8
|
## [v0.0.4](https://github.com/z-productions/administrate-field-state_machine/tree/v0.0.4) (2016-11-29)
|
|
4
9
|
[Full Changelog](https://github.com/z-productions/administrate-field-state_machine/compare/v0.0.3...v0.0.4)
|
|
5
10
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -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-state_machine'
|
|
5
|
-
gem.version = '0.0
|
|
5
|
+
gem.version = '0.1.0'
|
|
6
6
|
gem.authors = ['Michele Gerarduzzi']
|
|
7
7
|
gem.email = ['michele.gerarduzzi@gmail.com']
|
|
8
8
|
gem.homepage = 'https://github.com/z-productions/administrate-field-state_machine'
|
|
@@ -4,7 +4,9 @@ require 'rails'
|
|
|
4
4
|
module Administrate
|
|
5
5
|
module Field
|
|
6
6
|
class StateMachine < Administrate::Field::Base
|
|
7
|
-
class Engine < ::Rails::Engine
|
|
7
|
+
class Engine < ::Rails::Engine
|
|
8
|
+
Administrate::Engine.add_stylesheet 'administrate-field-state_machine/application'
|
|
9
|
+
end
|
|
8
10
|
|
|
9
11
|
def self.searchable?
|
|
10
12
|
true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: administrate-field-state_machine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michele Gerarduzzi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|
|
@@ -52,6 +52,7 @@ files:
|
|
|
52
52
|
- LICENSE.md
|
|
53
53
|
- README.md
|
|
54
54
|
- administrate-field-state_machine.gemspec
|
|
55
|
+
- app/assets/stylesheets/administrate-field-state_machine/application.css
|
|
55
56
|
- app/views/fields/state_machine/_form.html.erb
|
|
56
57
|
- app/views/fields/state_machine/_index.html.erb
|
|
57
58
|
- app/views/fields/state_machine/_show.html.erb
|