Skip to content

Commit 1f6ccbb

Browse files
committed
Make rubocop happier
1 parent a07af8b commit 1f6ccbb

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

cacheable.gemspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# -*- encoding: utf-8 -*-
21
# frozen_string_literal: true
32

4-
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
3+
$LOAD_PATH.push File.expand_path('lib', __dir__)
54
require 'cacheable/version'
65

76
Gem::Specification.new do |s|
87
s.name = 'cacheable'
98
s.version = Cacheable::VERSION
109
s.date = '2018-07-31'
1110
s.summary = 'Add caching to any Ruby method in a aspect orientated programming approach.'
12-
s.description = 'Add caching simply without modifying your existing code. Inlcudes configurable options for simple cache invalidation. See README on github for more information.'
11+
s.description = 'Add caching simply without modifying your existing code. '\
12+
'Includes configurable options for simple cache invalidation. '\
13+
'See README on github for more information.'
1314
s.authors = ['Jess Hottenstein', 'Ryan Laughlin', 'Aaron Rosenberg']
1415
s.email = 'support@splitwise.com'
1516
s.files = Dir['lib/**/*', 'README.md', 'cache-adapters.md']
1617
s.homepage = 'https://github.com/splitwise/cacheable'
1718
s.licenses = 'MIT'
18-
s.required_ruby_version = '>= 2.0.0'
19+
s.required_ruby_version = '>= 2.3.0'
1920
end

lib/cacheable/method_generator.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
require 'English'
34

45
module Cacheable

0 commit comments

Comments
 (0)