monotone 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,12 +32,12 @@ module Monotone
32
32
 
33
33
  def file( name, &block )
34
34
  synchronize do
35
- file = File.join(root_dir, name).tap do |file|
36
- unless File.file?(file)
37
- write(file, '-1')
35
+ file = File.join(root_dir, name).tap do |f|
36
+ unless File.file?(f)
37
+ File.open(f, 'w'){|f| f.write('-1')}
38
38
  end
39
39
  end
40
- block.yield(file)
40
+ yield(file)
41
41
  end
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Monotone
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,51 +1,61 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: monotone
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 6
10
+ version: 0.0.6
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - Michael Shea
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2014-01-09 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2014-01-09 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
24
26
  - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
27
+ - !ruby/object:Gem::Version
28
+ hash: 9
29
+ segments:
30
+ - 1
31
+ - 3
32
+ version: "1.3"
34
33
  type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
35
37
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id002
41
49
  description: Generates increasing numbers, stored on the filesystem.
42
- email:
50
+ email:
43
51
  - mike.shea@gmail.com
44
- executables:
52
+ executables:
45
53
  - monotone
46
54
  extensions: []
55
+
47
56
  extra_rdoc_files: []
48
- files:
57
+
58
+ files:
49
59
  - .gitignore
50
60
  - Gemfile
51
61
  - LICENSE.txt
@@ -55,28 +65,38 @@ files:
55
65
  - lib/monotone.rb
56
66
  - lib/monotone/version.rb
57
67
  - monotone.gemspec
58
- homepage: ''
59
- licenses:
68
+ homepage: ""
69
+ licenses:
60
70
  - MIT
61
- metadata: {}
62
71
  post_install_message:
63
72
  rdoc_options: []
64
- require_paths:
73
+
74
+ require_paths:
65
75
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - '>='
69
- - !ruby/object:Gem::Version
70
- version: '0'
71
- required_rubygems_version: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ hash: 3
82
+ segments:
83
+ - 0
84
+ version: "0"
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ hash: 3
91
+ segments:
92
+ - 0
93
+ version: "0"
76
94
  requirements: []
95
+
77
96
  rubyforge_project:
78
- rubygems_version: 2.0.3
97
+ rubygems_version: 1.8.25
79
98
  signing_key:
80
- specification_version: 4
81
- summary: ''
99
+ specification_version: 3
100
+ summary: ""
82
101
  test_files: []
102
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 9b17998e8ed2206c7da1682ca1657ae793be2582
4
- data.tar.gz: 4bb7501684dc52e39963613ccb53597f8588d763
5
- SHA512:
6
- metadata.gz: dfb140fc1cf6098c3890681192b29ba95a160e8577c106edfa364e3c4c5c4dcc7d350367e2c185dffcc11712bd00f1658384c7f7e0fccf42933daefaee47e9fa
7
- data.tar.gz: ef638b02b20d84064dae05d245af6d9e7b42b72b5cce9ec2277523373fc35ab9f90b996c0ce478cf64c7b4e260b1cdef2d31fb2815d57116e84d91b7db561ac8