rr 3.0.0 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +55 -0
- data/README.md +1 -0
- data/Rakefile +14 -0
- data/lib/rr/double_definitions/double_definition_create_blank_slate.rb +1 -0
- data/lib/rr/injections/double_injection.rb +2 -0
- data/lib/rr/injections/method_missing_injection.rb +1 -0
- data/lib/rr/space.rb +1 -0
- data/lib/rr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d187dcfce0831255213627383d159a05f73412307407dc0b5a1771956780735
|
4
|
+
data.tar.gz: d85e6dbbdddc435ff00927e5892f2346ac1057cb48d2f21a2788d65be976b8e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc6bdb14cd6690ed0fd83da54c8165218647896e2bd505c882d2fbdfef424f069f7a67a95b481f5f382ccfde3625b87fbeb023abb70f17e8dd1788e88fb616c2
|
7
|
+
data.tar.gz: 13ce13bef3e88bb683083d2680176665368f8862742f956beabf23828a92a378ecadbd6c877f7d35f9e0cff6e84e98ba71450090cc0650e827f2107f3bf1f9ea
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,60 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.0.5 - 2021-06-26
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Improved keyword arguments support on Ruby 2.7.
|
8
|
+
[GitHub#85][Patch by akira yamada]
|
9
|
+
|
10
|
+
### Thanks
|
11
|
+
|
12
|
+
* akira yamada
|
13
|
+
|
14
|
+
## 3.0.4 - 2021-06-23
|
15
|
+
|
16
|
+
### Fixes
|
17
|
+
|
18
|
+
* Fix inverted condition in keyword arguments related code.
|
19
|
+
[GitHub#84][Patch by akira yamada]
|
20
|
+
|
21
|
+
### Thanks
|
22
|
+
|
23
|
+
* akira yamada
|
24
|
+
|
25
|
+
## 3.0.3 - 2021-06-22
|
26
|
+
|
27
|
+
### Improvements
|
28
|
+
|
29
|
+
* Improved keyword arguments support.
|
30
|
+
[GitHub#83][Patch by akira yamada]
|
31
|
+
|
32
|
+
### Thanks
|
33
|
+
|
34
|
+
* akira yamada
|
35
|
+
|
36
|
+
## 3.0.2 - 2021-06-18
|
37
|
+
|
38
|
+
### Improvements
|
39
|
+
|
40
|
+
* `stub`: Added support for Ruby 3.0's keyword arguments.
|
41
|
+
[GitHub#82][Reported by akira yamada]
|
42
|
+
|
43
|
+
### Thanks
|
44
|
+
|
45
|
+
* akira yamada
|
46
|
+
|
47
|
+
## 3.0.1 - 2021-06-18
|
48
|
+
|
49
|
+
### Improvements
|
50
|
+
|
51
|
+
* Suppressed keyword arguments related warnings on Ruby 2.7.
|
52
|
+
[GitHub#81][Reported by akira yamada]
|
53
|
+
|
54
|
+
### Thanks
|
55
|
+
|
56
|
+
* akira yamada
|
57
|
+
|
3
58
|
## 3.0.0 - 2021-03-31
|
4
59
|
|
5
60
|
### Improvements
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -7,6 +7,8 @@ require 'pp'
|
|
7
7
|
# build, install, release
|
8
8
|
require 'bundler/gem_tasks'
|
9
9
|
|
10
|
+
require_relative "lib/rr/version"
|
11
|
+
|
10
12
|
default_tasks = []
|
11
13
|
|
12
14
|
begin
|
@@ -40,4 +42,16 @@ task :test do
|
|
40
42
|
end
|
41
43
|
default_tasks << :test
|
42
44
|
|
45
|
+
namespace :"gh-pages" do
|
46
|
+
namespace :version do
|
47
|
+
desc "Update version"
|
48
|
+
task :update do
|
49
|
+
config_yml_path = "gh-pages/_config.yml"
|
50
|
+
config_yml = File.read(config_yml_path)
|
51
|
+
config_yml = config_yml.gsub(/^version: .*$/, "version: #{RR::VERSION}")
|
52
|
+
File.write(config_yml_path, config_yml)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
task :default => default_tasks
|
@@ -144,6 +144,7 @@ module RR
|
|
144
144
|
end
|
145
145
|
method_missing(:#{method_name}, *args, &block)
|
146
146
|
end
|
147
|
+
ruby2_keywords(:#{method_name}) if respond_to?(:ruby2_keywords, true)
|
147
148
|
RUBY
|
148
149
|
self
|
149
150
|
end
|
@@ -181,6 +182,7 @@ module RR
|
|
181
182
|
arguments.block
|
182
183
|
)
|
183
184
|
end
|
185
|
+
ruby2_keywords(:#{method_name}) if respond_to?(:ruby2_keywords, true)
|
184
186
|
RUBY
|
185
187
|
end
|
186
188
|
self
|
data/lib/rr/space.rb
CHANGED
data/lib/rr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-06-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|