activejob 6.0.0.rc2 → 6.0.1.rc1

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
  SHA256:
3
- metadata.gz: c520aef66d19d431d033a2056b0bcf9def9b16955349c68d255f82e0155b4f16
4
- data.tar.gz: '0394dde245da36f499feb928edf403481a8f5d453fd16ebb06c702cd256f4f59'
3
+ metadata.gz: 84abc8e708f7bfb7ef9f115924370a1e482adeda57c4288790e33a5a4b8f1090
4
+ data.tar.gz: 0a5b9c4d638e9549768c4d41f4133715b5309f1983f05e40d129fcc271def350
5
5
  SHA512:
6
- metadata.gz: 0eb7b32544df04a4f58f2eb8983fd963b7636a7f948e8b1a6c6f62e789e8be7b4b34707232020e4e5a355517aa5d578d2677aae381795527f2a5090f27c9fea9
7
- data.tar.gz: 442d7b611fe4ee5ef6a1ce28c94e4086128a6baa40ab089bde16e6ac9eb6d48ec0c41bffc359afda7c1940ddbfd0349770db5c147cdac352a58cd6f7a27bceed
6
+ metadata.gz: f1862412be6005f2e7186e7ce97eca4a3f0dbc4495bff03b1323530cd2fd6ccfdfd668c1edc71483f98090bb2b0186f36709df8836d54905ba670f4530d54e9b
7
+ data.tar.gz: 0f10b70d485333860da44f27de51749c5b43c9d47d93ab9f4d9255d53a6cb2771d379bed12004c4b95e86b093af4db65e0239837af87ebdc459ff6731e84bcc4
@@ -1,3 +1,15 @@
1
+ ## Rails 6.0.1.rc1 (October 31, 2019) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 6.0.0 (August 16, 2019) ##
7
+
8
+ * `assert_enqueued_with` and `assert_performed_with` can now test jobs with relative delay.
9
+
10
+ *Vlado Cingel*
11
+
12
+
1
13
  ## Rails 6.0.0.rc2 (July 22, 2019) ##
2
14
 
3
15
  * No changes.
@@ -9,8 +9,8 @@ module ActiveJob
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
- TINY = 0
13
- PRE = "rc2"
12
+ TINY = 1
13
+ PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -630,7 +630,7 @@ module ActiveJob
630
630
 
631
631
  def prepare_args_for_assertion(args)
632
632
  args.dup.tap do |arguments|
633
- arguments[:at] = arguments[:at].to_f if arguments[:at]
633
+ arguments[:at] = round_time_arguments(arguments[:at]) if arguments[:at]
634
634
  arguments[:args] = round_time_arguments(arguments[:args]) if arguments[:args]
635
635
  end
636
636
  end
@@ -650,6 +650,7 @@ module ActiveJob
650
650
 
651
651
  def deserialize_args_for_assertion(job)
652
652
  job.dup.tap do |new_job|
653
+ new_job[:at] = round_time_arguments(Time.at(new_job[:at])) if new_job[:at]
653
654
  new_job[:args] = ActiveJob::Arguments.deserialize(new_job[:args]) if new_job[:args]
654
655
  end
655
656
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.rc2
4
+ version: 6.0.1.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.0.rc2
19
+ version: 6.0.1.rc1
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: 6.0.0.rc2
26
+ version: 6.0.1.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: globalid
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,8 +94,11 @@ homepage: https://rubyonrails.org
94
94
  licenses:
95
95
  - MIT
96
96
  metadata:
97
- source_code_uri: https://github.com/rails/rails/tree/v6.0.0.rc2/activejob
98
- changelog_uri: https://github.com/rails/rails/blob/v6.0.0.rc2/activejob/CHANGELOG.md
97
+ bug_tracker_uri: https://github.com/rails/rails/issues
98
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.1.rc1/activejob/CHANGELOG.md
99
+ documentation_uri: https://api.rubyonrails.org/v6.0.1.rc1/
100
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
101
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.1.rc1/activejob
99
102
  post_install_message:
100
103
  rdoc_options: []
101
104
  require_paths:
@@ -111,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
114
  - !ruby/object:Gem::Version
112
115
  version: 1.3.1
113
116
  requirements: []
114
- rubygems_version: 3.0.1
117
+ rubygems_version: 3.0.3
115
118
  signing_key:
116
119
  specification_version: 4
117
120
  summary: Job framework with pluggable queues.