0xffffff 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -1
- data/VERSION +1 -1
- data/lib/0xffffff.rb +1 -1
- data/spec/counter_spec.rb +8 -7
- data/spec/runner_spec.rb +1 -1
- metadata +11 -11
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/lib/0xffffff.rb
CHANGED
data/spec/counter_spec.rb
CHANGED
@@ -18,18 +18,15 @@ describe Counter do
|
|
18
18
|
x = 0;
|
19
19
|
|
20
20
|
counter = Counter.new(@path.to_s)
|
21
|
-
|
22
21
|
counter.count_up do |count|
|
23
22
|
x = count
|
24
23
|
end
|
25
24
|
|
26
|
-
x.should eql(
|
25
|
+
x.should eql(123)
|
27
26
|
|
28
|
-
|
29
|
-
|
27
|
+
open(@path) do |f|
|
28
|
+
f.read.chomp.to_i.should eql(124)
|
30
29
|
end
|
31
|
-
|
32
|
-
x.should eql(125)
|
33
30
|
end
|
34
31
|
|
35
32
|
it 'should count up even if file does not exist' do
|
@@ -40,7 +37,11 @@ describe Counter do
|
|
40
37
|
x = count
|
41
38
|
end
|
42
39
|
|
43
|
-
x.should eql(
|
40
|
+
x.should eql(0)
|
41
|
+
|
42
|
+
open(@path) do |f|
|
43
|
+
f.read.chomp.to_i.should eql(1)
|
44
|
+
end
|
44
45
|
end
|
45
46
|
end
|
46
47
|
end
|
data/spec/runner_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: '0xffffff'
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chunky_png
|
16
|
-
requirement: &
|
16
|
+
requirement: &70258312464000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70258312464000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: flickraw-cached
|
27
|
-
requirement: &
|
27
|
+
requirement: &70258312479300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70258312479300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &70258312477280 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.8.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70258312477280
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &70258312475580 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 1.8.3
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70258312475580
|
58
58
|
description: A Tool to Upload 0xffffff Images to Flickr
|
59
59
|
email: youpy@buycheapviagraonlinenow.com
|
60
60
|
executables:
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash:
|
97
|
+
hash: 4003751617940492351
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|