active_admin-state_machine 1.0.0.pre2 → 1.0.0.pre3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04c3fcba38108b2213c0f1a85f1b1fc91614e52d455bfb35f1edc659ef48e75e
4
- data.tar.gz: 40ddcd703ee355194fd97d0556a48ebe05ec18b0098024a0683641004ddad061
3
+ metadata.gz: 5e923f1f5d9d87137069a1b764fc0442f561f72453b55016e27046c633078109
4
+ data.tar.gz: 94216ca96a068f658a4df471016279cdd412aaa47c9e4d9f58a678917d25d0ee
5
5
  SHA512:
6
- metadata.gz: e8b0cf8db0e2e1ab0c2d23c461f593d7ac7130e73b488f953183de5bf7585fac11a9489731f69b353db0bb7d44a734a13779148039eb850343b1ab723dbf8eec
7
- data.tar.gz: e82b6a7317d69b3311c42f0554b128b5d0e5456ed450ab92abb8beeababfe2a17c22b6d461d207de4d98ae802429901f9eb766854d8e3e5d3660cb7c64f27f34
6
+ metadata.gz: d29fb1b785f943bea64b107d3e05edf305970e6a8cdd5c2b229a8d7e2d961926da8d87d5287beae9f28bb8026e6b0ab6cd198bd27cddc21fa10423274c6238ae
7
+ data.tar.gz: b50c14a4968d6ddaf4d08ed33d83bc5af509583897548f6abd660704e97193f88fda8ba81649f547a3f59b2aebe600d37cf8b8eca3afb6bb8eed7b8bcde9f867
data/README.md CHANGED
@@ -139,3 +139,46 @@ class Post < ActiveRecord::Base
139
139
  end
140
140
  end
141
141
  ```
142
+
143
+ ## Development
144
+ Included is a dummy rails 6 application that includes some basic ability management, a few models and the ActiveAdmin UI.
145
+
146
+ This is used in the test suite for integration testing, but is also usable if you're interested in using yourself.
147
+
148
+ ### Setup
149
+ First fork the repo and clone to your machine for development.
150
+
151
+ Then setup the rails app for development.
152
+
153
+ ```
154
+ $> bundle install
155
+ $> rails db:setup
156
+ ```
157
+
158
+ This will run the `seeds.rb` file from the dummy application, creating 2 users that can be used to login to the development server.
159
+
160
+ - `admin@example.com`
161
+ - `super@example.com`
162
+
163
+ The password is `password` for both, and abilitys are defined in `cancancan` for the dummy site.
164
+
165
+ ### Starting Server
166
+ To start the development rails server
167
+
168
+ ```
169
+ $> bundle install
170
+ $> bin/rails s
171
+ $> open http://localhost:3000/admin
172
+ ```
173
+
174
+ Login with the credentials from `seeds.rb` mentioned above.
175
+
176
+ ### Test Suite
177
+ The test suite can be run via rspec.
178
+
179
+ ```
180
+ $> bundle exec rspec spec
181
+ ```
182
+
183
+ ### Contributing
184
+ Please ensure that any pull requests pass the test suite locally before submitting a PR.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module StateMachine
5
- VERSION = '1.0.0.pre2'
5
+ VERSION = '1.0.0.pre3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin-state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre2
4
+ version: 1.0.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brewer