job_state 0.0.2 → 0.0.7

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
- SHA1:
3
- metadata.gz: d5d680dbca13d4e787040042d6da2170be296be6
4
- data.tar.gz: 5276cde6eb79b26428c81d3f9e803819bee535ac
2
+ SHA256:
3
+ metadata.gz: 96a7f652b4739566155c1bd42b73c541d0a9ac676f396151d449d1956318f80b
4
+ data.tar.gz: 6ccd62e058444911baf624cb6d156bf565bbee6aba7ab5a8e74ff5c9c4a1560e
5
5
  SHA512:
6
- metadata.gz: 99eca4d91aa27a469030921c7749c144b100ad1afbc951a1dd1a7c8edd2c41759ab0928bcbb02cc1936bfbd4d3b55e87f9ca037dd00facfa29111c49e2c678a3
7
- data.tar.gz: 943883594f2248dac87ef83df9980bfe2d009fbd984243eb2f71e3c4fc5acfb2cb3804f28b3a9a8afa60af2c2f3dd79b8fe3271328c548af444e26a79563d84e
6
+ metadata.gz: 3dd9ddd3f2a0911ddcd29f5822ab3f3a864dfa098d7c732bcbcad564c175a2c0d9b1ae5a43f66c7b3e5dbd83719bf144fdabfdf07593820d2829dc4760dfb536
7
+ data.tar.gz: 81c27ec9185219ca9bd7a856f53de918367990aa7243453d18a2169d030aa8e05068692b4679e25ac5cdbf242f6316dbee667ff1f226208e54ee84084c4043f8
@@ -1,4 +1,4 @@
1
- Copyright 2016 YOURNAME
1
+ Copyright 2017 District Management Group
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -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 {
@@ -1,3 +1,3 @@
1
1
  module JobState
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.7"
3
3
  end
File without changes
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.2
4
+ version: 0.0.7
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: 2016-01-04 00:00:00.000000000 Z
13
+ date: 2020-05-27 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rails
@@ -18,9 +19,6 @@ dependencies:
18
19
  - - ">="
19
20
  - !ruby/object:Gem::Version
20
21
  version: 3.2.19
21
- - - "<"
22
- - !ruby/object:Gem::Version
23
- version: '5.0'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,23 +26,20 @@ dependencies:
28
26
  - - ">="
29
27
  - !ruby/object:Gem::Version
30
28
  version: 3.2.19
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: '5.0'
34
29
  - !ruby/object:Gem::Dependency
35
30
  name: resque-status
36
31
  requirement: !ruby/object:Gem::Requirement
37
32
  requirements:
38
- - - "~>"
33
+ - - ">="
39
34
  - !ruby/object:Gem::Version
40
- version: 0.4.1
35
+ version: '0'
41
36
  type: :runtime
42
37
  prerelease: false
43
38
  version_requirements: !ruby/object:Gem::Requirement
44
39
  requirements:
45
- - - "~>"
40
+ - - ">="
46
41
  - !ruby/object:Gem::Version
47
- version: 0.4.1
42
+ version: '0'
48
43
  description:
49
44
  email:
50
45
  executables: []
@@ -89,6 +84,7 @@ files:
89
84
  - test/dummy/config/initializers/wrap_parameters.rb
90
85
  - test/dummy/config/locales/en.yml
91
86
  - test/dummy/config/routes.rb
87
+ - test/dummy/log/test.log
92
88
  - test/dummy/public/404.html
93
89
  - test/dummy/public/422.html
94
90
  - test/dummy/public/500.html
@@ -115,43 +111,43 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
111
  - !ruby/object:Gem::Version
116
112
  version: '0'
117
113
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.4.6
114
+ rubygems_version: 3.0.3
120
115
  signing_key:
121
116
  specification_version: 4
122
117
  summary: This engine provides a way to poll resque jobs for their status and display
123
118
  to the user.
124
119
  test_files:
120
+ - test/dummy/app/controllers/application_controller.rb
121
+ - test/dummy/app/views/layouts/application.html.erb
125
122
  - test/dummy/app/assets/javascripts/application.js
126
123
  - test/dummy/app/assets/stylesheets/application.css
127
- - test/dummy/app/controllers/application_controller.rb
128
124
  - test/dummy/app/helpers/application_helper.rb
129
- - test/dummy/app/views/layouts/application.html.erb
125
+ - test/dummy/bin/rake
130
126
  - test/dummy/bin/bundle
131
127
  - test/dummy/bin/rails
132
- - test/dummy/bin/rake
133
- - test/dummy/config/application.rb
134
- - test/dummy/config/boot.rb
135
- - test/dummy/config/database.yml
136
- - test/dummy/config/environment.rb
137
- - test/dummy/config/environments/development.rb
128
+ - test/dummy/config/routes.rb
129
+ - test/dummy/config/locales/en.yml
138
130
  - test/dummy/config/environments/production.rb
131
+ - test/dummy/config/environments/development.rb
139
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
140
137
  - test/dummy/config/initializers/backtrace_silencers.rb
141
- - test/dummy/config/initializers/filter_parameter_logging.rb
142
- - test/dummy/config/initializers/inflections.rb
143
138
  - test/dummy/config/initializers/mime_types.rb
144
- - test/dummy/config/initializers/secret_token.rb
139
+ - test/dummy/config/initializers/filter_parameter_logging.rb
145
140
  - test/dummy/config/initializers/session_store.rb
146
141
  - test/dummy/config/initializers/wrap_parameters.rb
147
- - test/dummy/config/locales/en.yml
148
- - test/dummy/config/routes.rb
142
+ - test/dummy/config/initializers/secret_token.rb
143
+ - test/dummy/config/initializers/inflections.rb
149
144
  - test/dummy/config.ru
150
- - test/dummy/public/404.html
145
+ - test/dummy/Rakefile
146
+ - test/dummy/public/favicon.ico
151
147
  - test/dummy/public/422.html
152
148
  - test/dummy/public/500.html
153
- - test/dummy/public/favicon.ico
154
- - test/dummy/Rakefile
149
+ - test/dummy/public/404.html
150
+ - test/dummy/log/test.log
155
151
  - test/dummy/README.rdoc
156
152
  - test/integration/navigation_test.rb
157
153
  - test/job_state_test.rb