job_state 0.0.3 → 0.0.4
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/app/assets/javascripts/job_state/job-state.js +2 -2
- data/lib/job_state/version.rb +1 -1
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac16ec640b8911233339170876905bb37350276e
|
4
|
+
data.tar.gz: 4e44c7de545c36a60f1c3919b31aca11150dd191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 931d170c6fe560fa055c0b41fdf86eebb7c26d6cfe1a45d187e7b59391f6d54a90d9291f73773a4f21094a5349a48da5faa4eaf52d235a032b97073289cd878a
|
7
|
+
data.tar.gz: 9e9b62be01838b5e32803931f757e78825c920f7eba4a0bd676722d1a8c84c751ef6de7185c312ca9b28039af3e0be4f79daa94811b89a3dc235bc053bf5e3f5
|
@@ -20,12 +20,12 @@
|
|
20
20
|
success: function(data) {
|
21
21
|
if (data.job_state == 'success') {
|
22
22
|
if (self._successFn) {
|
23
|
-
self._successFn();
|
23
|
+
self._successFn(data);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
else if (data.job_state == 'error') {
|
27
27
|
if (self._errorFn) {
|
28
|
-
self._errorFn();
|
28
|
+
self._errorFn(data);
|
29
29
|
}
|
30
30
|
}
|
31
31
|
else {
|
data/lib/job_state/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: job_state
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wyatt Greene
|
8
8
|
- Ian McLean
|
9
|
+
- Parker Morse
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2019-06-26 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|
@@ -116,36 +117,36 @@ specification_version: 4
|
|
116
117
|
summary: This engine provides a way to poll resque jobs for their status and display
|
117
118
|
to the user.
|
118
119
|
test_files:
|
120
|
+
- test/dummy/app/controllers/application_controller.rb
|
121
|
+
- test/dummy/app/views/layouts/application.html.erb
|
119
122
|
- test/dummy/app/assets/javascripts/application.js
|
120
123
|
- test/dummy/app/assets/stylesheets/application.css
|
121
|
-
- test/dummy/app/controllers/application_controller.rb
|
122
124
|
- test/dummy/app/helpers/application_helper.rb
|
123
|
-
- test/dummy/
|
125
|
+
- test/dummy/bin/rake
|
124
126
|
- test/dummy/bin/bundle
|
125
127
|
- test/dummy/bin/rails
|
126
|
-
- test/dummy/
|
127
|
-
- test/dummy/config/
|
128
|
-
- test/dummy/config/boot.rb
|
129
|
-
- test/dummy/config/database.yml
|
130
|
-
- test/dummy/config/environment.rb
|
131
|
-
- test/dummy/config/environments/development.rb
|
128
|
+
- test/dummy/config/routes.rb
|
129
|
+
- test/dummy/config/locales/en.yml
|
132
130
|
- test/dummy/config/environments/production.rb
|
131
|
+
- test/dummy/config/environments/development.rb
|
133
132
|
- test/dummy/config/environments/test.rb
|
133
|
+
- test/dummy/config/environment.rb
|
134
|
+
- test/dummy/config/application.rb
|
135
|
+
- test/dummy/config/database.yml
|
136
|
+
- test/dummy/config/boot.rb
|
134
137
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
135
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
136
|
-
- test/dummy/config/initializers/inflections.rb
|
137
138
|
- test/dummy/config/initializers/mime_types.rb
|
138
|
-
- test/dummy/config/initializers/
|
139
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
139
140
|
- test/dummy/config/initializers/session_store.rb
|
140
141
|
- test/dummy/config/initializers/wrap_parameters.rb
|
141
|
-
- test/dummy/config/
|
142
|
-
- test/dummy/config/
|
142
|
+
- test/dummy/config/initializers/secret_token.rb
|
143
|
+
- test/dummy/config/initializers/inflections.rb
|
143
144
|
- test/dummy/config.ru
|
144
|
-
- test/dummy/
|
145
|
+
- test/dummy/Rakefile
|
146
|
+
- test/dummy/public/favicon.ico
|
145
147
|
- test/dummy/public/422.html
|
146
148
|
- test/dummy/public/500.html
|
147
|
-
- test/dummy/public/
|
148
|
-
- test/dummy/Rakefile
|
149
|
+
- test/dummy/public/404.html
|
149
150
|
- test/dummy/README.rdoc
|
150
151
|
- test/integration/navigation_test.rb
|
151
152
|
- test/job_state_test.rb
|