Skip to content

Commit

Permalink
chore: resolve rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
edporras committed Mar 12, 2023
1 parent 8579ce6 commit 75432a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ task :graph, %i[machine] do |_t, args|
machine = args[:machine]

# assumes graphviz is installed
sh "ragel -Vp -S #{machine} -o #{tmpfile} #{EXT_PATH}/#{RAGEL_PARSER_SRC} && "\
"dot -Tpng #{tmpfile} -o #{machine}.png"
sh "ragel -Vp -S #{machine} -o #{tmpfile} #{EXT_PATH}/#{RAGEL_PARSER_SRC} && " \
"dot -Tpng #{tmpfile} -o #{machine}.png"
end

task build: %i[clean ragel compile chmod]
Expand Down
12 changes: 6 additions & 6 deletions edn_turbo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ Gem::Specification.new do |s|

s.authors = ['Ed Porras']
s.email = '[email protected]'
s.date = EDNT::RELEASE_DATE
# s.date = EDNT::RELEASE_DATE
s.summary = 'Read EDN files'
s.description = 'Optimized plugin for parsing EDN files using ragel'
s.license = 'MIT'

s.files = `git ls-files`.split("\n")
.reject { |f| f =~ /\.gem/ }
.reject { |f| f =~ /\.txt/ }
.reject { |f| f =~ /\.edn/ }
.grep_v { |f| f =~ /\.gem/ }
.grep_v { |f| f =~ /\.txt/ }
.grep_v { |f| f =~ /\.edn/ }

s.extensions = ['ext/edn_turbo/extconf.rb']
s.executables = ['ppedn']
s.homepage = 'http://rubygems.org/gems/edn_turbo'
s.require_paths = ['lib']
s.rubygems_version = '1.6.2'
# s.rubygems_version = '1.6.2'

s.add_runtime_dependency('edn', '~> 1.1')
s.add_runtime_dependency('rake', '>= 12.3', '< 14.0')
Expand All @@ -39,5 +39,5 @@ Gem::Specification.new do |s|
s.add_development_dependency('rspec', '~> 3.11')
s.add_development_dependency('rubocop', '~> 1.28')

s.specification_version = 3 if s.respond_to? :specification_version
# s.specification_version = 3 if s.respond_to? :specification_version
end

0 comments on commit 75432a1

Please sign in to comment.