githubstats 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f048fa1050eaeced997fab55246044442b89bb99
4
- data.tar.gz: 31dc4d874e769a58581c7f399b1ab144ad3f87cf
3
+ metadata.gz: 9526514c47f5ee6e74ab4ed239a579b064477f69
4
+ data.tar.gz: 39604a240b8d8a33a195a9d0d54004de679fe725
5
5
  SHA512:
6
- metadata.gz: 72068389a925a86268169e0ed45a0e6165a80f3e86a89a0f9b3cce933d70e1fab9b841d24dfbcb3897cdc1d29e455269b34608794c9615599e9fa030d53d78fd
7
- data.tar.gz: 36fecf9a36365e48e3494f27da1dfb345c1b97cdc247db002746cc47da2c99cc5e21c615847672b9760ba0319f184438a1dfcb879cb059cc016d23405346665d
6
+ metadata.gz: d2e8abcfbc2bc84431fbded07842d591264382303d14c66f46e716ecc632c7a61b4108996cfee8f56f8ceda34105195afb6b669e38ae0339d29f31cdfe474260
7
+ data.tar.gz: e18f0e35c987c073373ecdcbf194bfd15f53613fd617b03c9f52cb3a262ee47a0d53ea9aaeddb10e553733655ed8b14b4444854bc21f8ad6cdda48d3a2fd4880
data/.travis.yml CHANGED
@@ -8,7 +8,6 @@ notifications:
8
8
  email: false
9
9
  irc:
10
10
  channels:
11
- - ircs://irc.oftc.net:6697#akerl
12
- channel_key: sekrit
11
+ - secure: YQqAJcDMy2Dn54HUly9J9dZhrogEL/wkNVsay0lt06a+Iosw25ba1VKWA8gjmozd3x2LzhEtWyN0zxzGrVXznbtB00lW1l8V8WeM3KRxzC/ymCS4PhqGgGPDnStiAtUFvXkeMihUGcEjSbD0U3s8tpmVttcdQQVhUjSHquomYw8=
13
12
  template:
14
- - '%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}'
13
+ - "%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}"
data/githubstats.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'githubstats'
3
- s.version = '0.2.7'
3
+ s.version = '0.2.8'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Present Github contributions stats in a consumable format'
@@ -14,16 +14,14 @@ Gem::Specification.new do |s|
14
14
  s.test_files = `git ls-files spec/*`.split
15
15
  s.executables = ['githubstats']
16
16
 
17
- s.add_runtime_dependency 'curb'
18
- s.add_runtime_dependency 'json'
19
- s.add_runtime_dependency 'basiccache'
17
+ s.add_runtime_dependency 'curb', '~> 0.8.5'
18
+ s.add_runtime_dependency 'basiccache', '~> 0.1.0'
20
19
 
21
- s.add_development_dependency 'timecop'
22
- s.add_development_dependency 'rubocop'
23
- s.add_development_dependency 'travis-lint'
24
- s.add_development_dependency 'rake'
25
- s.add_development_dependency 'coveralls'
26
- s.add_development_dependency 'rspec'
27
- s.add_development_dependency 'fuubar'
28
- s.add_development_dependency 'parser'
20
+ s.add_development_dependency 'timecop', '~> 0.7.1'
21
+ s.add_development_dependency 'rubocop', '~> 0.19.0'
22
+ s.add_development_dependency 'travis-lint', '~> 1.8.0'
23
+ s.add_development_dependency 'rake', '~> 10.1.1'
24
+ s.add_development_dependency 'coveralls', '~> 0.7.0'
25
+ s.add_development_dependency 'rspec', '~> 2.14.1'
26
+ s.add_development_dependency 'fuubar', '~> 1.3.2'
29
27
  end
@@ -127,7 +127,9 @@ module GithubStats
127
127
 
128
128
  def quartile_boundaries
129
129
  range = (0..scores.reject { |x| outliers.take(3).include? x }.max).to_a
130
- [0, *(1..3).map { |q| range[(q * range.size / 4) - 1] }, max.score]
130
+ mids = (1..3).map { |q| range[(q * range.size / 4) - 1] }
131
+ bounds = (mids + [max.score]).uniq.sort
132
+ [0] * (5 - bounds.size) + bounds
131
133
  end
132
134
 
133
135
  ##
@@ -0,0 +1 @@
1
+ [["2013/03/04",0],["2013/03/05",0],["2013/03/06",0],["2013/03/07",0],["2013/03/08",0],["2013/03/09",0],["2013/03/10",0],["2013/03/11",0],["2013/03/12",0],["2013/03/13",0],["2013/03/14",0],["2013/03/15",0],["2013/03/16",0],["2013/03/17",0],["2013/03/18",0],["2013/03/19",0],["2013/03/20",0],["2013/03/21",0],["2013/03/22",0],["2013/03/23",0],["2013/03/24",0],["2013/03/25",0],["2013/03/26",0],["2013/03/27",0],["2013/03/28",0],["2013/03/29",0],["2013/03/30",0],["2013/03/31",0],["2013/04/01",0],["2013/04/02",0],["2013/04/03",0],["2013/04/04",0],["2013/04/05",0],["2013/04/06",0],["2013/04/07",0],["2013/04/08",0],["2013/04/09",0],["2013/04/10",0],["2013/04/11",0],["2013/04/12",0],["2013/04/13",0],["2013/04/14",0],["2013/04/15",0],["2013/04/16",0],["2013/04/17",0],["2013/04/18",0],["2013/04/19",0],["2013/04/20",0],["2013/04/21",0],["2013/04/22",0],["2013/04/23",0],["2013/04/24",0],["2013/04/25",0],["2013/04/26",0],["2013/04/27",0],["2013/04/28",0],["2013/04/29",0],["2013/04/30",0],["2013/05/01",0],["2013/05/02",0],["2013/05/03",0],["2013/05/04",0],["2013/05/05",0],["2013/05/06",0],["2013/05/07",0],["2013/05/08",0],["2013/05/09",0],["2013/05/10",0],["2013/05/11",0],["2013/05/12",0],["2013/05/13",0],["2013/05/14",0],["2013/05/15",0],["2013/05/16",0],["2013/05/17",0],["2013/05/18",0],["2013/05/19",0],["2013/05/20",0],["2013/05/21",0],["2013/05/22",0],["2013/05/23",0],["2013/05/24",0],["2013/05/25",0],["2013/05/26",0],["2013/05/27",0],["2013/05/28",0],["2013/05/29",0],["2013/05/30",0],["2013/05/31",0],["2013/06/01",0],["2013/06/02",0],["2013/06/03",0],["2013/06/04",0],["2013/06/05",0],["2013/06/06",0],["2013/06/07",0],["2013/06/08",0],["2013/06/09",0],["2013/06/10",0],["2013/06/11",0],["2013/06/12",0],["2013/06/13",0],["2013/06/14",0],["2013/06/15",0],["2013/06/16",0],["2013/06/17",0],["2013/06/18",0],["2013/06/19",0],["2013/06/20",0],["2013/06/21",0],["2013/06/22",0],["2013/06/23",0],["2013/06/24",0],["2013/06/25",0],["2013/06/26",0],["2013/06/27",0],["2013/06/28",0],["2013/06/29",0],["2013/06/30",0],["2013/07/01",0],["2013/07/02",0],["2013/07/03",0],["2013/07/04",0],["2013/07/05",0],["2013/07/06",0],["2013/07/07",0],["2013/07/08",0],["2013/07/09",0],["2013/07/10",0],["2013/07/11",0],["2013/07/12",0],["2013/07/13",0],["2013/07/14",0],["2013/07/15",0],["2013/07/16",0],["2013/07/17",0],["2013/07/18",0],["2013/07/19",0],["2013/07/20",0],["2013/07/21",0],["2013/07/22",0],["2013/07/23",0],["2013/07/24",0],["2013/07/25",0],["2013/07/26",0],["2013/07/27",0],["2013/07/28",0],["2013/07/29",0],["2013/07/30",0],["2013/07/31",0],["2013/08/01",0],["2013/08/02",0],["2013/08/03",0],["2013/08/04",0],["2013/08/05",0],["2013/08/06",0],["2013/08/07",0],["2013/08/08",0],["2013/08/09",1],["2013/08/10",0],["2013/08/11",0],["2013/08/12",0],["2013/08/13",0],["2013/08/14",0],["2013/08/15",0],["2013/08/16",1],["2013/08/17",0],["2013/08/18",0],["2013/08/19",0],["2013/08/20",0],["2013/08/21",0],["2013/08/22",0],["2013/08/23",0],["2013/08/24",0],["2013/08/25",0],["2013/08/26",0],["2013/08/27",0],["2013/08/28",0],["2013/08/29",0],["2013/08/30",0],["2013/08/31",0],["2013/09/01",0],["2013/09/02",0],["2013/09/03",0],["2013/09/04",0],["2013/09/05",0],["2013/09/06",0],["2013/09/07",0],["2013/09/08",0],["2013/09/09",0],["2013/09/10",1],["2013/09/11",0],["2013/09/12",0],["2013/09/13",0],["2013/09/14",0],["2013/09/15",0],["2013/09/16",0],["2013/09/17",0],["2013/09/18",0],["2013/09/19",0],["2013/09/20",0],["2013/09/21",0],["2013/09/22",0],["2013/09/23",0],["2013/09/24",0],["2013/09/25",0],["2013/09/26",1],["2013/09/27",0],["2013/09/28",0],["2013/09/29",0],["2013/09/30",0],["2013/10/01",0],["2013/10/02",0],["2013/10/03",0],["2013/10/04",0],["2013/10/05",0],["2013/10/06",0],["2013/10/07",0],["2013/10/08",0],["2013/10/09",0],["2013/10/10",0],["2013/10/11",0],["2013/10/12",0],["2013/10/13",0],["2013/10/14",0],["2013/10/15",0],["2013/10/16",0],["2013/10/17",0],["2013/10/18",0],["2013/10/19",0],["2013/10/20",0],["2013/10/21",0],["2013/10/22",0],["2013/10/23",0],["2013/10/24",0],["2013/10/25",0],["2013/10/26",0],["2013/10/27",0],["2013/10/28",0],["2013/10/29",0],["2013/10/30",0],["2013/10/31",0],["2013/11/01",0],["2013/11/02",0],["2013/11/03",1],["2013/11/04",0],["2013/11/05",0],["2013/11/06",0],["2013/11/07",2],["2013/11/08",0],["2013/11/09",0],["2013/11/10",0],["2013/11/11",0],["2013/11/12",0],["2013/11/13",0],["2013/11/14",0],["2013/11/15",0],["2013/11/16",0],["2013/11/17",0],["2013/11/18",0],["2013/11/19",0],["2013/11/20",0],["2013/11/21",0],["2013/11/22",0],["2013/11/23",0],["2013/11/24",0],["2013/11/25",0],["2013/11/26",0],["2013/11/27",0],["2013/11/28",0],["2013/11/29",0],["2013/11/30",0],["2013/12/01",0],["2013/12/02",0],["2013/12/03",0],["2013/12/04",0],["2013/12/05",0],["2013/12/06",0],["2013/12/07",0],["2013/12/08",0],["2013/12/09",0],["2013/12/10",0],["2013/12/11",0],["2013/12/12",0],["2013/12/13",0],["2013/12/14",0],["2013/12/15",0],["2013/12/16",0],["2013/12/17",0],["2013/12/18",0],["2013/12/19",0],["2013/12/20",0],["2013/12/21",0],["2013/12/22",0],["2013/12/23",0],["2013/12/24",0],["2013/12/25",0],["2013/12/26",0],["2013/12/27",0],["2013/12/28",0],["2013/12/29",0],["2013/12/30",0],["2013/12/31",0],["2014/01/01",0],["2014/01/02",0],["2014/01/03",0],["2014/01/04",0],["2014/01/05",0],["2014/01/06",0],["2014/01/07",0],["2014/01/08",0],["2014/01/09",0],["2014/01/10",0],["2014/01/11",0],["2014/01/12",0],["2014/01/13",0],["2014/01/14",0],["2014/01/15",0],["2014/01/16",0],["2014/01/17",0],["2014/01/18",0],["2014/01/19",0],["2014/01/20",0],["2014/01/21",0],["2014/01/22",0],["2014/01/23",0],["2014/01/24",0],["2014/01/25",0],["2014/01/26",0],["2014/01/27",0],["2014/01/28",0],["2014/01/29",0],["2014/01/30",0],["2014/01/31",0],["2014/02/01",0],["2014/02/02",0],["2014/02/03",0],["2014/02/04",0],["2014/02/05",0],["2014/02/06",0],["2014/02/07",0],["2014/02/08",0],["2014/02/09",0],["2014/02/10",0],["2014/02/11",0],["2014/02/12",0],["2014/02/13",0],["2014/02/14",0],["2014/02/15",0],["2014/02/16",0],["2014/02/17",0],["2014/02/18",0],["2014/02/19",0],["2014/02/20",0],["2014/02/21",0],["2014/02/22",0],["2014/02/23",0],["2014/02/24",0],["2014/02/25",0],["2014/02/26",0],["2014/02/27",0],["2014/02/28",0],["2014/03/01",0],["2014/03/02",0],["2014/03/03",0],["2014/03/04",0]]
@@ -85,6 +85,25 @@
85
85
  "42": 4,
86
86
  "18": 3
87
87
  }
88
+ },
89
+ "lmatos": {
90
+ "date": "2014/03/04",
91
+ "today": 0,
92
+ "streaks": 6,
93
+ "longest_streak": 1,
94
+ "streak": 0,
95
+ "max": 2,
96
+ "mean": 0.0191,
97
+ "std_var": 0.1559,
98
+ "outliers": [],
99
+ "bounds": [0, 0, 0, 1, 2],
100
+ "quartiles": 0,
101
+ "quartile": {
102
+ "0": 0,
103
+ "1": 3,
104
+ "2": 4,
105
+ "3": null
106
+ }
88
107
  }
89
108
  }
90
109
 
@@ -13,110 +13,118 @@ describe GithubStats do
13
13
  end
14
14
 
15
15
  describe GithubStats::Data do
16
- @users = open('spec/examples/results') { |f| JSON.parse f.read }
17
- @users.each_key do |name|
18
- data = JSON.parse(open("spec/examples/#{name}.user") { |fh| fh.read })
19
- @users[name]['data'] = GithubStats::Data.new data
20
- end
16
+ shared_examples 'a datasource' do
17
+ let(:results) do
18
+ open('spec/examples/results') { |f| JSON.parse f.read }[subject]
19
+ end
20
+ let(:data) do
21
+ file = open("spec/examples/#{subject}.user") { |fh| fh.read }
22
+ GithubStats::Data.new JSON.parse(file)
23
+ end
21
24
 
22
- @users.each do |name, results|
23
- Timecop.freeze Date.parse(results['date'])
24
- data = results.delete('data')
25
+ before(:each) { Timecop.freeze Date.parse(results['date']) }
26
+ after(:each) { Timecop.return }
25
27
 
26
- context "for #{name}" do
27
- describe '#to_h' do
28
- it 'returns the data as a hash' do
29
- expect(data.to_h).to be_an_instance_of Hash
30
- end
28
+ describe '#to_h' do
29
+ it 'returns the data as a hash' do
30
+ expect(data.to_h).to be_an_instance_of Hash
31
31
  end
32
+ end
32
33
 
33
- describe '#today' do
34
- it 'returns the score for today' do
35
- expect(data.today).to eql results['today']
36
- end
34
+ describe '#today' do
35
+ it 'returns the score for today' do
36
+ expect(data.today).to eql results['today']
37
37
  end
38
+ end
38
39
 
39
- describe '#[]=' do
40
- it 'returns the score for a given day' do
41
- expect(data[results['date']]).to eql results['today']
42
- end
40
+ describe '#[]=' do
41
+ it 'returns the score for a given day' do
42
+ expect(data[results['date']]).to eql results['today']
43
43
  end
44
+ end
44
45
 
45
- describe '#scores' do
46
- it 'returns the scores as an array' do
47
- expect(data.scores).to be_an_instance_of Array
48
- expect(data.scores.size).to be 366
49
- end
46
+ describe '#scores' do
47
+ it 'returns the scores as an array' do
48
+ expect(data.scores).to be_an_instance_of Array
49
+ expect(data.scores.size).to be 366
50
50
  end
51
+ end
51
52
 
52
- describe '#streaks' do
53
- it 'returns all the streaks for a user' do
54
- expect(data.streaks.size).to eql results['streaks']
55
- end
53
+ describe '#streaks' do
54
+ it 'returns all the streaks for a user' do
55
+ expect(data.streaks.size).to eql results['streaks']
56
56
  end
57
+ end
57
58
 
58
- describe '#longest_streak' do
59
- it "returns the user's longest streak" do
60
- expect(data.longest_streak.size).to eql results['longest_streak']
61
- end
59
+ describe '#longest_streak' do
60
+ it "returns the user's longest streak" do
61
+ expect(data.longest_streak.size).to eql results['longest_streak']
62
62
  end
63
+ end
63
64
 
64
- describe '#streak' do
65
- it "returns a user's current streak" do
66
- expect(data.streak.size).to eql results['streak']
67
- end
65
+ describe '#streak' do
66
+ it "returns a user's current streak" do
67
+ expect(data.streak.size).to eql results['streak']
68
68
  end
69
+ end
69
70
 
70
- describe '#max' do
71
- it 'returns the highest score in the set' do
72
- expect(data.max.score).to eql results['max']
73
- end
71
+ describe '#max' do
72
+ it 'returns the highest score in the set' do
73
+ expect(data.max.score).to eql results['max']
74
74
  end
75
+ end
75
76
 
76
- describe '#mean' do
77
- it 'returns the mean score of the set' do
78
- expect(data.mean.round 4).to eql results['mean']
79
- end
77
+ describe '#mean' do
78
+ it 'returns the mean score of the set' do
79
+ expect(data.mean.round 4).to eql results['mean']
80
80
  end
81
+ end
81
82
 
82
- describe '#std_var' do
83
- it 'returns the standard variance of the set' do
84
- expect(data.std_var.round 4).to eql results['std_var']
85
- end
83
+ describe '#std_var' do
84
+ it 'returns the standard variance of the set' do
85
+ expect(data.std_var.round 4).to eql results['std_var']
86
86
  end
87
+ end
87
88
 
88
- describe '#outliers' do
89
- it 'returns the outliers for the distribution' do
90
- expect(data.outliers).to eql results['outliers']
91
- end
89
+ describe '#outliers' do
90
+ it 'returns the outliers for the distribution' do
91
+ expect(data.outliers).to eql results['outliers']
92
92
  end
93
+ end
93
94
 
94
- describe '#quartile_boundaries' do
95
- it 'returns a boundaries of the quartiles of the set' do
96
- expect(data.quartile_boundaries).to eql results['bounds']
97
- end
95
+ describe '#quartile_boundaries' do
96
+ it 'returns a boundaries of the quartiles of the set' do
97
+ expect(data.quartile_boundaries).to eql results['bounds']
98
98
  end
99
+ end
99
100
 
100
- describe '#quartiles' do
101
- it 'returns the quartiles for a user' do
102
- expect(data.quartiles[1].size).to eql results['quartiles']
103
- end
101
+ describe '#quartiles' do
102
+ it 'returns the quartiles for a user' do
103
+ expect(data.quartiles[1].size).to eql results['quartiles']
104
104
  end
105
+ end
105
106
 
106
- describe '#quartile' do
107
- it 'returns which quartile a point falls into' do
108
- results['quartile'].each do |p, q|
109
- expect(data.quartile(p.to_i)).to eql q
110
- end
107
+ describe '#quartile' do
108
+ it 'returns which quartile a point falls into' do
109
+ results['quartile'].each do |p, q|
110
+ expect(data.quartile(p.to_i)).to eql q
111
111
  end
112
112
  end
113
+ end
113
114
 
114
- describe '#pad' do
115
- it 'returns a padded dataset' do
116
- expect(data.pad.size % 7).to eql 0
117
- end
115
+ describe '#pad' do
116
+ it 'returns a padded dataset' do
117
+ expect(data.pad.size % 7).to eql 0
118
118
  end
119
119
  end
120
120
  end
121
+
122
+ users = open('spec/examples/results') { |f| JSON.parse f.read }.keys
123
+ users.each do |user|
124
+ describe "for #{user}" do
125
+ subject { user }
126
+ include_examples 'a datasource'
127
+ end
128
+ end
121
129
  end
122
130
  end
metadata CHANGED
@@ -1,169 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-16 00:00:00.000000000 Z
11
+ date: 2014-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.8.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: json
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 0.8.5
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: basiccache
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ">="
31
+ - - ~>
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: 0.1.0
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - ~>
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: 0.1.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: timecop
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - ~>
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: 0.7.1
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - ~>
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: 0.7.1
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rubocop
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ">="
59
+ - - ~>
74
60
  - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: 0.19.0
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ">="
66
+ - - ~>
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: 0.19.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: travis-lint
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ">="
73
+ - - ~>
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: 1.8.0
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ">="
80
+ - - ~>
95
81
  - !ruby/object:Gem::Version
96
- version: '0'
82
+ version: 1.8.0
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: rake
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
- - - ">="
87
+ - - ~>
102
88
  - !ruby/object:Gem::Version
103
- version: '0'
89
+ version: 10.1.1
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - ">="
94
+ - - ~>
109
95
  - !ruby/object:Gem::Version
110
- version: '0'
96
+ version: 10.1.1
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: coveralls
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - ">="
101
+ - - ~>
116
102
  - !ruby/object:Gem::Version
117
- version: '0'
103
+ version: 0.7.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - ">="
108
+ - - ~>
123
109
  - !ruby/object:Gem::Version
124
- version: '0'
110
+ version: 0.7.0
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: rspec
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
- - - ">="
115
+ - - ~>
130
116
  - !ruby/object:Gem::Version
131
- version: '0'
117
+ version: 2.14.1
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
- - - ">="
122
+ - - ~>
137
123
  - !ruby/object:Gem::Version
138
- version: '0'
124
+ version: 2.14.1
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: fuubar
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: parser
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
129
+ - - ~>
158
130
  - !ruby/object:Gem::Version
159
- version: '0'
131
+ version: 1.3.2
160
132
  type: :development
161
133
  prerelease: false
162
134
  version_requirements: !ruby/object:Gem::Requirement
163
135
  requirements:
164
- - - ">="
136
+ - - ~>
165
137
  - !ruby/object:Gem::Version
166
- version: '0'
138
+ version: 1.3.2
167
139
  description: Pulls the statistics from Github's user contribution chart and provides
168
140
  an interface for analyzing that data
169
141
  email: me@lesaker.org
@@ -172,10 +144,10 @@ executables:
172
144
  extensions: []
173
145
  extra_rdoc_files: []
174
146
  files:
175
- - ".gitignore"
176
- - ".rspec"
177
- - ".rubocop.yml"
178
- - ".travis.yml"
147
+ - .gitignore
148
+ - .rspec
149
+ - .rubocop.yml
150
+ - .travis.yml
179
151
  - Gemfile
180
152
  - LICENSE
181
153
  - README.md
@@ -187,6 +159,7 @@ files:
187
159
  - spec/examples/akerl.user
188
160
  - spec/examples/fly.user
189
161
  - spec/examples/leematos.user
162
+ - spec/examples/lmatos.user
190
163
  - spec/examples/mikegrb.user
191
164
  - spec/examples/results
192
165
  - spec/examples/torvalds.user
@@ -203,12 +176,12 @@ require_paths:
203
176
  - lib
204
177
  required_ruby_version: !ruby/object:Gem::Requirement
205
178
  requirements:
206
- - - ">="
179
+ - - '>='
207
180
  - !ruby/object:Gem::Version
208
181
  version: '0'
209
182
  required_rubygems_version: !ruby/object:Gem::Requirement
210
183
  requirements:
211
- - - ">="
184
+ - - '>='
212
185
  - !ruby/object:Gem::Version
213
186
  version: '0'
214
187
  requirements: []
@@ -221,6 +194,7 @@ test_files:
221
194
  - spec/examples/akerl.user
222
195
  - spec/examples/fly.user
223
196
  - spec/examples/leematos.user
197
+ - spec/examples/lmatos.user
224
198
  - spec/examples/mikegrb.user
225
199
  - spec/examples/results
226
200
  - spec/examples/torvalds.user