sniff 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sniff/rake_tasks.rb +1 -1
- data/lib/sniff/version.rb +1 -1
- data/spec/lib/sniff/rake_tasks_spec.rb +2 -0
- metadata +5 -7
data/lib/sniff/rake_tasks.rb
CHANGED
@@ -59,7 +59,7 @@ module Sniff
|
|
59
59
|
desc 'Update gh-pages branch'
|
60
60
|
task :pages => :docs do
|
61
61
|
rev = `git rev-parse --short HEAD`.strip
|
62
|
-
sh "mv docs/lib/#{gemname}/carbon_model.html docs/"
|
62
|
+
sh "mv docs/lib/#{gemname}/carbon_model.html docs/carbon_model.html"
|
63
63
|
git 'add *.html', 'docs'
|
64
64
|
git "commit -m 'rebuild pages from #{rev}'", 'docs' do |ok,res|
|
65
65
|
if ok
|
data/lib/sniff/version.rb
CHANGED
@@ -14,6 +14,8 @@ describe Sniff::RakeTasks do
|
|
14
14
|
let(:emitter_path) { File.expand_path '../../../', File.dirname(__FILE__) }
|
15
15
|
let(:rakefile) do
|
16
16
|
rakefile = <<-RAKEFILE
|
17
|
+
Encoding.default_external = Encoding.find 'UTF-8'
|
18
|
+
|
17
19
|
require '#{emitter_path}/lib/sniff/rake_tasks'
|
18
20
|
|
19
21
|
Sniff::RakeTasks.define_tasks
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 7
|
9
|
+
version: 0.6.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Derek Kastner
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-05-16 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -151,9 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
segments:
|
153
153
|
- 2
|
154
|
-
|
155
|
-
- 0
|
156
|
-
version: 2.0.0
|
154
|
+
version: "2"
|
157
155
|
type: :runtime
|
158
156
|
prerelease: false
|
159
157
|
version_requirements: *id010
|
@@ -292,7 +290,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
290
|
requirements:
|
293
291
|
- - ">="
|
294
292
|
- !ruby/object:Gem::Version
|
295
|
-
hash:
|
293
|
+
hash: 4292578396046065138
|
296
294
|
segments:
|
297
295
|
- 0
|
298
296
|
version: "0"
|