thrifty 0.0.2 → 0.0.3

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/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ build-thrifty
@@ -3,7 +3,7 @@ class Thrifty::Manager
3
3
 
4
4
  def initialize
5
5
  @thrift_files = {}
6
- @build_root ||= File.join(Dir.tmpdir, 'thrifty')
6
+ @build_root ||= File.join(Dir.tmpdir, 'build-thrifty')
7
7
  end
8
8
 
9
9
  def register(path, options={})
@@ -70,7 +70,7 @@ class Thrifty::ThriftFile
70
70
  if build_root = @options[:build_root]
71
71
  expand_relative_path(build_root)
72
72
  elsif @options[:relative_to]
73
- File.join(File.dirname(path), 'thrifty')
73
+ File.join(File.dirname(path), 'build-thrifty')
74
74
  else
75
75
  @manager.build_root # Don't expand the manager's build root
76
76
  end
@@ -1,3 +1,3 @@
1
1
  module Thrifty
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -28,7 +28,7 @@ class Thrifty::DynamicTest < Critic::Functional::Test
28
28
  end
29
29
 
30
30
  it_isolated 'build_root defaults to the thrift/thrifty directory' do
31
- expected_root = File.expand_path('../_lib/thrift/thrifty', __FILE__)
31
+ expected_root = File.expand_path('../_lib/thrift/build-thrifty', __FILE__)
32
32
  FileUtils.rm_rf(expected_root)
33
33
 
34
34
  Thrifty.register('_lib/thrift/service.thrift', relative_to: __FILE__)
@@ -40,7 +40,7 @@ class Thrifty::DynamicTest < Critic::Functional::Test
40
40
 
41
41
  describe 'without relative_to' do
42
42
  it_isolated 'build_root defaults to Dir.tmpdir/thrifty' do
43
- expected_root = File.join(Dir.tmpdir, 'thrifty')
43
+ expected_root = File.join(Dir.tmpdir, 'build-thrifty')
44
44
  FileUtils.rm_rf(expected_root)
45
45
 
46
46
  Thrifty.register(File.expand_path('../_lib/thrift/service.thrift', __FILE__))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thrifty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-28 00:00:00.000000000 Z
12
+ date: 2013-11-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -177,7 +177,6 @@ files:
177
177
  - lib/thrifty/version.rb
178
178
  - test/_lib.rb
179
179
  - test/functional/_lib.rb
180
- - test/functional/_lib/.gitignore
181
180
  - test/functional/_lib/thrift/service.thrift
182
181
  - test/functional/thrifty.rb
183
182
  - test/integration/_lib.rb
@@ -196,12 +195,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
195
  - - ! '>='
197
196
  - !ruby/object:Gem::Version
198
197
  version: '0'
198
+ segments:
199
+ - 0
200
+ hash: 1830425111965813571
199
201
  required_rubygems_version: !ruby/object:Gem::Requirement
200
202
  none: false
201
203
  requirements:
202
204
  - - ! '>='
203
205
  - !ruby/object:Gem::Version
204
206
  version: '0'
207
+ segments:
208
+ - 0
209
+ hash: 1830425111965813571
205
210
  requirements: []
206
211
  rubyforge_project:
207
212
  rubygems_version: 1.8.23
@@ -212,10 +217,8 @@ summary: Begone manual compilation of Thrift definitions! Thrifty makes it easy
212
217
  test_files:
213
218
  - test/_lib.rb
214
219
  - test/functional/_lib.rb
215
- - test/functional/_lib/.gitignore
216
220
  - test/functional/_lib/thrift/service.thrift
217
221
  - test/functional/thrifty.rb
218
222
  - test/integration/_lib.rb
219
223
  - test/meta/_lib.rb
220
224
  - test/unit/_lib.rb
221
- has_rdoc:
@@ -1 +0,0 @@
1
- /thrift/build