libdolt 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ coverage
2
+ test/reports
data/.travis.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - rbx-18mode
5
4
  - rbx-19mode
6
5
  - ruby-head
7
6
  - 1.8.7
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
+
5
+ gem "ci_reporter"
6
+ gem "rcov", :platforms => :ruby_18
7
+ gem "simplecov", :platforms => :ruby_19
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.23.0)
4
+ libdolt (0.24.0)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.2)
@@ -12,6 +12,9 @@ PATH
12
12
  GEM
13
13
  remote: http://rubygems.org/
14
14
  specs:
15
+ builder (3.2.2)
16
+ ci_reporter (1.9.0)
17
+ builder (>= 2.1.2)
15
18
  github-markup (0.7.5)
16
19
  htmlentities (4.3.1)
17
20
  json (1.8.0)
@@ -24,13 +27,19 @@ GEM
24
27
  minitest (2.12.1)
25
28
  mocha (0.14.0)
26
29
  metaclass (~> 0.0.1)
30
+ multi_json (1.7.7)
27
31
  posix-spawn (0.3.6)
28
32
  pygments.rb (0.5.1)
29
33
  posix-spawn (~> 0.3.6)
30
34
  yajl-ruby (~> 1.1.0)
31
35
  rake (0.9.6)
36
+ rcov (1.0.0)
32
37
  redcarpet (2.2.0)
33
38
  rugged (0.18.0.gh.de28323)
39
+ simplecov (0.7.1)
40
+ multi_json (~> 1.0)
41
+ simplecov-html (~> 0.7.1)
42
+ simplecov-html (0.7.1)
34
43
  tilt (1.4.1)
35
44
  tiltout (1.4.0)
36
45
  tilt (~> 1.3)
@@ -41,9 +50,12 @@ PLATFORMS
41
50
  ruby
42
51
 
43
52
  DEPENDENCIES
53
+ ci_reporter
44
54
  libdolt!
45
55
  minitest (~> 2.0)
46
56
  mocha
47
57
  rake (~> 0.9)
58
+ rcov
48
59
  redcarpet (~> 2.2)
60
+ simplecov
49
61
  tiltout (~> 1.4)
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  require "rake/testtask"
2
+ require "ci/reporter/rake/minitest"
2
3
  require "bundler/gem_tasks"
3
4
 
4
5
  Rake::TestTask.new("test") do |test|
@@ -7,4 +8,13 @@ Rake::TestTask.new("test") do |test|
7
8
  test.verbose = true
8
9
  end
9
10
 
11
+ if RUBY_VERSION < "1.9"
12
+ require "rcov/rcovtask"
13
+ Rcov::RcovTask.new do |t|
14
+ t.libs << "test"
15
+ t.test_files = FileList["test/**/*_test.rb"]
16
+ t.rcov_opts += %w{--exclude gems,ruby/1.}
17
+ end
18
+ end
19
+
10
20
  task :default => :test
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.23.0"
20
+ VERSION = "0.24.0"
21
21
  end
data/test/test_helper.rb CHANGED
@@ -15,6 +15,10 @@
15
15
  # You should have received a copy of the GNU Affero General Public License
16
16
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  #++
18
+ if RUBY_VERSION > "1.9"
19
+ require "simplecov"
20
+ SimpleCov.start
21
+ end
18
22
  require "bundler/setup"
19
23
  require "minitest/autorun"
20
24
  require "libdolt/view"
data/views/tree.erb CHANGED
@@ -50,9 +50,9 @@
50
50
  </tbody>
51
51
  </table>
52
52
  <% if readme %>
53
- <div class="gts-readme">
53
+ <div class="gts-readme" id="readme">
54
54
  <div class="gts-page-header">
55
- <h2><%= readme[:path] %></h2>
55
+ <h4><%= readme[:path] %></h4>
56
56
  </div>
57
57
  <%= format_blob(readme[:path], readme[:blob].text(nil, defined?(Encoding) ? Encoding.default_external : nil), repository_slug, ref) %>
58
58
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-04 00:00:00.000000000 Z
12
+ date: 2013-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged
@@ -194,6 +194,7 @@ executables: []
194
194
  extensions: []
195
195
  extra_rdoc_files: []
196
196
  files:
197
+ - .gitignore
197
198
  - .travis.yml
198
199
  - Gemfile
199
200
  - Gemfile.lock