typerb 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: f7cef67daf67692e132e69a417bc8d7ea8162c56e87f7c058b5d095aed720506
4
- data.tar.gz: 8493a01a0310fe1accb703ee82515b8f59163dc4069117774df00fafd0228113
3
+ metadata.gz: 9ee985e57292c037f842de48682659f4fb90e6f18d26811e065c4b32983a5bbb
4
+ data.tar.gz: f4960c88faa5d885690405c70a514cbcea191e12964f7e83b50d925bb0848911
5
5
  SHA512:
6
- metadata.gz: e69f6c28e078a84bded21be966969c7979ab71f26dff4379b7952026c3ea180422ac68ae82b4e2ef003cd34cb47fd0902f474024758ff756984aaa0f937a7eae
7
- data.tar.gz: f5ea90611dbd4429a48b11b59ce69d2e6f4e267e7d451916171bb06f680e64f6bec033f1f31dd7c6c6096f510123d1dc2b0aa50932630c0ec6406022bb81e2e9
6
+ metadata.gz: c816163ee5396ecfcd09234b9e2590b8a75bc06ef6ea839897da6bc2722c44bbe9bdbc3c1aef75858be28ae6df118ad834e6548b68449a140381d3188b3d9684
7
+ data.tar.gz: 84a1286086584e24305f1816f93cf573bef0a257f7fb541e223986e260697c780ea14d6c22fe9cc59857df95e99f1be4f4a438a9b48265072b055d3823dc5819
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.0-preview3
1
+ 2.6.0-rc1
data/.travis.yml CHANGED
@@ -7,7 +7,7 @@ before_install: gem install bundler
7
7
  rvm:
8
8
  - 2.4.0
9
9
  - 2.5.3
10
- # - 2.6.0-preview3 travis does not support it yet
10
+ - 2.6.0-rc1
11
11
 
12
12
  script:
13
13
  - bundle exec rubocop -DP
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GEM
12
12
  diff-lcs (1.3)
13
13
  ffi (1.9.25)
14
14
  formatador (0.2.5)
15
- guard (2.14.2)
15
+ guard (2.15.0)
16
16
  formatador (>= 0.2.4)
17
17
  listen (>= 2.7, < 4.0)
18
18
  lumberjack (>= 1.0.12, < 2.0)
@@ -32,7 +32,7 @@ GEM
32
32
  rb-inotify (~> 0.9, >= 0.9.7)
33
33
  ruby_dep (~> 1.2)
34
34
  lumberjack (1.0.13)
35
- method_source (0.9.1)
35
+ method_source (0.9.2)
36
36
  nenv (0.3.0)
37
37
  notiffany (0.1.1)
38
38
  nenv (~> 0.1)
@@ -41,11 +41,11 @@ GEM
41
41
  parser (2.5.3.0)
42
42
  ast (~> 2.4.0)
43
43
  powerpack (0.1.2)
44
- pry (0.12.0)
44
+ pry (0.12.2)
45
45
  coderay (~> 1.1.0)
46
46
  method_source (~> 0.9.0)
47
47
  rainbow (3.0.0)
48
- rake (10.5.0)
48
+ rake (12.3.2)
49
49
  rb-fsevent (0.10.3)
50
50
  rb-inotify (0.9.10)
51
51
  ffi (>= 0.5.0, < 2)
@@ -62,7 +62,7 @@ GEM
62
62
  diff-lcs (>= 1.2.0, < 2.0)
63
63
  rspec-support (~> 3.8.0)
64
64
  rspec-support (3.8.0)
65
- rubocop (0.60.0)
65
+ rubocop (0.61.1)
66
66
  jaro_winkler (~> 1.5.1)
67
67
  parallel (~> 1.10)
68
68
  parser (>= 2.5, != 2.5.1.1)
@@ -75,7 +75,7 @@ GEM
75
75
  shellany (0.0.1)
76
76
  super_awesome_print (0.2.5)
77
77
  awesome_print
78
- thor (0.20.0)
78
+ thor (0.20.3)
79
79
  unicode-display_width (1.4.0)
80
80
 
81
81
  PLATFORMS
@@ -93,4 +93,4 @@ DEPENDENCIES
93
93
  typerb!
94
94
 
95
95
  BUNDLED WITH
96
- 1.17.1
96
+ 1.17.2
@@ -21,7 +21,7 @@ module Typerb
21
21
 
22
22
  def from_ast(caller_method) # rubocop: disable Metrics/AbcSize not worth fixing
23
23
  code = File.read(file).lines[line - 1].strip
24
- node = RubyVM::AST.parse(code)
24
+ node = RubyVM::AbstractSyntaxTree.parse(code)
25
25
  if node.children.last.children.size == 3 && node.children.last.children[1] == caller_method # rubocop: disable Style/IfUnlessModifier, Style/GuardClause
26
26
  node.children.last.children.first.children.first
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Typerb
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typerb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Antonyan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-15 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project:
171
- rubygems_version: 3.0.0.beta2
171
+ rubygems_version: 3.0.0.beta3
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Typecheck sugar for Ruby.