transaction 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5fea2a855e3a457c15705e734b9e1cef5a4fefcfce56e6f73068803e57768ff
4
- data.tar.gz: ca64fa3eafcac6fbf9724681f2c0d53a82cd65e846e60f1a89523542fe851014
3
+ metadata.gz: 3c8e4895b33f06acdd20d5e554880338920870cbb301aa92ea699ac567e67e92
4
+ data.tar.gz: 1700236fbc3b59f83fcb1ca6316241452e761e8362affa4e831db924ce752cce
5
5
  SHA512:
6
- metadata.gz: 3a0ba45c9d99c2be5c331d2b972547f16f54e230229e3c83d2abfb54f23cd8d87633d7f3e6f6b717ff506b03835462a5296d800f6fc582e15e670347db6fd6ca
7
- data.tar.gz: cb9c1c1849288d0861796cd421069a112d4615e59d2dc1a9f767664615921e8133c018ab7503f6fd8f2a840b83a9dca0107cb052b5bd6ce608d669b3a057215e
6
+ metadata.gz: 012baa32c98a5c4ebc90011160ad07df92d80dfbb5ab95173bd8842d373ad1664a46d686adbc23c1d38465af18a311c11f78f1f5b601179ddc9fe4a050aaa657
7
+ data.tar.gz: fa079efa3d5abf4dcd35de166dfa0e59c7ec0105b03d01c6568d89083300b01df998de7a18881d078ac827dafbc860c90ee7db256a39560d99a5f791de9c85a6
data/CHANGELOG.MD CHANGED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.1.1] - 2019-07-18
8
+
9
+ ### Added
10
+ - Changelog to track version changes.
11
+
12
+ ### Changed
13
+ - Default attributes
14
+
15
+
16
+ ## [0.1.0] - 2019-07-17
17
+
18
+ ### Added
19
+ - Base library
20
+ - Redis connection
data/Gemfile CHANGED
@@ -2,5 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in transaction.gemspec
4
4
  gemspec
5
-
6
- gem 'redis'
data/Gemfile.lock CHANGED
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transaction (0.1.0)
4
+ transaction (0.1.1)
5
+ redis (>= 4.0.2)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
@@ -29,7 +30,6 @@ PLATFORMS
29
30
  DEPENDENCIES
30
31
  bundler (~> 2.0)
31
32
  rake (~> 10.0)
32
- redis
33
33
  rspec (~> 3.0)
34
34
  transaction!
35
35
 
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/transaction.svg)](https://badge.fury.io/rb/transaction)
2
+
1
3
  # Transaction
2
4
 
3
5
  Transaction is a small library to help you out with tracking the progress of your long running tasks.
@@ -1,3 +1,3 @@
1
1
  module Transaction
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
data/lib/transaction.rb CHANGED
@@ -11,9 +11,7 @@ module Transaction
11
11
  STATUSES = [:queued, :processing, :success, :error].freeze
12
12
 
13
13
  DEFAULT_ATTRIBUTES = {
14
- status: :queued,
15
- pusher_trigger: false,
16
- event: 'status'
14
+ status: :queued
17
15
  }.freeze
18
16
 
19
17
  def self.configure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anurag Tiwari
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-17 00:00:00.000000000 Z
11
+ date: 2019-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis