rperft 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/rperft/client.rb +4 -2
- data/lib/rperft/version.rb +1 -1
- metadata +12 -20
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 76c28470a66a6ce816a6b0d84fcd707bc4a61fe8
|
4
|
+
data.tar.gz: 2ec048d7dea08b3b9055745848d5a595d0ee2e3f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4bacbe0890d32b5440cb039058a6ba4f0c7601ecef66565c5284bc867121613356881e6d703d8a2a7ffbae278c452d72a14c87ccf476d90e55de4ccbad6e4620
|
7
|
+
data.tar.gz: 1a3a472baf65c8473e673f5a7e52412386498d122f4c00117605eeba5c774a036ecb0273cc3e38e7638a8a112462526288424542913bfa597ef17721187157be
|
data/lib/rperft/client.rb
CHANGED
@@ -63,13 +63,14 @@ module RPerft
|
|
63
63
|
|
64
64
|
changeset = nil
|
65
65
|
comment = nil
|
66
|
-
changes = nil
|
67
66
|
|
68
67
|
if options[:final] || (`git status --porcelain`).empty?
|
69
68
|
changeset, comment = `git log --oneline HEAD^..HEAD`.split(/\s+/, 2)
|
70
69
|
changes = `git diff HEAD^`
|
71
70
|
end
|
72
71
|
|
72
|
+
changes = `git diff HEAD^`
|
73
|
+
|
73
74
|
results = @test_results.map do |result|
|
74
75
|
{
|
75
76
|
:description => result.description,
|
@@ -84,7 +85,8 @@ module RPerft
|
|
84
85
|
:results => results,
|
85
86
|
:changeset => changeset,
|
86
87
|
:comment => comment,
|
87
|
-
:changes => changes
|
88
|
+
:changes => changes,
|
89
|
+
:append => options[:append]
|
88
90
|
},
|
89
91
|
:headers => {
|
90
92
|
"Content-Type" => "application/x-www-form-urlencoded"
|
data/lib/rperft/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rperft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Tao
|
@@ -14,49 +13,43 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: httparty
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: json
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: A Ruby gem to measure performance and submit results to Perft
|
@@ -78,26 +71,25 @@ files:
|
|
78
71
|
homepage:
|
79
72
|
licenses:
|
80
73
|
- MIT
|
74
|
+
metadata: {}
|
81
75
|
post_install_message:
|
82
76
|
rdoc_options: []
|
83
77
|
require_paths:
|
84
78
|
- lib
|
85
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
80
|
requirements:
|
88
|
-
- -
|
81
|
+
- - '>='
|
89
82
|
- !ruby/object:Gem::Version
|
90
83
|
version: '0'
|
91
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
85
|
requirements:
|
94
|
-
- -
|
86
|
+
- - '>='
|
95
87
|
- !ruby/object:Gem::Version
|
96
88
|
version: '0'
|
97
89
|
requirements: []
|
98
90
|
rubyforge_project:
|
99
|
-
rubygems_version:
|
91
|
+
rubygems_version: 2.0.3
|
100
92
|
signing_key:
|
101
|
-
specification_version:
|
93
|
+
specification_version: 4
|
102
94
|
summary: I forget, is the description supposed to be longer than the summary?
|
103
95
|
test_files: []
|