workflowable 1.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 94d83f2e5e0c26d24afb6431b1b8b6bd016616d1
4
- data.tar.gz: 548b54e0446c5e2cb371df871c00d5b62ac5b033
3
+ metadata.gz: fb928b6d62e6c5124e9d6045a2343cf3332b8d3f
4
+ data.tar.gz: 9a30e2a8798c5ce7126096e9e2277ff6bc5c14f1
5
5
  SHA512:
6
- metadata.gz: 5e26e7d6f734ba4f566c1c01f5ca07a80ed7ac637785b5d65af81b0a5931a80f4380636b4f3e5f4b5f516f110849d9e4f8082c6282840f9103ba6855f57975aa
7
- data.tar.gz: 2594ab1a771c2175217ae350626bee131089affa569354bd9d08751ea3e280f547e5df8bf8baa408f6c6efe87bcd6cad8918035a94f0192e3a238235f932ac60
6
+ metadata.gz: 5e128c39ba55f895ffa8d026679e66d961624bdf2515e2ea653e61369cddc764f693e2b92bedd5e27b435fa683ceb3c09f03d1d916e92cd7044d6b6d8c67eec2
7
+ data.tar.gz: 14d2ad815e8f730ebba59bb9b70b42dc2aac42642a13cec5638860ef1e980de7805eccad514db99023c17ae45c8d18ae1d7afb91a2b1d833e7f804889269c672
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Workflowable is a Ruby gem that allows adding flexible workflow functionality to Ruby on Rails Applications. Workflowable provides an admin interface for configuring workflows, adding stages, triggering automatic actions, etc.
7
7
 
8
- An example of an application using Workflowable is [Scumblr](https://www.github.com/Netlfix/Scumblr)
8
+ An example of an application using Workflowable is [Scumblr](https://www.github.com/Netflix/Scumblr)
9
9
 
10
10
  ## How do I use Workflowable?
11
11
 
@@ -20,7 +20,7 @@ module Workflowable
20
20
  has_many :stage_actions
21
21
  has_many :stages, :through=>:stage_actions
22
22
  validate :validate_action_plugin
23
- validate :name, :uniquness=>true
23
+ validates :name, :uniqueness=>true
24
24
 
25
25
  before_save :reject_blank_values
26
26
 
@@ -41,10 +41,10 @@
41
41
  <%= stage_form.text_field :name %>
42
42
  </div>
43
43
  <hr/>
44
- <h5>Before Actions<br/><small>These actions will be run when leaving this stage</small></h5>
44
+ <h5>Before Actions<br/><small>These actions will run before entering this stage</small></h5>
45
45
  <%= render partial: 'shared/actions/fields', locals: {f: stage_form, association: :before_actions, label: 'before action'} %>
46
46
  <hr/>
47
- <h5>After Actions<br/><small>These actions will run before entering this stage</small></h5>
47
+ <h5>After Actions<br/><small>These actions will be run when leaving this stage</small></h5>
48
48
  <%= render partial: 'shared/actions/fields', locals: {f: stage_form, association: :after_actions, label: 'after action'} %>
49
49
  <hr/>
50
50
  </fieldset>
@@ -14,5 +14,5 @@
14
14
 
15
15
 
16
16
  module Workflowable
17
- VERSION = "1.0"
17
+ VERSION = "1.0.1"
18
18
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workflowable
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Hoernecke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.4
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.4
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jquery-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -293,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
293
  version: '0'
294
294
  requirements: []
295
295
  rubyforge_project:
296
- rubygems_version: 2.2.1
296
+ rubygems_version: 2.4.8
297
297
  signing_key:
298
298
  specification_version: 4
299
299
  summary: Add worklow to your Rails application.