kronk 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.rdoc +6 -0
  2. data/lib/kronk.rb +1 -1
  3. data/lib/kronk/cmd.rb +5 -0
  4. metadata +4 -47
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.7.0 / 2011-10-10
2
+
3
+ * Bugfixes:
4
+
5
+ * Write stringified keys to the config by default.
6
+
1
7
  === 1.7.0 / 2011-10-09
2
8
 
3
9
  * Major Enhancements:
data/lib/kronk.rb CHANGED
@@ -14,7 +14,7 @@ require 'yaml'
14
14
  class Kronk
15
15
 
16
16
  # This gem's version.
17
- VERSION = '1.7.0'
17
+ VERSION = '1.7.1'
18
18
 
19
19
  require 'kronk/constants'
20
20
  require 'kronk/queue_runner'
data/lib/kronk/cmd.rb CHANGED
@@ -74,6 +74,11 @@ class Kronk
74
74
  def self.make_config_file
75
75
  Dir.mkdir Kronk::CONFIG_DIR unless File.directory? Kronk::CONFIG_DIR
76
76
 
77
+ new_config = {}
78
+ Kronk::DEFAULT_CONFIG.each do |key, value|
79
+ new_config[key.to_s] = value
80
+ end
81
+
77
82
  File.open Kronk::DEFAULT_CONFIG_FILE, "w+" do |file|
78
83
  file << Kronk::DEFAULT_CONFIG.to_yaml
79
84
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kronk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
4
  prerelease:
6
- segments:
7
- - 1
8
- - 7
9
- - 0
10
- version: 1.7.0
5
+ version: 1.7.1
11
6
  platform: ruby
12
7
  authors:
13
8
  - Jeremie Castagna
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-10-09 00:00:00 Z
13
+ date: 2011-10-10 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: json
@@ -25,10 +20,6 @@ dependencies:
25
20
  requirements:
26
21
  - - ~>
27
22
  - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 1
31
- - 5
32
23
  version: "1.5"
33
24
  type: :runtime
34
25
  version_requirements: *id001
@@ -40,11 +31,6 @@ dependencies:
40
31
  requirements:
41
32
  - - ~>
42
33
  - !ruby/object:Gem::Version
43
- hash: 19
44
- segments:
45
- - 0
46
- - 3
47
- - 0
48
34
  version: 0.3.0
49
35
  type: :runtime
50
36
  version_requirements: *id002
@@ -56,11 +42,6 @@ dependencies:
56
42
  requirements:
57
43
  - - ~>
58
44
  - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 3
62
- - 1
63
- - 0
64
45
  version: 3.1.0
65
46
  type: :development
66
47
  version_requirements: *id003
@@ -72,10 +53,6 @@ dependencies:
72
53
  requirements:
73
54
  - - ~>
74
55
  - !ruby/object:Gem::Version
75
- hash: 7
76
- segments:
77
- - 1
78
- - 4
79
56
  version: "1.4"
80
57
  type: :development
81
58
  version_requirements: *id004
@@ -87,11 +64,6 @@ dependencies:
87
64
  requirements:
88
65
  - - ~>
89
66
  - !ruby/object:Gem::Version
90
- hash: 35
91
- segments:
92
- - 0
93
- - 9
94
- - 12
95
67
  version: 0.9.12
96
68
  type: :development
97
69
  version_requirements: *id005
@@ -103,11 +75,6 @@ dependencies:
103
75
  requirements:
104
76
  - - ~>
105
77
  - !ruby/object:Gem::Version
106
- hash: 23
107
- segments:
108
- - 1
109
- - 0
110
- - 0
111
78
  version: 1.0.0
112
79
  type: :development
113
80
  version_requirements: *id006
@@ -119,11 +86,7 @@ dependencies:
119
86
  requirements:
120
87
  - - ~>
121
88
  - !ruby/object:Gem::Version
122
- hash: 21
123
- segments:
124
- - 2
125
- - 11
126
- version: "2.11"
89
+ version: "2.12"
127
90
  type: :development
128
91
  version_requirements: *id007
129
92
  description: |-
@@ -222,23 +185,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
185
  requirements:
223
186
  - - ">="
224
187
  - !ruby/object:Gem::Version
225
- hash: 3
226
- segments:
227
- - 0
228
188
  version: "0"
229
189
  required_rubygems_version: !ruby/object:Gem::Requirement
230
190
  none: false
231
191
  requirements:
232
192
  - - ">="
233
193
  - !ruby/object:Gem::Version
234
- hash: 3
235
- segments:
236
- - 0
237
194
  version: "0"
238
195
  requirements: []
239
196
 
240
197
  rubyforge_project: kronk
241
- rubygems_version: 1.8.8
198
+ rubygems_version: 1.8.11
242
199
  signing_key:
243
200
  specification_version: 3
244
201
  summary: Kronk runs diffs against data from live and cached http responses