ruff 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/ruff/standard.rb CHANGED
@@ -1,6 +1,7 @@
1
- module Ruff::Standard end
1
+ # frozen_string_literal: true
2
2
 
3
- require "ruff/standard/current_time"
4
- require "ruff/standard/defer"
5
- require "ruff/standard/state"
3
+ module Ruff::Standard end
6
4
 
5
+ require 'ruff/standard/current_time'
6
+ require 'ruff/standard/defer'
7
+ require 'ruff/standard/state'
@@ -0,0 +1,7 @@
1
+ cat <<EOL
2
+ # frozen_string_literal: true
3
+
4
+ module Ruff
5
+ VERSION = '$(cat version)'
6
+ end
7
+ EOL
data/lib/ruff/version.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ruff
2
- VERSION = "1.0.0"
4
+ VERSION = '1.0.1'
3
5
  end
data/lib/ruff.rb CHANGED
@@ -1,7 +1,9 @@
1
- require "ruff/version"
2
- require "ruff/objects"
3
- require "ruff/effect"
4
- require "ruff/handler"
1
+ # frozen_string_literal: true
2
+
3
+ require 'ruff/version'
4
+ require 'ruff/objects'
5
+ require 'ruff/effect'
6
+ require 'ruff/handler'
5
7
  require 'securerandom'
6
8
 
7
9
  module Ruff
data/ruff.gemspec CHANGED
@@ -1,29 +1,29 @@
1
+ # frozen_string_literal: true
1
2
 
2
- lib = File.expand_path("../lib", __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "ruff/version"
5
+ require 'ruff/version'
5
6
 
6
- Gem::Specification.new{|spec|
7
- spec.name = "ruff"
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'ruff'
8
9
  spec.version = Ruff::VERSION
9
- spec.authors = ["nymphium"]
10
- spec.email = ["s1311350@gmail.com"]
10
+ spec.authors = ['nymphium']
11
+ spec.email = ['s1311350@gmail.com']
11
12
 
12
- spec.summary = %q{ONE-SHOT Algebraic Effects for Ruby!}
13
- spec.description = %q{ONE-SHOT Algebraic Effects for Ruby!}
14
- spec.homepage = "https://github.com/nymphium/ruff"
15
- spec.license = "MIT"
16
-
13
+ spec.summary = 'ONE-SHOT Algebraic Effects for Ruby!'
14
+ spec.description = 'ONE-SHOT Algebraic Effects for Ruby!'
15
+ spec.homepage = 'https://github.com/nymphium/ruff'
16
+ spec.license = 'MIT'
17
17
 
18
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
18
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
19
19
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
20
  end
21
- spec.require_paths = ["lib"]
21
+ spec.require_paths = ['lib']
22
22
 
23
- spec.add_development_dependency "bundler", "~> 2.0"
24
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency 'bundler', '~> 2.0'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
25
25
 
26
26
  spec.metadata = {
27
- "documentation_uri" => "https://nymphium.github.io/ruff"
27
+ 'documentation_uri' => 'https://nymphium.github.io/ruff'
28
28
  }
29
- }
29
+ end
data/version ADDED
@@ -0,0 +1 @@
1
+ 1.0.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nymphium
@@ -46,6 +46,9 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
+ - ".rubocop.yml"
50
+ - ".rubocop_todo.yml"
51
+ - ".solargraph.yml"
49
52
  - Gemfile
50
53
  - Gemfile.lock
51
54
  - LICENSE
@@ -86,10 +89,10 @@ files:
86
89
  - lib/ruff/standard/current_time.rb
87
90
  - lib/ruff/standard/defer.rb
88
91
  - lib/ruff/standard/state.rb
89
- - lib/ruff/version.cpp.rb
92
+ - lib/ruff/version.gen.sh
90
93
  - lib/ruff/version.rb
91
94
  - ruff.gemspec
92
- - version.h
95
+ - version
93
96
  homepage: https://github.com/nymphium/ruff
94
97
  licenses:
95
98
  - MIT
@@ -1,5 +0,0 @@
1
- # // This file is passed to CPP
2
- #include "../../version.h"
3
- module Ruff
4
- VERSION = RUFF_VERSION
5
- end
data/version.h DELETED
@@ -1 +0,0 @@
1
- #define RUFF_VERSION "1.0.0"