siuying-gitdocs 0.4.14 → 0.4.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gitdocs/version.rb +1 -1
  2. data/lib/gitdocs.rb +6 -0
  3. metadata +44 -44
@@ -1,3 +1,3 @@
1
1
  module Gitdocs
2
- VERSION = "0.4.14"
2
+ VERSION = "0.4.15"
3
3
  end
data/lib/gitdocs.rb CHANGED
@@ -5,6 +5,12 @@ require 'socket'
5
5
  require 'shell_tools'
6
6
  require 'guard'
7
7
 
8
+ # Make sure text encoding is set to UTF_8
9
+ if RUBY_VERSION =~ /1.9/
10
+ Encoding.default_external = Encoding::UTF_8
11
+ Encoding.default_internal = Encoding::UTF_8
12
+ end
13
+
8
14
  require 'gitdocs/markdown_converter'
9
15
  require 'gitdocs/markdown_template'
10
16
  require 'gitdocs/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siuying-gitdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.14
4
+ version: 0.4.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-27 00:00:00.000000000 Z
13
+ date: 2012-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: joshbuddy-guard
17
- requirement: &70099940762840 !ruby/object:Gem::Requirement
17
+ requirement: &70111354400680 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.10.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70099940762840
25
+ version_requirements: *70111354400680
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: thin
28
- requirement: &70099940762340 !ruby/object:Gem::Requirement
28
+ requirement: &70111354400180 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.3.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70099940762340
36
+ version_requirements: *70111354400180
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: renee
39
- requirement: &70099940761880 !ruby/object:Gem::Requirement
39
+ requirement: &70111354399720 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 0.3.7
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70099940761880
47
+ version_requirements: *70111354399720
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: redcarpet
50
- requirement: &70099940761420 !ruby/object:Gem::Requirement
50
+ requirement: &70111354399260 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 2.0.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70099940761420
58
+ version_requirements: *70111354399260
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: thor
61
- requirement: &70099940760960 !ruby/object:Gem::Requirement
61
+ requirement: &70111354398800 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 0.14.6
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70099940760960
69
+ version_requirements: *70111354398800
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: coderay
72
- requirement: &70099940760500 !ruby/object:Gem::Requirement
72
+ requirement: &70111354398340 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 1.0.4
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *70099940760500
80
+ version_requirements: *70111354398340
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: dante
83
- requirement: &70099940760040 !ruby/object:Gem::Requirement
83
+ requirement: &70111354397880 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.1.2
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *70099940760040
91
+ version_requirements: *70111354397880
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: growl
94
- requirement: &70099940759580 !ruby/object:Gem::Requirement
94
+ requirement: &70111354397420 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 1.0.3
100
100
  type: :runtime
101
101
  prerelease: false
102
- version_requirements: *70099940759580
102
+ version_requirements: *70111354397420
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: yajl-ruby
105
- requirement: &70099940759120 !ruby/object:Gem::Requirement
105
+ requirement: &70111354396960 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 1.1.0
111
111
  type: :runtime
112
112
  prerelease: false
113
- version_requirements: *70099940759120
113
+ version_requirements: *70111354396960
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: haml
116
- requirement: &70099940758660 !ruby/object:Gem::Requirement
116
+ requirement: &70111354396500 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ~>
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: 3.1.4
122
122
  type: :runtime
123
123
  prerelease: false
124
- version_requirements: *70099940758660
124
+ version_requirements: *70111354396500
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sqlite3
127
- requirement: &70099940758200 !ruby/object:Gem::Requirement
127
+ requirement: &70111354396040 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ~>
@@ -132,10 +132,10 @@ dependencies:
132
132
  version: 1.3.4
133
133
  type: :runtime
134
134
  prerelease: false
135
- version_requirements: *70099940758200
135
+ version_requirements: *70111354396040
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: activerecord
138
- requirement: &70099940757740 !ruby/object:Gem::Requirement
138
+ requirement: &70111354395580 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
141
  - - ~>
@@ -143,10 +143,10 @@ dependencies:
143
143
  version: 3.1.0
144
144
  type: :runtime
145
145
  prerelease: false
146
- version_requirements: *70099940757740
146
+ version_requirements: *70111354395580
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: grit
149
- requirement: &70099940008020 !ruby/object:Gem::Requirement
149
+ requirement: &70111352489000 !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
152
152
  - - ~>
@@ -154,10 +154,10 @@ dependencies:
154
154
  version: 2.4.1
155
155
  type: :runtime
156
156
  prerelease: false
157
- version_requirements: *70099940008020
157
+ version_requirements: *70111352489000
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: shell_tools
160
- requirement: &70099940002080 !ruby/object:Gem::Requirement
160
+ requirement: &70111352487780 !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
163
163
  - - ~>
@@ -165,10 +165,10 @@ dependencies:
165
165
  version: 0.1.0
166
166
  type: :runtime
167
167
  prerelease: false
168
- version_requirements: *70099940002080
168
+ version_requirements: *70111352487780
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: mimetype-fu
171
- requirement: &70099935711120 !ruby/object:Gem::Requirement
171
+ requirement: &70111352486600 !ruby/object:Gem::Requirement
172
172
  none: false
173
173
  requirements:
174
174
  - - ~>
@@ -176,10 +176,10 @@ dependencies:
176
176
  version: 0.1.2
177
177
  type: :runtime
178
178
  prerelease: false
179
- version_requirements: *70099935711120
179
+ version_requirements: *70111352486600
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: eventmachine
182
- requirement: &70099935710660 !ruby/object:Gem::Requirement
182
+ requirement: &70111348407480 !ruby/object:Gem::Requirement
183
183
  none: false
184
184
  requirements:
185
185
  - - ! '>='
@@ -187,10 +187,10 @@ dependencies:
187
187
  version: 1.0.0.beta.3
188
188
  type: :runtime
189
189
  prerelease: false
190
- version_requirements: *70099935710660
190
+ version_requirements: *70111348407480
191
191
  - !ruby/object:Gem::Dependency
192
192
  name: pygments.rb
193
- requirement: &70099935710280 !ruby/object:Gem::Requirement
193
+ requirement: &70111348407100 !ruby/object:Gem::Requirement
194
194
  none: false
195
195
  requirements:
196
196
  - - ! '>='
@@ -198,10 +198,10 @@ dependencies:
198
198
  version: '0'
199
199
  type: :runtime
200
200
  prerelease: false
201
- version_requirements: *70099935710280
201
+ version_requirements: *70111348407100
202
202
  - !ruby/object:Gem::Dependency
203
203
  name: minitest
204
- requirement: &70099935709740 !ruby/object:Gem::Requirement
204
+ requirement: &70111348406560 !ruby/object:Gem::Requirement
205
205
  none: false
206
206
  requirements:
207
207
  - - ~>
@@ -209,10 +209,10 @@ dependencies:
209
209
  version: 2.6.1
210
210
  type: :development
211
211
  prerelease: false
212
- version_requirements: *70099935709740
212
+ version_requirements: *70111348406560
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: rake
215
- requirement: &70099935709320 !ruby/object:Gem::Requirement
215
+ requirement: &70111348406140 !ruby/object:Gem::Requirement
216
216
  none: false
217
217
  requirements:
218
218
  - - ! '>='
@@ -220,10 +220,10 @@ dependencies:
220
220
  version: '0'
221
221
  type: :development
222
222
  prerelease: false
223
- version_requirements: *70099935709320
223
+ version_requirements: *70111348406140
224
224
  - !ruby/object:Gem::Dependency
225
225
  name: mocha
226
- requirement: &70099935708860 !ruby/object:Gem::Requirement
226
+ requirement: &70111348405680 !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements:
229
229
  - - ! '>='
@@ -231,10 +231,10 @@ dependencies:
231
231
  version: '0'
232
232
  type: :development
233
233
  prerelease: false
234
- version_requirements: *70099935708860
234
+ version_requirements: *70111348405680
235
235
  - !ruby/object:Gem::Dependency
236
236
  name: fakeweb
237
- requirement: &70099935708440 !ruby/object:Gem::Requirement
237
+ requirement: &70111348405260 !ruby/object:Gem::Requirement
238
238
  none: false
239
239
  requirements:
240
240
  - - ! '>='
@@ -242,7 +242,7 @@ dependencies:
242
242
  version: '0'
243
243
  type: :development
244
244
  prerelease: false
245
- version_requirements: *70099935708440
245
+ version_requirements: *70111348405260
246
246
  description: Open-source Dropbox using Ruby and Git (my fork with github favoured
247
247
  markdown support).
248
248
  email: