unparser 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/unparser.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'unparser'
5
- s.version = '0.1.3'
5
+ s.version = '0.1.4'
6
6
 
7
7
  s.authors = ['Markus Schirp']
8
8
  s.email = 'mbj@schir-dso.com'
@@ -17,9 +17,9 @@ Gem::Specification.new do |s|
17
17
  s.extra_rdoc_files = %w(README.md)
18
18
  s.executables = [ 'test-unparser' ]
19
19
 
20
- s.add_dependency('parser', '~> 2.0.0.pre7')
21
- s.add_dependency('concord', '~> 0.1.1' )
22
- s.add_dependency('adamantium', '~> 0.1.0' )
23
- s.add_dependency('equalizer', '~> 0.0.7' )
24
- s.add_dependency('abstract_type', '~> 0.0.6' )
20
+ s.add_dependency('parser', '~> 2.0.0')
21
+ s.add_dependency('concord', '~> 0.1.4')
22
+ s.add_dependency('adamantium', '~> 0.1.0')
23
+ s.add_dependency('equalizer', '~> 0.0.7')
24
+ s.add_dependency('abstract_type', '~> 0.0.7')
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-18 00:00:00.000000000 Z
11
+ date: 2013-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.pre7
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0.pre7
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concord
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.1
33
+ version: 0.1.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.1
40
+ version: 0.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: adamantium
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.6
75
+ version: 0.0.7
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.6
82
+ version: 0.0.7
83
83
  description: Generate equivalent source for parser gem AST nodes
84
84
  email: mbj@schir-dso.com
85
85
  executables:
@@ -106,6 +106,7 @@ files:
106
106
  - config/flog.yml
107
107
  - config/mutant.yml
108
108
  - config/reek.yml
109
+ - config/rubocop.yml
109
110
  - config/yardstick.yml
110
111
  - lib/unparser.rb
111
112
  - lib/unparser/buffer.rb
@@ -176,7 +177,6 @@ files:
176
177
  - spec/unit/unparser/comments/take_before_spec.rb
177
178
  - spec/unit/unparser/comments/take_eol_comments_spec.rb
178
179
  - spec/unit/unparser/emitter/class_methods/handle_spec.rb
179
- - spec/unit/unparser/emitter/source_map/class_methods/emit_spec.rb
180
180
  - spec/unit/unparser_spec.rb
181
181
  - unparser.gemspec
182
182
  homepage: http://github.com/mbj/unparser
@@ -219,6 +219,5 @@ test_files:
219
219
  - spec/unit/unparser/comments/take_before_spec.rb
220
220
  - spec/unit/unparser/comments/take_eol_comments_spec.rb
221
221
  - spec/unit/unparser/emitter/class_methods/handle_spec.rb
222
- - spec/unit/unparser/emitter/source_map/class_methods/emit_spec.rb
223
222
  - spec/unit/unparser_spec.rb
224
223
  has_rdoc:
@@ -1,20 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Unparser::Emitter::SourceMap, '.emit' do
4
- let(:object) { described_class }
5
- let(:subject) { object.emit(node, buffer) }
6
- let(:buffer) { Unparser::Buffer.new }
7
-
8
- let(:node) do
9
- double('Node',
10
- :type => :foo,
11
- :location => double('SourceMap',
12
- :expression => double('SourceRange', :source => 'foo')
13
- )
14
- )
15
- end
16
-
17
- it 'should append source map expression to buffer' do
18
- expect { subject }.to change { buffer.content }.from('').to('foo')
19
- end
20
- end