paper_trail-sinatra 0.6.0 → 0.6.1

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: dea9aad4f983b37ceda397be542a9a317990c9e0740d8b595e7d6ecb2095acbd
4
- data.tar.gz: c4fa4da62f44a3ae2398402950c8f1bf2ca22877781af3781c19cc2de5888a1a
3
+ metadata.gz: 021a2412757e54989a43c3e99fe84733b76541672eb3088cec3ebdde634fccf5
4
+ data.tar.gz: f37236192a3b5cec5b6c79e4fb725af5fd9b12402d83ad93659e1273aa52154a
5
5
  SHA512:
6
- metadata.gz: da7c3f9012adb44ace655d606fa124f1b3fd951602e39b6dafc5838f505f5815f161a5f43344e8d75ade72248a6c7358cf9158a4630208a7303b2e710eaa8bb5
7
- data.tar.gz: 4160eea17ff01ce7cceef9813d2196db3c256b7f88bb073068e90b622accdad9b23ce184a21da2d7bca035e6b69b8d5129691b1ce3c634103e6842ff7de539b1
6
+ metadata.gz: 7f59c5d93e87a2e3aba9f2afd2824eb553da06043c29a0cdccfbd0c5f20eeac93f7f12446a044327b6e5811aec5a23289cfeedc4076c3047fd9b9dac6b44be26
7
+ data.tar.gz: 1385f5215ea7071ac7f79fd9b901c2892a92a6577c6f10941bebf6ec064d4bfd4abf1e0d0826c151510811c2c9fe88421be7424e007413615fe6a96f39d3f9f5
data/.gitignore CHANGED
@@ -6,7 +6,7 @@
6
6
  /coverage/
7
7
  /doc/
8
8
  /pkg/
9
- /spec/gemfiles/*.lock
9
+ /gemfiles/*.lock
10
10
  /spec/reports/
11
11
  /spec/examples.txt
12
12
  /tmp/
data/.rubocop.yml CHANGED
@@ -13,7 +13,7 @@ AllCops:
13
13
  - gemfiles/vendor/bundle/**/*
14
14
 
15
15
  # Set to lowest supported version
16
- TargetRubyVersion: 2.2
16
+ TargetRubyVersion: 2.3
17
17
 
18
18
  Layout/AlignParameters:
19
19
  EnforcedStyle: with_fixed_indentation
data/.rubocop_todo.yml CHANGED
@@ -41,6 +41,9 @@ Style/ExpandPathArguments:
41
41
  Exclude:
42
42
  - 'paper_trail-sinatra.gemspec'
43
43
 
44
+ Style/FrozenStringLiteralComment:
45
+ Enabled: false
46
+
44
47
  # Offense count: 2
45
48
  # Cop supports --auto-correct.
46
49
  Style/IfUnlessModifier:
data/.travis.yml CHANGED
@@ -7,44 +7,17 @@ before_script:
7
7
  - sqlite3 db/test.sqlite3 < spec/create_db.sql
8
8
  cache: bundler
9
9
  gemfile:
10
- - gemfiles/pt7_sinatra1.rb
11
- - gemfiles/pt7_sinatra2.rb
12
- - gemfiles/pt8_sinatra1.rb
13
- - gemfiles/pt8_sinatra2.rb
14
10
  - gemfiles/pt9_sinatra1.rb
15
11
  - gemfiles/pt9_sinatra2.rb
16
12
  - gemfiles/pt10_sinatra1.rb
17
13
  - gemfiles/pt10_sinatra2.rb
18
14
  language: ruby
19
- matrix:
20
- exclude:
21
- # PT 9+ requires ruby >= 2.3
22
- - rvm: 2.2.9
23
- gemfile: gemfiles/pt9_sinatra1.rb
24
- - rvm: 2.2.9
25
- gemfile: gemfiles/pt9_sinatra2.rb
26
- - rvm: 2.2.9
27
- gemfile: gemfiles/pt10_sinatra1.rb
28
- - rvm: 2.2.9
29
- gemfile: gemfiles/pt10_sinatra2.rb
30
-
31
- # We only test ruby 2.3 against PT 9+. Lower versions of PT are tested
32
- # against ruby 2.2.
33
- - rvm: 2.3.7
34
- gemfile: gemfiles/pt7_sinatra1.rb
35
- - rvm: 2.3.7
36
- gemfile: gemfiles/pt7_sinatra2.rb
37
- - rvm: 2.3.7
38
- gemfile: gemfiles/pt8_sinatra1.rb
39
- - rvm: 2.3.7
40
- gemfile: gemfiles/pt8_sinatra2.rb
41
15
 
42
16
  # For ruby compatibility, we usually only test the highest and lowest supported
43
- # versions. However see above re: PT 9.
17
+ # versions.
44
18
  rvm:
45
- - 2.5.0
46
- - 2.3.7
47
- - 2.2.9
19
+ - 2.6.2
20
+ - 2.3.8
48
21
 
49
22
  script:
50
23
  - bundle exec rubocop
data/CHANGELOG.md CHANGED
@@ -19,6 +19,25 @@ Fixed
19
19
 
20
20
  - None
21
21
 
22
+ ## 0.6.1 (2019-03-18)
23
+
24
+ Breaking Changes
25
+
26
+ - None
27
+
28
+ Added
29
+
30
+ - None
31
+
32
+ Fixed
33
+
34
+ - None
35
+
36
+ Dependencies
37
+
38
+ - Drop support for EoL rubies, < 2.3
39
+ - Drop support for PT < 9
40
+
22
41
  ## 0.6.0 (2018-12-17)
23
42
 
24
43
  Breaking Changes
@@ -1,6 +1,6 @@
1
1
  module PaperTrail
2
2
  module Sinatra
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
 
5
5
  # Added in 0.5.0
6
6
  # @api public
@@ -17,23 +17,21 @@ Gem::Specification.new do |spec|
17
17
  end
18
18
  spec.executables = []
19
19
  spec.require_paths = ["lib"]
20
-
21
- # PT 7 requires ruby >= 2.1.0. We don't technically need the same constraint
22
- # in this project, but it's helpful for local development.
23
- spec.required_ruby_version = ">= 2.2.0"
20
+ spec.required_ruby_version = ">= 2.3.0"
24
21
 
25
22
  spec.add_dependency "activesupport", [">= 4.2", "< 6"]
26
23
 
27
- # Why constrain bundler? Is there a better way?
28
- spec.add_dependency "bundler", "~> 1.13"
29
-
30
24
  # This gem should not be used with PT < 7 because both define
31
25
  # `::PaperTrail::Sinatra`.
32
- spec.add_dependency "paper_trail", [">= 7", "< 11"]
26
+ spec.add_dependency "paper_trail", [">= 9", "< 11"]
33
27
 
34
28
  spec.add_dependency "sinatra", [">= 1.0.0", "< 3"]
29
+ spec.add_development_dependency "bundler", [">= 1.13", "< 3"]
35
30
  spec.add_development_dependency "rack-test", "~> 0.6"
36
31
  spec.add_development_dependency "rspec", "~> 3.7"
37
32
  spec.add_development_dependency "rubocop", "~> 0.55.0"
38
- spec.add_development_dependency "sqlite3", "~> 1.3"
33
+
34
+ # Constraining sqlite3 to 1.3 seems to fix "Gem::LoadError: can't activate
35
+ # sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0"
36
+ spec.add_development_dependency "sqlite3", "~> 1.3.6"
39
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail-sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Beck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-17 00:00:00.000000000 Z
11
+ date: 2019-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -31,56 +31,62 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
- name: bundler
34
+ name: paper_trail
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.13'
39
+ version: '9'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '11'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
- version: '1.13'
49
+ version: '9'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '11'
47
53
  - !ruby/object:Gem::Dependency
48
- name: paper_trail
54
+ name: sinatra
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - ">="
52
58
  - !ruby/object:Gem::Version
53
- version: '7'
59
+ version: 1.0.0
54
60
  - - "<"
55
61
  - !ruby/object:Gem::Version
56
- version: '11'
62
+ version: '3'
57
63
  type: :runtime
58
64
  prerelease: false
59
65
  version_requirements: !ruby/object:Gem::Requirement
60
66
  requirements:
61
67
  - - ">="
62
68
  - !ruby/object:Gem::Version
63
- version: '7'
69
+ version: 1.0.0
64
70
  - - "<"
65
71
  - !ruby/object:Gem::Version
66
- version: '11'
72
+ version: '3'
67
73
  - !ruby/object:Gem::Dependency
68
- name: sinatra
74
+ name: bundler
69
75
  requirement: !ruby/object:Gem::Requirement
70
76
  requirements:
71
77
  - - ">="
72
78
  - !ruby/object:Gem::Version
73
- version: 1.0.0
79
+ version: '1.13'
74
80
  - - "<"
75
81
  - !ruby/object:Gem::Version
76
82
  version: '3'
77
- type: :runtime
83
+ type: :development
78
84
  prerelease: false
79
85
  version_requirements: !ruby/object:Gem::Requirement
80
86
  requirements:
81
87
  - - ">="
82
88
  - !ruby/object:Gem::Version
83
- version: 1.0.0
89
+ version: '1.13'
84
90
  - - "<"
85
91
  - !ruby/object:Gem::Version
86
92
  version: '3'
@@ -132,14 +138,14 @@ dependencies:
132
138
  requirements:
133
139
  - - "~>"
134
140
  - !ruby/object:Gem::Version
135
- version: '1.3'
141
+ version: 1.3.6
136
142
  type: :development
137
143
  prerelease: false
138
144
  version_requirements: !ruby/object:Gem::Requirement
139
145
  requirements:
140
146
  - - "~>"
141
147
  - !ruby/object:Gem::Version
142
- version: '1.3'
148
+ version: 1.3.6
143
149
  description:
144
150
  email:
145
151
  - jared@jaredbeck.com
@@ -160,10 +166,6 @@ files:
160
166
  - bin/setup
161
167
  - gemfiles/pt10_sinatra1.rb
162
168
  - gemfiles/pt10_sinatra2.rb
163
- - gemfiles/pt7_sinatra1.rb
164
- - gemfiles/pt7_sinatra2.rb
165
- - gemfiles/pt8_sinatra1.rb
166
- - gemfiles/pt8_sinatra2.rb
167
169
  - gemfiles/pt9_sinatra1.rb
168
170
  - gemfiles/pt9_sinatra2.rb
169
171
  - lib/paper_trail/sinatra.rb
@@ -181,15 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
183
  requirements:
182
184
  - - ">="
183
185
  - !ruby/object:Gem::Version
184
- version: 2.2.0
186
+ version: 2.3.0
185
187
  required_rubygems_version: !ruby/object:Gem::Requirement
186
188
  requirements:
187
189
  - - ">="
188
190
  - !ruby/object:Gem::Version
189
191
  version: '0'
190
192
  requirements: []
191
- rubyforge_project:
192
- rubygems_version: 2.7.6
193
+ rubygems_version: 3.0.3
193
194
  signing_key:
194
195
  specification_version: 4
195
196
  summary: Sinatra support for paper_trail
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec(path: "..")
3
- gem "activesupport", "4.2.10"
4
- gem "paper_trail", "7.1.3"
5
- gem "sinatra", "1.4.8"
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec(path: "..")
3
- gem "activesupport", "4.2.10"
4
- gem "paper_trail", "7.1.3"
5
- gem "sinatra", "2.0.1"
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec(path: "..")
3
- gem "activesupport", "4.2.10"
4
- gem "paper_trail", "8.1.2"
5
- gem "sinatra", "1.4.8"
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec(path: "..")
3
- gem "activesupport", "4.2.10"
4
- gem "paper_trail", "8.1.2"
5
- gem "sinatra", "2.0.1"