fast_versioning 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +9 -0
- data/db/migrate/20190514134359_add_unique_index_to_version_id_name.rb +1 -3
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f23aad092de370494cc95f706f8c7bbc9a372cc6dda86e716031f9414e912741
|
4
|
+
data.tar.gz: bfedd3ec05a966525da519774953e39d792f903c4d4597d1c76d1504e75251b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a01d2884e738df3696888bc9d5ab34853593cca16007bc7040066e1f793063e53dae4ed017c7ba5342732b69aa89e94ef0d760688ea7b5da3bb7a5ca466d3a
|
7
|
+
data.tar.gz: 48aa886da32b1b28c50907ce4798b778331ec83c3c4ae2bc6f4d548ec1a3c354f888af6d9d74ea164d1e8d3450a0fa3b2b05ee5ef2aaaede1f39c1eefe76d742
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/ArcadiaPower/fast-versioning.svg?branch=master)](https://travis-ci.org/ArcadiaPower/fast-versioning)
|
2
|
+
|
1
3
|
Fast Versioning
|
2
4
|
===========
|
3
5
|
A [PaperTrail](https://github.com/airblade/paper_trail) extension for seamless fast key/value versioning of individual object attributes, which can be queried.
|
@@ -93,4 +95,11 @@ Example usage:
|
|
93
95
|
)
|
94
96
|
```
|
95
97
|
|
98
|
+
Testing
|
99
|
+
-------------
|
100
|
+
```
|
101
|
+
bundle exec appraisal install
|
102
|
+
bundle exec appraisal rspec
|
103
|
+
```
|
104
|
+
|
96
105
|
An [Arcadia Power](http://www.arcadiapower.com) Project
|
@@ -1,7 +1,5 @@
|
|
1
1
|
class AddUniqueIndexToVersionIdName < ActiveRecord::Migration[5.0]
|
2
|
-
disable_ddl_transaction!
|
3
|
-
|
4
2
|
def change
|
5
|
-
add_index :fast_versioning_fast_versions, %i[version_id name], unique: true
|
3
|
+
add_index :fast_versioning_fast_versions, %i[version_id name], unique: true
|
6
4
|
end
|
7
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_versioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arcadia Power
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -19,9 +19,6 @@ dependencies:
|
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '5.0'
|
22
|
-
- - "<"
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '5.2'
|
25
22
|
type: :runtime
|
26
23
|
prerelease: false
|
27
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,9 +26,6 @@ dependencies:
|
|
29
26
|
- - ">="
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: '5.0'
|
32
|
-
- - "<"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '5.2'
|
35
29
|
- !ruby/object:Gem::Dependency
|
36
30
|
name: paper_trail
|
37
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,9 +33,6 @@ dependencies:
|
|
39
33
|
- - ">="
|
40
34
|
- !ruby/object:Gem::Version
|
41
35
|
version: '4.2'
|
42
|
-
- - "<"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '6'
|
45
36
|
type: :runtime
|
46
37
|
prerelease: false
|
47
38
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,9 +40,6 @@ dependencies:
|
|
49
40
|
- - ">="
|
50
41
|
- !ruby/object:Gem::Version
|
51
42
|
version: '4.2'
|
52
|
-
- - "<"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '6'
|
55
43
|
- !ruby/object:Gem::Dependency
|
56
44
|
name: sqlite3
|
57
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +68,20 @@ dependencies:
|
|
80
68
|
- - ">="
|
81
69
|
- !ruby/object:Gem::Version
|
82
70
|
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: appraisal
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
83
85
|
description: Fast versioning extension for paper_trail
|
84
86
|
email:
|
85
87
|
- engineering@arcadiapower.com
|
@@ -118,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
120
|
- !ruby/object:Gem::Version
|
119
121
|
version: '0'
|
120
122
|
requirements: []
|
121
|
-
|
122
|
-
rubygems_version: 2.6.14
|
123
|
+
rubygems_version: 3.0.3
|
123
124
|
signing_key:
|
124
125
|
specification_version: 4
|
125
126
|
summary: Fast versioning extension for paper_trail
|