redis-rails-instrumentation 0.1.0 → 1.0.0

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
  SHA1:
3
- metadata.gz: 7433588470767e405e31709a7097bcd0c7292fc0
4
- data.tar.gz: bbc5150918bec83f6811f5d4f4d5b1f0089f96df
3
+ metadata.gz: f77ad22f3ab95a646a40999de5e772ac9eca1107
4
+ data.tar.gz: 0ae988ec9866cb2443aee39a0c2d4d046fa0c499
5
5
  SHA512:
6
- metadata.gz: 6e1971b2b6612aa338375c4062e9e7007c690d0b65c0a5704572d712333d5b96c91da21d7f1074bcdb7aee717ca31aff1e2d0874456f3e7b5afc7e0e8ab79c86
7
- data.tar.gz: d30fbd89664d94ef8757e3f159c431cbd8c53a209a601b9c4ebde9963418e97c4eea8279f5765b28a3c88d7322f38614a64a2820abb5ccd943e4c1463e1be679
6
+ metadata.gz: bb535484b3e4870dc4ed2f784fc443264924df4a324dceedf2a888b4d8ff436357f2da65af48a605032fa8671877672f12c10d276669acc8df8b1b4c7ffafc94
7
+ data.tar.gz: 7511ba14bc0345597d7da545e84dbad4bc895ea16595c362b8788cccb5cd5d03218c48bf87518a7f19760a8ff42c6c9a320d09ce8710f040a05838bbffc5b055
data/.travis.yml CHANGED
@@ -2,8 +2,10 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1.5
7
- - 2.2.0
5
+ - 2.1.10
6
+ - 2.2.6
7
+ - 2.3.3
8
+ - 2.4.0
9
+ - jruby-9.1.7.0
8
10
  services:
9
11
  - redis-server
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in redis-rails-instrumentation.gemspec
4
3
  gemspec
4
+
5
+ gem 'activesupport', '~> 4.2' if RUBY_VERSION < '2.3'
@@ -16,7 +16,7 @@ class Redis
16
16
  cmds = event.payload[:commands]
17
17
 
18
18
  output = cmds.map do |name, *args|
19
- if args.present?
19
+ if !args.empty?
20
20
  "[ #{name.to_s.upcase} #{args.join(' ')} ]"
21
21
  else
22
22
  "[ #{name.to_s.upcase} ]"
@@ -1,7 +1,7 @@
1
1
  class Redis
2
2
  module Rails
3
3
  module Instrumentation
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(/^(test|spec|features)\//)
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'redis', '~> 3.0'
21
+ spec.add_dependency 'redis', '>= 3.0', '< 5'
22
22
  spec.add_dependency 'activesupport', '>= 3.0'
23
- spec.add_dependency 'sweet_notifications', '~> 0.2'
23
+ spec.add_dependency 'sweet_notifications', '~> 1.0'
24
24
  spec.add_development_dependency 'bundler', '~> 1.6'
25
25
  spec.add_development_dependency 'rake'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-rails-instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ville Lautanala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: activesupport
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.2'
53
+ version: '1.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.2'
60
+ version: '1.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: bundler
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
141
  version: '0'
136
142
  requirements: []
137
143
  rubyforge_project:
138
- rubygems_version: 2.4.5
144
+ rubygems_version: 2.6.8
139
145
  signing_key:
140
146
  specification_version: 4
141
147
  summary: Railtie to include Redis commands in Rails logging.