simplecov 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ v0.6.2 (2012-04-20)
2
+ ===================
3
+
4
+ * Updated to latest version of MultiJSON and it's new API (thanks to @sferik and @ronen).
5
+ See https://github.com/colszowka/simplecov/pull/122
6
+
1
7
  v0.6.1 (2012-02-24)
2
8
  ===================
3
9
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2011 Christoph Olszowka
1
+ Copyright (c) 2010-2012 Christoph Olszowka
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -117,13 +117,12 @@ to use SimpleCov with them. Here's an overview of the known ones:
117
117
  <b>Spork</b>
118
118
  </td>
119
119
  <td>
120
- SimpleCov currently does not correctly cope with the way Spork (and similar forking testing tools)
121
- works. With the right configuration this might be resolvable.
122
- To make sure your coverage is reported correctly you probably should fall back to running your test suite
123
- without spork when you want a coverage report.
120
+ Because of the how Spork works internally (using preforking) there used to be trouble when using SimpleCov
121
+ with it, but that apparently has been resolved with a specific configuration strategy. See
122
+ <a href="https://github.com/colszowka/simplecov/issues/42#issuecomment-4440284">this</a> comment.
124
123
  </td>
125
124
  <td>
126
- <a href="https://github.com/colszowka/simplecov/issues/42">SimpleCov #42</a>
125
+ <a href="https://github.com/colszowka/simplecov/issues/42#issuecomment-4440284">SimpleCov #42</a>
127
126
  </td>
128
127
  </tr>
129
128
  <tr>
@@ -15,7 +15,7 @@ module SimpleCov::ResultMerger
15
15
  # Loads the cached resultset from YAML and returns it as a Hash
16
16
  def resultset
17
17
  if stored_data
18
- MultiJson.decode(stored_data)
18
+ MultiJson.load(stored_data)
19
19
  else
20
20
  {}
21
21
  end
@@ -71,7 +71,7 @@ module SimpleCov::ResultMerger
71
71
  if defined? ::JSON
72
72
  f.puts JSON.pretty_generate(new_set)
73
73
  else
74
- f.puts MultiJson.encode(new_set)
74
+ f.puts MultiJson.dump(new_set)
75
75
  end
76
76
  end
77
77
  true
@@ -1,3 +1,3 @@
1
1
  module SimpleCov
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.description = %Q{Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites}
13
13
  gem.summary = gem.description
14
14
 
15
- gem.add_dependency 'multi_json', '~> 1.0'
15
+ gem.add_dependency 'multi_json', '~> 1.3'
16
16
  gem.add_dependency 'simplecov-html', '~> 0.5.3'
17
17
  gem.add_development_dependency 'aruba'
18
18
  gem.add_development_dependency 'capybara'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-24 00:00:00.000000000 Z
12
+ date: 2012-04-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
16
- requirement: &70354056681600 !ruby/object:Gem::Requirement
16
+ requirement: &70158866626880 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '1.0'
21
+ version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70354056681600
24
+ version_requirements: *70158866626880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: simplecov-html
27
- requirement: &70354056680820 !ruby/object:Gem::Requirement
27
+ requirement: &70158866626100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.5.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70354056680820
35
+ version_requirements: *70158866626100
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: aruba
38
- requirement: &70354056680360 !ruby/object:Gem::Requirement
38
+ requirement: &70158866625580 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70354056680360
46
+ version_requirements: *70158866625580
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: capybara
49
- requirement: &70354056679880 !ruby/object:Gem::Requirement
49
+ requirement: &70158866624800 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70354056679880
57
+ version_requirements: *70158866624800
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cucumber
60
- requirement: &70354056679340 !ruby/object:Gem::Requirement
60
+ requirement: &70158866617760 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.1.4
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70354056679340
68
+ version_requirements: *70158866617760
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
- requirement: &70354056678840 !ruby/object:Gem::Requirement
71
+ requirement: &70158866616920 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70354056678840
79
+ version_requirements: *70158866616920
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rspec
82
- requirement: &70354056678360 !ruby/object:Gem::Requirement
82
+ requirement: &70158866616220 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70354056678360
90
+ version_requirements: *70158866616220
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: shoulda
93
- requirement: &70354056677880 !ruby/object:Gem::Requirement
93
+ requirement: &70158866614920 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70354056677880
101
+ version_requirements: *70158866614920
102
102
  description: Code coverage for Ruby 1.9 with a powerful configuration library and
103
103
  automatic merging of coverage across test suites
104
104
  email:
@@ -161,6 +161,7 @@ files:
161
161
  - lib/simplecov/result_merger.rb
162
162
  - lib/simplecov/source_file.rb
163
163
  - lib/simplecov/version.rb
164
+ - simplecov-0.6.2.gem
164
165
  - simplecov.gemspec
165
166
  - test/faked_project/Gemfile
166
167
  - test/faked_project/Rakefile