workflow_kit 0.0.7 → 0.0.8
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/.travis.yml +0 -2
- data/Gemfile +3 -1
- data/Gemfile.lock +134 -112
- data/Rakefile +1 -2
- data/app/controllers/workflow_kit/workflows_controller.rb +9 -2
- data/app/models/workflow_kit/parameter.rb +1 -1
- data/app/models/workflow_kit/step.rb +1 -1
- data/app/models/workflow_kit/workflow.rb +0 -2
- data/lib/workflow_kit/version.rb +1 -1
- data/spec/models/parameterable_spec.rb +3 -3
- data/spec/models/workflow_spec.rb +1 -1
- data/test_app/Gemfile +8 -10
- data/test_app/Gemfile.lock +91 -92
- data/test_app/app/models/message.rb +1 -1
- data/test_app/config/application.rb +1 -12
- data/test_app/config/environments/development.rb +3 -4
- data/test_app/config/environments/production.rb +2 -0
- data/test_app/config/environments/test.rb +2 -3
- data/test_app/config/initializers/strong_parameters.rb +1 -0
- data/test_app/db/schema.rb +14 -14
- data/workflow_kit.gemspec +5 -6
- metadata +37 -50
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65cd9a867abb82a95cab18174df91f64d8d93e4b
|
|
4
|
+
data.tar.gz: 4154049a37d42a051ef038416ffb9e9abd156006
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d52f38cc7ec676a9b2cbc38cab36f8a9e5b1aad11d1fd4cea5f315f9874a30a1a2ba79add34745fa678c04aaf46430db9748b242bb4b58fbd97a509c64a0666
|
|
7
|
+
data.tar.gz: a7f6d99b2a3f7c7a50795749047837692f3484feb66edbbcfef993e6c75fc4257cceec3084582f47d9d65f3a45fcdf4dbf73ce4cfad038575a31c66d5c9ebabc
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -5,6 +5,8 @@ source "http://rubygems.org"
|
|
|
5
5
|
# development dependencies will be added by default to the :development group.
|
|
6
6
|
gemspec
|
|
7
7
|
|
|
8
|
+
gem 'rails', '~> 4.1'
|
|
9
|
+
|
|
8
10
|
# jquery-rails is used by the dummy application
|
|
9
11
|
gem "jquery-rails"
|
|
10
12
|
|
|
@@ -17,4 +19,4 @@ gem "jquery-rails"
|
|
|
17
19
|
# gem 'debugger'
|
|
18
20
|
|
|
19
21
|
gem 'nifty-generators'
|
|
20
|
-
gem 'sass-rails'
|
|
22
|
+
gem 'sass-rails', '>= 4.0.3'
|
data/Gemfile.lock
CHANGED
|
@@ -1,138 +1,159 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
workflow_kit (0.0.
|
|
5
|
-
rails (
|
|
4
|
+
workflow_kit (0.0.8)
|
|
5
|
+
rails (>= 3.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actionmailer (
|
|
11
|
-
actionpack (=
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
actionmailer (4.1.1)
|
|
11
|
+
actionpack (= 4.1.1)
|
|
12
|
+
actionview (= 4.1.1)
|
|
13
|
+
mail (~> 2.5.4)
|
|
14
|
+
actionpack (4.1.1)
|
|
15
|
+
actionview (= 4.1.1)
|
|
16
|
+
activesupport (= 4.1.1)
|
|
17
|
+
rack (~> 1.5.2)
|
|
18
|
+
rack-test (~> 0.6.2)
|
|
19
|
+
actionview (4.1.1)
|
|
20
|
+
activesupport (= 4.1.1)
|
|
21
|
+
builder (~> 3.1)
|
|
17
22
|
erubis (~> 2.7.0)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
tzinfo (~>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
activesupport (3.2.6)
|
|
35
|
-
i18n (~> 0.6)
|
|
36
|
-
multi_json (~> 1.0)
|
|
37
|
-
addressable (2.2.8)
|
|
38
|
-
arel (3.0.3)
|
|
39
|
-
builder (3.0.0)
|
|
40
|
-
capybara (1.1.2)
|
|
23
|
+
activemodel (4.1.1)
|
|
24
|
+
activesupport (= 4.1.1)
|
|
25
|
+
builder (~> 3.1)
|
|
26
|
+
activerecord (4.1.1)
|
|
27
|
+
activemodel (= 4.1.1)
|
|
28
|
+
activesupport (= 4.1.1)
|
|
29
|
+
arel (~> 5.0.0)
|
|
30
|
+
activesupport (4.1.1)
|
|
31
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
32
|
+
json (~> 1.7, >= 1.7.7)
|
|
33
|
+
minitest (~> 5.1)
|
|
34
|
+
thread_safe (~> 0.1)
|
|
35
|
+
tzinfo (~> 1.1)
|
|
36
|
+
arel (5.0.1.20140414130214)
|
|
37
|
+
builder (3.2.2)
|
|
38
|
+
capybara (2.2.1)
|
|
41
39
|
mime-types (>= 1.16)
|
|
42
40
|
nokogiri (>= 1.3.3)
|
|
43
41
|
rack (>= 1.0.0)
|
|
44
42
|
rack-test (>= 0.5.4)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
xpath (~> 2.0)
|
|
44
|
+
celluloid (0.15.2)
|
|
45
|
+
timers (~> 1.1.0)
|
|
46
|
+
celluloid-io (0.15.0)
|
|
47
|
+
celluloid (>= 0.15.0)
|
|
48
|
+
nio4r (>= 0.5.0)
|
|
49
|
+
coderay (1.1.0)
|
|
50
|
+
diff-lcs (1.2.5)
|
|
50
51
|
erubis (2.7.0)
|
|
51
|
-
ffi (1.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
52
|
+
ffi (1.9.3)
|
|
53
|
+
formatador (0.2.4)
|
|
54
|
+
guard (2.6.0)
|
|
55
|
+
formatador (>= 0.2.4)
|
|
56
|
+
listen (~> 2.7)
|
|
57
|
+
lumberjack (~> 1.0)
|
|
58
|
+
pry (>= 0.9.12)
|
|
59
|
+
thor (>= 0.18.1)
|
|
60
|
+
guard-rspec (4.2.8)
|
|
61
|
+
guard (~> 2.1)
|
|
62
|
+
rspec (>= 2.14, < 4.0)
|
|
63
|
+
hike (1.2.3)
|
|
64
|
+
i18n (0.6.9)
|
|
65
|
+
jquery-rails (3.1.0)
|
|
66
|
+
railties (>= 3.0, < 5.0)
|
|
67
|
+
thor (>= 0.14, < 2.0)
|
|
68
|
+
json (1.8.1)
|
|
69
|
+
listen (2.7.4)
|
|
70
|
+
celluloid (>= 0.15.2)
|
|
71
|
+
celluloid-io (>= 0.15.0)
|
|
72
|
+
rb-fsevent (>= 0.9.3)
|
|
73
|
+
rb-inotify (>= 0.9)
|
|
74
|
+
lumberjack (1.0.5)
|
|
75
|
+
mail (2.5.4)
|
|
68
76
|
mime-types (~> 1.16)
|
|
69
77
|
treetop (~> 1.4.8)
|
|
70
|
-
|
|
71
|
-
|
|
78
|
+
method_source (0.8.2)
|
|
79
|
+
mime-types (1.25.1)
|
|
80
|
+
mini_portile (0.5.3)
|
|
81
|
+
minitest (5.3.3)
|
|
82
|
+
multi_json (1.10.0)
|
|
72
83
|
nifty-generators (0.4.6)
|
|
73
|
-
|
|
84
|
+
nio4r (1.0.0)
|
|
85
|
+
nokogiri (1.6.1)
|
|
86
|
+
mini_portile (~> 0.5.0)
|
|
74
87
|
polyglot (0.3.4)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
rack-test (0.6.
|
|
88
|
+
pry (0.9.12.6)
|
|
89
|
+
coderay (~> 1.0)
|
|
90
|
+
method_source (~> 0.8)
|
|
91
|
+
slop (~> 3.4)
|
|
92
|
+
rack (1.5.2)
|
|
93
|
+
rack-test (0.6.2)
|
|
81
94
|
rack (>= 1.0)
|
|
82
|
-
rails (
|
|
83
|
-
actionmailer (=
|
|
84
|
-
actionpack (=
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
rails (4.1.1)
|
|
96
|
+
actionmailer (= 4.1.1)
|
|
97
|
+
actionpack (= 4.1.1)
|
|
98
|
+
actionview (= 4.1.1)
|
|
99
|
+
activemodel (= 4.1.1)
|
|
100
|
+
activerecord (= 4.1.1)
|
|
101
|
+
activesupport (= 4.1.1)
|
|
102
|
+
bundler (>= 1.3.0, < 2.0)
|
|
103
|
+
railties (= 4.1.1)
|
|
104
|
+
sprockets-rails (~> 2.0)
|
|
105
|
+
railties (4.1.1)
|
|
106
|
+
actionpack (= 4.1.1)
|
|
107
|
+
activesupport (= 4.1.1)
|
|
94
108
|
rake (>= 0.8.7)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
rspec (2.
|
|
101
|
-
rspec-core (~> 2.
|
|
102
|
-
rspec-expectations (~> 2.
|
|
103
|
-
rspec-mocks (~> 2.
|
|
104
|
-
rspec-core (2.
|
|
105
|
-
rspec-expectations (2.
|
|
106
|
-
diff-lcs (
|
|
107
|
-
rspec-mocks (2.
|
|
108
|
-
rspec-rails (2.
|
|
109
|
+
thor (>= 0.18.1, < 2.0)
|
|
110
|
+
rake (10.3.1)
|
|
111
|
+
rb-fsevent (0.9.4)
|
|
112
|
+
rb-inotify (0.9.4)
|
|
113
|
+
ffi (>= 0.5.0)
|
|
114
|
+
rspec (2.14.1)
|
|
115
|
+
rspec-core (~> 2.14.0)
|
|
116
|
+
rspec-expectations (~> 2.14.0)
|
|
117
|
+
rspec-mocks (~> 2.14.0)
|
|
118
|
+
rspec-core (2.14.8)
|
|
119
|
+
rspec-expectations (2.14.5)
|
|
120
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
|
121
|
+
rspec-mocks (2.14.6)
|
|
122
|
+
rspec-rails (2.14.2)
|
|
109
123
|
actionpack (>= 3.0)
|
|
124
|
+
activemodel (>= 3.0)
|
|
110
125
|
activesupport (>= 3.0)
|
|
111
126
|
railties (>= 3.0)
|
|
112
|
-
rspec (~> 2.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
sass
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
rubyzip
|
|
124
|
-
sprockets (2.1.3)
|
|
127
|
+
rspec-core (~> 2.14.0)
|
|
128
|
+
rspec-expectations (~> 2.14.0)
|
|
129
|
+
rspec-mocks (~> 2.14.0)
|
|
130
|
+
sass (3.2.19)
|
|
131
|
+
sass-rails (4.0.3)
|
|
132
|
+
railties (>= 4.0.0, < 5.0)
|
|
133
|
+
sass (~> 3.2.0)
|
|
134
|
+
sprockets (~> 2.8, <= 2.11.0)
|
|
135
|
+
sprockets-rails (~> 2.0)
|
|
136
|
+
slop (3.5.0)
|
|
137
|
+
sprockets (2.11.0)
|
|
125
138
|
hike (~> 1.2)
|
|
139
|
+
multi_json (~> 1.0)
|
|
126
140
|
rack (~> 1.0)
|
|
127
141
|
tilt (~> 1.1, != 1.3.0)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
142
|
+
sprockets-rails (2.1.3)
|
|
143
|
+
actionpack (>= 3.0)
|
|
144
|
+
activesupport (>= 3.0)
|
|
145
|
+
sprockets (~> 2.8)
|
|
146
|
+
sqlite3 (1.3.9)
|
|
147
|
+
thor (0.19.1)
|
|
148
|
+
thread_safe (0.3.3)
|
|
149
|
+
tilt (1.4.1)
|
|
150
|
+
timers (1.1.0)
|
|
131
151
|
treetop (1.4.15)
|
|
132
152
|
polyglot
|
|
133
153
|
polyglot (>= 0.3.1)
|
|
134
|
-
tzinfo (
|
|
135
|
-
|
|
154
|
+
tzinfo (1.1.0)
|
|
155
|
+
thread_safe (~> 0.1)
|
|
156
|
+
xpath (2.0.0)
|
|
136
157
|
nokogiri (~> 1.3)
|
|
137
158
|
|
|
138
159
|
PLATFORMS
|
|
@@ -141,13 +162,14 @@ PLATFORMS
|
|
|
141
162
|
DEPENDENCIES
|
|
142
163
|
bundler
|
|
143
164
|
capybara
|
|
144
|
-
guard
|
|
145
|
-
guard-rspec
|
|
165
|
+
guard
|
|
166
|
+
guard-rspec
|
|
146
167
|
jquery-rails
|
|
147
168
|
nifty-generators
|
|
148
|
-
nokogiri
|
|
169
|
+
nokogiri
|
|
170
|
+
rails (~> 4.1)
|
|
149
171
|
rake
|
|
150
|
-
rspec-rails
|
|
151
|
-
sass-rails
|
|
172
|
+
rspec-rails
|
|
173
|
+
sass-rails (>= 4.0.3)
|
|
152
174
|
sqlite3
|
|
153
175
|
workflow_kit!
|
data/Rakefile
CHANGED
|
@@ -20,6 +20,7 @@ module WorkflowKit
|
|
|
20
20
|
# GET /workflows/1
|
|
21
21
|
# GET /workflows/1.json
|
|
22
22
|
def show
|
|
23
|
+
@workflow ||= Workflow.find(params[:id])
|
|
23
24
|
respond_to do |format|
|
|
24
25
|
format.html # show.html.erb
|
|
25
26
|
format.json { render json: @workflow }
|
|
@@ -44,7 +45,7 @@ module WorkflowKit
|
|
|
44
45
|
# POST /workflows
|
|
45
46
|
# POST /workflows.json
|
|
46
47
|
def create
|
|
47
|
-
@workflow = Workflow.new(
|
|
48
|
+
@workflow = Workflow.new(workflow_params)
|
|
48
49
|
|
|
49
50
|
respond_to do |format|
|
|
50
51
|
if @workflow.save
|
|
@@ -61,7 +62,7 @@ module WorkflowKit
|
|
|
61
62
|
# PUT /workflows/1.json
|
|
62
63
|
def update
|
|
63
64
|
respond_to do |format|
|
|
64
|
-
if @workflow.update_attributes(
|
|
65
|
+
if @workflow.update_attributes(workflow_params)
|
|
65
66
|
format.html { redirect_to @workflow, notice: 'Workflow was successfully updated.' }
|
|
66
67
|
format.json { head :no_content }
|
|
67
68
|
else
|
|
@@ -89,5 +90,11 @@ module WorkflowKit
|
|
|
89
90
|
flash[ :notice ] = "#{I18n.t(:executed_workflow)}: #{@workflow.name}"
|
|
90
91
|
redirect_to :back
|
|
91
92
|
end
|
|
93
|
+
|
|
94
|
+
private
|
|
95
|
+
|
|
96
|
+
def workflow_params
|
|
97
|
+
params[:workflow].permit(:description, :name, :parameters)
|
|
98
|
+
end
|
|
92
99
|
end
|
|
93
100
|
end
|
data/lib/workflow_kit/version.rb
CHANGED
|
@@ -20,7 +20,7 @@ describe WorkflowKit::Parameterable do
|
|
|
20
20
|
|
|
21
21
|
describe "#parameters" do
|
|
22
22
|
subject { @parameterable.parameters }
|
|
23
|
-
|
|
23
|
+
its(:to_a) { should be_kind_of( Array ) }
|
|
24
24
|
its( :first ) { should be_kind_of WorkflowKit::Parameter }
|
|
25
25
|
its( 'first.key' ) { should == :test_key }
|
|
26
26
|
its( 'first.value' ) { should == "test_value" }
|
|
@@ -40,14 +40,14 @@ describe WorkflowKit::Parameterable do
|
|
|
40
40
|
describe "#parameters=" do
|
|
41
41
|
it "should transform a parameter hash into WorkflowKit::Parameter objects" do
|
|
42
42
|
@parameterable.parameters = { first_key: "first_value", second_key: "second_value" }
|
|
43
|
-
@parameterable.parameters.should be_kind_of( Array )
|
|
43
|
+
@parameterable.parameters.to_a.should be_kind_of( Array )
|
|
44
44
|
@parameterable.parameters.first.should be_kind_of( WorkflowKit::Parameter )
|
|
45
45
|
@parameterable.parameters.first.key.should == :first_key
|
|
46
46
|
end
|
|
47
47
|
it "should also accept WorkflowKit::Parameter objects" do
|
|
48
48
|
@parameterable.parameters =
|
|
49
49
|
[ WorkflowKit::Parameter.new( key: :first_key, value: "first_value" ) ]
|
|
50
|
-
@parameterable.parameters.should be_kind_of( Array )
|
|
50
|
+
@parameterable.parameters.to_a.should be_kind_of( Array )
|
|
51
51
|
@parameterable.parameters.first.should be_kind_of( WorkflowKit::Parameter )
|
|
52
52
|
@parameterable.parameters.first.key.should == :first_key
|
|
53
53
|
end
|
|
@@ -16,7 +16,7 @@ describe WorkflowKit::Workflow do
|
|
|
16
16
|
subject.count.should == 3
|
|
17
17
|
end
|
|
18
18
|
it { should be_kind_of( ActiveRecord::Relation ) }
|
|
19
|
-
its(
|
|
19
|
+
its( 'all.to_a' ) { should be_kind_of( Array ) }
|
|
20
20
|
its( :first ) { should be_kind_of( WorkflowKit::Step ) }
|
|
21
21
|
end
|
|
22
22
|
|
data/test_app/Gemfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
-
gem 'rails', '
|
|
3
|
+
gem 'rails', '>= 4.1.1'
|
|
4
4
|
|
|
5
5
|
# Bundle edge Rails instead:
|
|
6
6
|
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
|
@@ -11,15 +11,13 @@ gem 'pg', group: :production
|
|
|
11
11
|
|
|
12
12
|
# Gems used only for assets and not required
|
|
13
13
|
# in production environments by default.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
gem 'coffee-rails', '~> 3.2.1'
|
|
14
|
+
gem 'sass-rails', '>= 3.2.3'
|
|
15
|
+
gem 'coffee-rails', '>= 3.2.1'
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
|
18
|
+
gem 'therubyracer', :platforms => :ruby
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
end
|
|
20
|
+
gem 'uglifier', '>= 1.0.3'
|
|
23
21
|
|
|
24
22
|
gem 'jquery-rails'
|
|
25
23
|
|
|
@@ -39,5 +37,5 @@ gem 'jquery-rails'
|
|
|
39
37
|
# gem 'debugger'
|
|
40
38
|
|
|
41
39
|
gem 'nifty-generators', group: :development
|
|
42
|
-
gem 'workflow_kit', git: 'git://github.com/fiedl/workflow_kit.git'
|
|
43
|
-
|
|
40
|
+
# gem 'workflow_kit', git: 'git://github.com/fiedl/workflow_kit.git'
|
|
41
|
+
gem 'workflow_kit', path: '../'
|
data/test_app/Gemfile.lock
CHANGED
|
@@ -1,127 +1,126 @@
|
|
|
1
|
-
|
|
2
|
-
remote:
|
|
3
|
-
revision: caa1f30acee20ffaccb19f13972809d887775018
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../
|
|
4
3
|
specs:
|
|
5
|
-
workflow_kit (0.0.
|
|
6
|
-
rails (
|
|
4
|
+
workflow_kit (0.0.7)
|
|
5
|
+
rails (>= 3.2)
|
|
7
6
|
|
|
8
7
|
GEM
|
|
9
8
|
remote: https://rubygems.org/
|
|
10
9
|
specs:
|
|
11
|
-
actionmailer (
|
|
12
|
-
actionpack (=
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
actionmailer (4.1.1)
|
|
11
|
+
actionpack (= 4.1.1)
|
|
12
|
+
actionview (= 4.1.1)
|
|
13
|
+
mail (~> 2.5.4)
|
|
14
|
+
actionpack (4.1.1)
|
|
15
|
+
actionview (= 4.1.1)
|
|
16
|
+
activesupport (= 4.1.1)
|
|
17
|
+
rack (~> 1.5.2)
|
|
18
|
+
rack-test (~> 0.6.2)
|
|
19
|
+
actionview (4.1.1)
|
|
20
|
+
activesupport (= 4.1.1)
|
|
21
|
+
builder (~> 3.1)
|
|
18
22
|
erubis (~> 2.7.0)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
tzinfo (~>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
activesupport (3.2.11)
|
|
36
|
-
i18n (~> 0.6)
|
|
37
|
-
multi_json (~> 1.0)
|
|
38
|
-
arel (3.0.2)
|
|
39
|
-
builder (3.0.4)
|
|
40
|
-
coffee-rails (3.2.2)
|
|
23
|
+
activemodel (4.1.1)
|
|
24
|
+
activesupport (= 4.1.1)
|
|
25
|
+
builder (~> 3.1)
|
|
26
|
+
activerecord (4.1.1)
|
|
27
|
+
activemodel (= 4.1.1)
|
|
28
|
+
activesupport (= 4.1.1)
|
|
29
|
+
arel (~> 5.0.0)
|
|
30
|
+
activesupport (4.1.1)
|
|
31
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
32
|
+
json (~> 1.7, >= 1.7.7)
|
|
33
|
+
minitest (~> 5.1)
|
|
34
|
+
thread_safe (~> 0.1)
|
|
35
|
+
tzinfo (~> 1.1)
|
|
36
|
+
arel (5.0.1.20140414130214)
|
|
37
|
+
builder (3.2.2)
|
|
38
|
+
coffee-rails (4.0.1)
|
|
41
39
|
coffee-script (>= 2.2.0)
|
|
42
|
-
railties (
|
|
40
|
+
railties (>= 4.0.0, < 5.0)
|
|
43
41
|
coffee-script (2.2.0)
|
|
44
42
|
coffee-script-source
|
|
45
43
|
execjs
|
|
46
|
-
coffee-script-source (1.
|
|
44
|
+
coffee-script-source (1.7.0)
|
|
47
45
|
erubis (2.7.0)
|
|
48
|
-
execjs (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
libv8 (3.3.10.4)
|
|
58
|
-
mail (2.4.4)
|
|
59
|
-
i18n (>= 0.4.0)
|
|
46
|
+
execjs (2.0.2)
|
|
47
|
+
hike (1.2.3)
|
|
48
|
+
i18n (0.6.9)
|
|
49
|
+
jquery-rails (3.1.0)
|
|
50
|
+
railties (>= 3.0, < 5.0)
|
|
51
|
+
thor (>= 0.14, < 2.0)
|
|
52
|
+
json (1.8.1)
|
|
53
|
+
libv8 (3.16.14.3)
|
|
54
|
+
mail (2.5.4)
|
|
60
55
|
mime-types (~> 1.16)
|
|
61
56
|
treetop (~> 1.4.8)
|
|
62
|
-
mime-types (1.
|
|
63
|
-
|
|
57
|
+
mime-types (1.25.1)
|
|
58
|
+
minitest (5.3.3)
|
|
59
|
+
multi_json (1.10.0)
|
|
64
60
|
nifty-generators (0.4.6)
|
|
65
|
-
pg (0.
|
|
66
|
-
polyglot (0.3.
|
|
67
|
-
rack (1.
|
|
68
|
-
rack-cache (1.2)
|
|
69
|
-
rack (>= 0.4)
|
|
70
|
-
rack-ssl (1.3.2)
|
|
71
|
-
rack
|
|
61
|
+
pg (0.17.1)
|
|
62
|
+
polyglot (0.3.4)
|
|
63
|
+
rack (1.5.2)
|
|
72
64
|
rack-test (0.6.2)
|
|
73
65
|
rack (>= 1.0)
|
|
74
|
-
rails (
|
|
75
|
-
actionmailer (=
|
|
76
|
-
actionpack (=
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
66
|
+
rails (4.1.1)
|
|
67
|
+
actionmailer (= 4.1.1)
|
|
68
|
+
actionpack (= 4.1.1)
|
|
69
|
+
actionview (= 4.1.1)
|
|
70
|
+
activemodel (= 4.1.1)
|
|
71
|
+
activerecord (= 4.1.1)
|
|
72
|
+
activesupport (= 4.1.1)
|
|
73
|
+
bundler (>= 1.3.0, < 2.0)
|
|
74
|
+
railties (= 4.1.1)
|
|
75
|
+
sprockets-rails (~> 2.0)
|
|
76
|
+
railties (4.1.1)
|
|
77
|
+
actionpack (= 4.1.1)
|
|
78
|
+
activesupport (= 4.1.1)
|
|
86
79
|
rake (>= 0.8.7)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
sprockets (2.2.2)
|
|
80
|
+
thor (>= 0.18.1, < 2.0)
|
|
81
|
+
rake (10.3.1)
|
|
82
|
+
ref (1.0.5)
|
|
83
|
+
sass (3.2.19)
|
|
84
|
+
sass-rails (4.0.3)
|
|
85
|
+
railties (>= 4.0.0, < 5.0)
|
|
86
|
+
sass (~> 3.2.0)
|
|
87
|
+
sprockets (~> 2.8, <= 2.11.0)
|
|
88
|
+
sprockets-rails (~> 2.0)
|
|
89
|
+
sprockets (2.11.0)
|
|
98
90
|
hike (~> 1.2)
|
|
99
91
|
multi_json (~> 1.0)
|
|
100
92
|
rack (~> 1.0)
|
|
101
93
|
tilt (~> 1.1, != 1.3.0)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
94
|
+
sprockets-rails (2.1.3)
|
|
95
|
+
actionpack (>= 3.0)
|
|
96
|
+
activesupport (>= 3.0)
|
|
97
|
+
sprockets (~> 2.8)
|
|
98
|
+
sqlite3 (1.3.9)
|
|
99
|
+
therubyracer (0.12.1)
|
|
100
|
+
libv8 (~> 3.16.14.0)
|
|
101
|
+
ref
|
|
102
|
+
thor (0.19.1)
|
|
103
|
+
thread_safe (0.3.3)
|
|
104
|
+
tilt (1.4.1)
|
|
105
|
+
treetop (1.4.15)
|
|
108
106
|
polyglot
|
|
109
107
|
polyglot (>= 0.3.1)
|
|
110
|
-
tzinfo (
|
|
111
|
-
|
|
108
|
+
tzinfo (1.1.0)
|
|
109
|
+
thread_safe (~> 0.1)
|
|
110
|
+
uglifier (2.5.0)
|
|
112
111
|
execjs (>= 0.3.0)
|
|
113
|
-
|
|
112
|
+
json (>= 1.8.0)
|
|
114
113
|
|
|
115
114
|
PLATFORMS
|
|
116
115
|
ruby
|
|
117
116
|
|
|
118
117
|
DEPENDENCIES
|
|
119
|
-
coffee-rails (
|
|
118
|
+
coffee-rails (>= 3.2.1)
|
|
120
119
|
jquery-rails
|
|
121
120
|
nifty-generators
|
|
122
121
|
pg
|
|
123
|
-
rails (
|
|
124
|
-
sass-rails (
|
|
122
|
+
rails (>= 4.1.1)
|
|
123
|
+
sass-rails (>= 3.2.3)
|
|
125
124
|
sqlite3
|
|
126
125
|
therubyracer
|
|
127
126
|
uglifier (>= 1.0.3)
|
|
@@ -2,12 +2,7 @@ require File.expand_path('../boot', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
require 'rails/all'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
# If you precompile assets before deploying to production, use this line
|
|
7
|
-
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
|
8
|
-
# If you want your assets lazily compiled in production, use this line
|
|
9
|
-
# Bundler.require(:default, :assets, Rails.env)
|
|
10
|
-
end
|
|
5
|
+
Bundler.require(:default, Rails.env)
|
|
11
6
|
|
|
12
7
|
module TestApp
|
|
13
8
|
class Application < Rails::Application
|
|
@@ -47,12 +42,6 @@ module TestApp
|
|
|
47
42
|
# like if you have constraints or database-specific column types
|
|
48
43
|
# config.active_record.schema_format = :sql
|
|
49
44
|
|
|
50
|
-
# Enforce whitelist mode for mass assignment.
|
|
51
|
-
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
|
52
|
-
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
|
53
|
-
# parameters by using an attr_accessible or attr_protected declaration.
|
|
54
|
-
config.active_record.whitelist_attributes = true
|
|
55
|
-
|
|
56
45
|
# Enable the asset pipeline
|
|
57
46
|
config.assets.enabled = true
|
|
58
47
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
TestApp::Application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb
|
|
3
|
+
|
|
4
|
+
config.eager_load = false
|
|
3
5
|
|
|
4
6
|
# In the development environment your application's code is reloaded on
|
|
5
7
|
# every request. This slows down response time but is perfect for development
|
|
@@ -22,12 +24,9 @@ TestApp::Application.configure do
|
|
|
22
24
|
# Only use best-standards-support built into browsers
|
|
23
25
|
config.action_dispatch.best_standards_support = :builtin
|
|
24
26
|
|
|
25
|
-
# Raise exception on mass assignment protection for Active Record models
|
|
26
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
|
27
|
-
|
|
28
27
|
# Log the query plan for queries taking more than this (works
|
|
29
28
|
# with SQLite, MySQL, and PostgreSQL)
|
|
30
|
-
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
|
29
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
|
31
30
|
|
|
32
31
|
# Do not compress assets
|
|
33
32
|
config.assets.compress = false
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
TestApp::Application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb
|
|
3
|
+
|
|
4
|
+
config.eager_load = false
|
|
3
5
|
|
|
4
6
|
# The test environment is used exclusively to run your application's
|
|
5
7
|
# test suite. You never need to work with it otherwise. Remember that
|
|
@@ -29,9 +31,6 @@ TestApp::Application.configure do
|
|
|
29
31
|
# ActionMailer::Base.deliveries array.
|
|
30
32
|
config.action_mailer.delivery_method = :test
|
|
31
33
|
|
|
32
|
-
# Raise exception on mass assignment protection for Active Record models
|
|
33
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
|
34
|
-
|
|
35
34
|
# Print deprecation notices to the stderr
|
|
36
35
|
config.active_support.deprecation = :stderr
|
|
37
36
|
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ActiveRecord::Base.send(:include, ActiveModel::ForbiddenAttributesProtection)
|
data/test_app/db/schema.rb
CHANGED
|
@@ -9,38 +9,38 @@
|
|
|
9
9
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
10
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
11
|
#
|
|
12
|
-
# It's strongly recommended
|
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
|
13
13
|
|
|
14
|
-
ActiveRecord::Schema.define(:
|
|
14
|
+
ActiveRecord::Schema.define(version: 20120722201330) do
|
|
15
15
|
|
|
16
|
-
create_table "messages", :
|
|
16
|
+
create_table "messages", force: true do |t|
|
|
17
17
|
t.string "text"
|
|
18
|
-
t.datetime "created_at"
|
|
19
|
-
t.datetime "updated_at"
|
|
18
|
+
t.datetime "created_at"
|
|
19
|
+
t.datetime "updated_at"
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
create_table "workflow_kit_parameters", :
|
|
22
|
+
create_table "workflow_kit_parameters", force: true do |t|
|
|
23
23
|
t.string "key"
|
|
24
24
|
t.string "value"
|
|
25
25
|
t.integer "parameterable_id"
|
|
26
26
|
t.string "parameterable_type"
|
|
27
|
-
t.datetime "created_at"
|
|
28
|
-
t.datetime "updated_at"
|
|
27
|
+
t.datetime "created_at"
|
|
28
|
+
t.datetime "updated_at"
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
create_table "workflow_kit_steps", :
|
|
31
|
+
create_table "workflow_kit_steps", force: true do |t|
|
|
32
32
|
t.integer "sequence_index"
|
|
33
33
|
t.integer "workflow_id"
|
|
34
34
|
t.string "brick_name"
|
|
35
|
-
t.datetime "created_at"
|
|
36
|
-
t.datetime "updated_at"
|
|
35
|
+
t.datetime "created_at"
|
|
36
|
+
t.datetime "updated_at"
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
create_table "workflow_kit_workflows", :
|
|
39
|
+
create_table "workflow_kit_workflows", force: true do |t|
|
|
40
40
|
t.string "name"
|
|
41
41
|
t.string "description"
|
|
42
|
-
t.datetime "created_at"
|
|
43
|
-
t.datetime "updated_at"
|
|
42
|
+
t.datetime "created_at"
|
|
43
|
+
t.datetime "updated_at"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
end
|
data/workflow_kit.gemspec
CHANGED
|
@@ -27,19 +27,18 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
#s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
|
|
28
28
|
#s.test_files = Dir["test/**/*"]
|
|
29
29
|
|
|
30
|
-
s.add_dependency "rails", "
|
|
30
|
+
s.add_dependency "rails", ">= 3.2"
|
|
31
31
|
# s.add_dependency "jquery-rails"
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency "sqlite3"
|
|
34
34
|
|
|
35
35
|
s.add_development_dependency "rake"
|
|
36
36
|
s.add_development_dependency "bundler"
|
|
37
|
-
s.add_development_dependency "
|
|
38
|
-
s.add_development_dependency "
|
|
39
|
-
s.add_development_dependency "nokogiri", ">= 1.5.0"
|
|
37
|
+
s.add_development_dependency "guard"
|
|
38
|
+
s.add_development_dependency "nokogiri"
|
|
40
39
|
s.add_development_dependency "capybara"
|
|
41
|
-
s.add_development_dependency 'rspec-rails'
|
|
42
|
-
s.add_development_dependency 'guard-rspec'
|
|
40
|
+
s.add_development_dependency 'rspec-rails'
|
|
41
|
+
s.add_development_dependency 'guard-rspec'
|
|
43
42
|
|
|
44
43
|
end
|
|
45
44
|
|
metadata
CHANGED
|
@@ -1,155 +1,141 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: workflow_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Fiedlschuster
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-05-06 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: 3.2
|
|
19
|
+
version: '3.2'
|
|
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: 3.2
|
|
26
|
+
version: '3.2'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: sqlite3
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rake
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: bundler
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: rspec-rails
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - '>='
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: 2.8.0
|
|
76
|
-
type: :development
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - '>='
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: 2.8.0
|
|
83
69
|
- !ruby/object:Gem::Dependency
|
|
84
70
|
name: guard
|
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
|
86
72
|
requirements:
|
|
87
|
-
- -
|
|
73
|
+
- - ">="
|
|
88
74
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
75
|
+
version: '0'
|
|
90
76
|
type: :development
|
|
91
77
|
prerelease: false
|
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
79
|
requirements:
|
|
94
|
-
- -
|
|
80
|
+
- - ">="
|
|
95
81
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
82
|
+
version: '0'
|
|
97
83
|
- !ruby/object:Gem::Dependency
|
|
98
84
|
name: nokogiri
|
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
|
100
86
|
requirements:
|
|
101
|
-
- -
|
|
87
|
+
- - ">="
|
|
102
88
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
89
|
+
version: '0'
|
|
104
90
|
type: :development
|
|
105
91
|
prerelease: false
|
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
93
|
requirements:
|
|
108
|
-
- -
|
|
94
|
+
- - ">="
|
|
109
95
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
96
|
+
version: '0'
|
|
111
97
|
- !ruby/object:Gem::Dependency
|
|
112
98
|
name: capybara
|
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
|
114
100
|
requirements:
|
|
115
|
-
- -
|
|
101
|
+
- - ">="
|
|
116
102
|
- !ruby/object:Gem::Version
|
|
117
103
|
version: '0'
|
|
118
104
|
type: :development
|
|
119
105
|
prerelease: false
|
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
107
|
requirements:
|
|
122
|
-
- -
|
|
108
|
+
- - ">="
|
|
123
109
|
- !ruby/object:Gem::Version
|
|
124
110
|
version: '0'
|
|
125
111
|
- !ruby/object:Gem::Dependency
|
|
126
112
|
name: rspec-rails
|
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
|
128
114
|
requirements:
|
|
129
|
-
- -
|
|
115
|
+
- - ">="
|
|
130
116
|
- !ruby/object:Gem::Version
|
|
131
|
-
version:
|
|
117
|
+
version: '0'
|
|
132
118
|
type: :development
|
|
133
119
|
prerelease: false
|
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
121
|
requirements:
|
|
136
|
-
- -
|
|
122
|
+
- - ">="
|
|
137
123
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
124
|
+
version: '0'
|
|
139
125
|
- !ruby/object:Gem::Dependency
|
|
140
126
|
name: guard-rspec
|
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
|
142
128
|
requirements:
|
|
143
|
-
- -
|
|
129
|
+
- - ">="
|
|
144
130
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0
|
|
131
|
+
version: '0'
|
|
146
132
|
type: :development
|
|
147
133
|
prerelease: false
|
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
135
|
requirements:
|
|
150
|
-
- -
|
|
136
|
+
- - ">="
|
|
151
137
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0
|
|
138
|
+
version: '0'
|
|
153
139
|
description: This gem provides a workflow construction kit for rails apps. Users can
|
|
154
140
|
arrange workflow bricks in a sequence for each workflow and add parameters. When
|
|
155
141
|
a workflow is executed, each workflow brick executes a callback method written in
|
|
@@ -160,9 +146,9 @@ executables: []
|
|
|
160
146
|
extensions: []
|
|
161
147
|
extra_rdoc_files: []
|
|
162
148
|
files:
|
|
163
|
-
- .gitignore
|
|
164
|
-
- .rspec
|
|
165
|
-
- .travis.yml
|
|
149
|
+
- ".gitignore"
|
|
150
|
+
- ".rspec"
|
|
151
|
+
- ".travis.yml"
|
|
166
152
|
- Gemfile
|
|
167
153
|
- Gemfile.lock
|
|
168
154
|
- Guardfile
|
|
@@ -244,6 +230,7 @@ files:
|
|
|
244
230
|
- test_app/config/initializers/mime_types.rb
|
|
245
231
|
- test_app/config/initializers/secret_token.rb
|
|
246
232
|
- test_app/config/initializers/session_store.rb
|
|
233
|
+
- test_app/config/initializers/strong_parameters.rb
|
|
247
234
|
- test_app/config/initializers/wrap_parameters.rb
|
|
248
235
|
- test_app/config/locales/en.yml
|
|
249
236
|
- test_app/config/routes.rb
|
|
@@ -282,17 +269,17 @@ require_paths:
|
|
|
282
269
|
- lib
|
|
283
270
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
284
271
|
requirements:
|
|
285
|
-
- -
|
|
272
|
+
- - ">="
|
|
286
273
|
- !ruby/object:Gem::Version
|
|
287
274
|
version: '0'
|
|
288
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
276
|
requirements:
|
|
290
|
-
- -
|
|
277
|
+
- - ">="
|
|
291
278
|
- !ruby/object:Gem::Version
|
|
292
279
|
version: '0'
|
|
293
280
|
requirements: []
|
|
294
281
|
rubyforge_project:
|
|
295
|
-
rubygems_version: 2.
|
|
282
|
+
rubygems_version: 2.2.2
|
|
296
283
|
signing_key:
|
|
297
284
|
specification_version: 4
|
|
298
285
|
summary: This gem provides a workflow construction kit for rails apps. Users can arrange
|