monotone 0.0.3 → 0.0.4

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: 1c2a40ad0703d07bec0797c82e9fb84c12ee1b9a
4
- data.tar.gz: 5a4f35a5f92f4dad8eeb0e34832b0c1e26be7450
3
+ metadata.gz: f94efb6a8b759ce636a849b534473725ba6bd552
4
+ data.tar.gz: 94103c25ac83314cae468674dc755da022f476be
5
5
  SHA512:
6
- metadata.gz: 3a0d44fa7d1ba4d34c7951cca6311a5e2372fddaa4946670857a608ec3f7745801bc3a9a05b2ce133fa6f6428e83d287aaf08f3ff9c926cf57e3d1434531dccd
7
- data.tar.gz: 2e349e6e28beeee7b2b0df26e20f5815bb07394d8050cb87d7c80f87a66f6f444576c9d5e4c8c319110e338f37ed11d25bde5251a3125e97298ff8df2b68b975
6
+ metadata.gz: 59a0cfe92d83f98a00cbfa91c4ae344e15607a288643f70178e2dbfeec9aa680ae5c1165f6fe77c97cc29cb9b82615bba60cb7a0af36a52182b3e9e92e9651fc
7
+ data.tar.gz: 511b98c2425d0212f293eebc2b6b7b2850a254d7c3575205163f72b07b494da2521c4ed15fa42b3a9c2c434128ac9f11cb5af5ce9f1c0af060e78e650e7f435d
@@ -16,7 +16,7 @@ module Monotone
16
16
  file(name) do |f|
17
17
  value = File.read(f).to_i
18
18
  value += 1
19
- File.write(f, value.to_s )
19
+ File.open(f, 'w') {|f| f.write(value.to_s) }
20
20
  value
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Monotone
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monotone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Shea
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-08 00:00:00.000000000 Z
11
+ date: 2014-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler