at_coder_friends-generator-python_ref 0.3.0 → 0.3.1

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: c0e044a9f82e0dd59d2699347ea29802b8fd1fd3
4
- data.tar.gz: 58356395836c617650c1e88f113df6078d979a0c
3
+ metadata.gz: 20d49d792a5c8a47146f38f023779e10d4fb6ce6
4
+ data.tar.gz: 4b81ddb8beef4ce5c066f8a5b7102dd6a9762eab
5
5
  SHA512:
6
- metadata.gz: 79d68450a2b644c075472193f5901805bb5e0684234afc7ea82fbc5ade0f922107eec2d5e975ea25dfed402ead92e250b049157b7dbc2ecfb796d21652f85822
7
- data.tar.gz: 6c4ed7f968d980178d7ba93ef32d9400bf39ce67879fb6b56ef475cf513ebcca812810a3049e79260c1813d4915037d637c1876fea2cd69edb8dccff37f82bdb
6
+ metadata.gz: 7889a1f7fe9df21cf69b5f3840cafcf9106f3351ef3be59476d0091d4f9db2b88e5e52adcb4c8b49b42c6eba5ada4b206d7ddc4fa49f7a624af63fba7d5c9fa5
7
+ data.tar.gz: 0dc73dd6c6bd4b018f76b2ab78d74755c9025268c2f118ff9aa78f12487f8eb14a5ede44777ab8b0de526f50a91e93e8614852c3e853106101067f0b2cd6790d
@@ -1,7 +1,8 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.3
4
+ TargetRubyVersion: 2.4
5
+ NewCops: enable
5
6
 
6
7
  Metrics/BlockLength:
7
8
  Exclude:
@@ -3,19 +3,3 @@ Metrics/MethodLength:
3
3
 
4
4
  Metrics/ClassLength:
5
5
  Max: 125
6
-
7
- # enable new cops to avoid warnings
8
- Lint/RaiseException:
9
- Enabled: true
10
-
11
- Lint/StructNewOverride:
12
- Enabled: true
13
-
14
- Style/HashEachMethods:
15
- Enabled: true
16
-
17
- Style/HashTransformKeys:
18
- Enabled: true
19
-
20
- Style/HashTransformValues:
21
- Enabled: true
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.1 (2020/12/20)
6
+ ### Added
7
+ - python 3.8.2 support - use underscore separator in number literal
8
+
9
+ ### Deleted
10
+ - drop Ruby2.3 from target version.
11
+
5
12
  ## 0.3.0 (2020-05-29)
6
13
  ### Changed
7
14
  - use -%> in ERB. (available in next release of AtCoderFriends.)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- at_coder_friends-generator-python_ref (0.3.0)
4
+ at_coder_friends-generator-python_ref (0.3.1)
5
5
  at_coder_friends (~> 0.6.6)
6
6
 
7
7
  GEM
@@ -9,21 +9,20 @@ GEM
9
9
  specs:
10
10
  addressable (2.7.0)
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
- at_coder_friends (0.6.6)
12
+ at_coder_friends (0.6.7)
13
13
  colorize (~> 0.8.1)
14
- launchy (>= 2.4.3, < 2.6.0)
14
+ launchy (>= 2.4.3)
15
15
  mechanize (~> 2.0)
16
16
  colorize (0.8.1)
17
- connection_pool (2.2.2)
18
- diff-lcs (1.3)
19
- docile (1.3.2)
17
+ connection_pool (2.2.3)
18
+ diff-lcs (1.4.4)
19
+ docile (1.3.3)
20
20
  domain_name (0.5.20190701)
21
21
  unf (>= 0.0.5, < 1.0.0)
22
22
  http-cookie (1.0.3)
23
23
  domain_name (~> 0.5)
24
- json (2.3.0)
25
- launchy (2.4.3)
26
- addressable (~> 2.3)
24
+ launchy (2.5.0)
25
+ addressable (~> 2.7)
27
26
  mechanize (2.7.6)
28
27
  domain_name (~> 0.5, >= 0.5.1)
29
28
  http-cookie (~> 1.0)
@@ -35,34 +34,33 @@ GEM
35
34
  webrobots (>= 0.0.9, < 0.2)
36
35
  mime-types (3.3.1)
37
36
  mime-types-data (~> 3.2015)
38
- mime-types-data (3.2020.0512)
37
+ mime-types-data (3.2020.1104)
39
38
  mini_portile2 (2.4.0)
40
39
  net-http-digest_auth (1.4.1)
41
40
  net-http-persistent (4.0.0)
42
41
  connection_pool (~> 2.2)
43
- nokogiri (1.10.9)
42
+ nokogiri (1.10.10)
44
43
  mini_portile2 (~> 2.4.0)
45
44
  ntlm-http (0.1.1)
46
- public_suffix (4.0.5)
47
- rake (13.0.1)
48
- rspec (3.9.0)
49
- rspec-core (~> 3.9.0)
50
- rspec-expectations (~> 3.9.0)
51
- rspec-mocks (~> 3.9.0)
52
- rspec-core (3.9.2)
53
- rspec-support (~> 3.9.3)
54
- rspec-expectations (3.9.2)
45
+ public_suffix (4.0.6)
46
+ rake (13.0.2)
47
+ rspec (3.10.0)
48
+ rspec-core (~> 3.10.0)
49
+ rspec-expectations (~> 3.10.0)
50
+ rspec-mocks (~> 3.10.0)
51
+ rspec-core (3.10.0)
52
+ rspec-support (~> 3.10.0)
53
+ rspec-expectations (3.10.0)
55
54
  diff-lcs (>= 1.2.0, < 2.0)
56
- rspec-support (~> 3.9.0)
57
- rspec-mocks (3.9.1)
55
+ rspec-support (~> 3.10.0)
56
+ rspec-mocks (3.10.0)
58
57
  diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.9.0)
60
- rspec-support (3.9.3)
61
- simplecov (0.17.1)
58
+ rspec-support (~> 3.10.0)
59
+ rspec-support (3.10.0)
60
+ simplecov (0.18.5)
62
61
  docile (~> 1.1)
63
- json (>= 1.8, < 3)
64
- simplecov-html (~> 0.10.0)
65
- simplecov-html (0.10.2)
62
+ simplecov-html (~> 0.11)
63
+ simplecov-html (0.12.3)
66
64
  unf (0.1.4)
67
65
  unf_ext
68
66
  unf_ext (0.0.7.7)
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ['lib']
30
30
 
31
- spec.required_ruby_version = '>= 2.3.0'
31
+ spec.required_ruby_version = '>= 2.4.0'
32
32
 
33
33
  spec.metadata = {
34
34
  'homepage_uri' => spec.homepage,
@@ -31,8 +31,7 @@ module AtCoderFriends
31
31
  end
32
32
 
33
33
  def gen_mod(c)
34
- # underscores in numeric literals is available from Python3.6
35
- v = c.value.gsub('^', '**').gsub(',', '')
34
+ v = c.value.gsub('^', '**').gsub(',', '_')
36
35
  "MOD = #{v}"
37
36
  end
38
37
 
@@ -3,7 +3,7 @@
3
3
  module AtCoderFriends
4
4
  module Generator
5
5
  module PythonRefConstants
6
- VERSION = '0.3.0'
6
+ VERSION = '0.3.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: at_coder_friends-generator-python_ref
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nejiko96
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: at_coder_friends
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 2.3.0
125
+ version: 2.4.0
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.5.2.3
133
+ rubygems_version: 2.6.14.4
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Python generator for AtCoderFriends