hubstats 0.11.4 → 0.11.5

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: 3fc079b6e63d5a5fc7ee4503e35820ea54e09424
4
- data.tar.gz: 46597aad8e5b14d15754cd6e4e04285e479f6b41
3
+ metadata.gz: 43b7ce7ce63ba3197fb8ed511b41d3b593ca89d9
4
+ data.tar.gz: 32c9e049150cd33be68b6cc35a235fb35fa0bca3
5
5
  SHA512:
6
- metadata.gz: 353bd5e9cea0e12d4fd12b28fda94093936c854638ecf660f1f854651ce9a82ea3f5693eb5cb29771b995209953a6bad131004946268a700709db3554b76cc06
7
- data.tar.gz: 5da5b406669dff022fab684b6f9cef6098793176f2b423ffa77ced20580accf6609555389fa47a72a3791a7629095f009b26d69520ffad11f9e2bbcf9681a105
6
+ metadata.gz: 1f68d91f7c8a1737a01aab36d0ddc6f6b084ae87803e1554747a78d7b36adc00d7b2e95582e6d886a87c3871abe6739c5978b09a840ff0ec2b674e167999a8b1
7
+ data.tar.gz: bbc7eefc57d3830ff5d627a2d35f880db73e2d5ad8a5d871f4ff18abed08acd5330b8f18e350659e03470ff15be86233f49cf377e58f5e18f1f10babceacd6a5
data/.soyuz.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  defaults:
2
2
  deploy_cmd: gem push *.gem
3
3
  before_deploy_cmds:
4
- - /usr/local/bin/op tag-release
4
+ # - /usr/local/bin/op tag-release
5
5
  - sed -i "" -e "s/\".*/\"$(git tag| sed s/v// | sort -n -t. -k1,1 -k2,2 -k3,3 | tail -1)\"/" lib/hubstats/version.rb
6
6
  - git add lib/hubstats/version.rb
7
7
  - git commit -m "Version Bump" && git push
@@ -1,3 +1,8 @@
1
+ #### v0.11.5
2
+ * Fix bug where adding repositories will break if there are no commits
3
+
4
+ > Emma Sax: AJ Stuyvenberg, Unknown User: https://github.com/sportngin/hubstats/pull/131
5
+
1
6
  #### v0.11.4
2
7
  #### v0.11.3
3
8
  #### v0.11.2
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.11.4"
2
+ VERSION = "0.11.5"
3
3
  end
@@ -71,9 +71,10 @@ namespace :hubstats do
71
71
  repo = repo_checker(args[:repo])
72
72
  puts "Adding contributors to " + repo.full_name
73
73
 
74
- Hubstats::GithubAPI.client({:auto_paginate => true}).contribs(repo.full_name).each do |contributor|
74
+ users = Hubstats::GithubAPI.client({:auto_paginate => true}).contribs(repo.full_name)
75
+ users.each do |contributor|
75
76
  cont = Hubstats::User.create_or_update(contributor)
76
- end
77
+ end unless users == "" # there are no contributors because there are no commits yet
77
78
  end
78
79
 
79
80
  desc "Pull comments from Github saves in database"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -9,174 +9,174 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-11-06 00:00:00.000000000 Z
12
+ date: 2018-02-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '4.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '4.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: octokit
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '4.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '4.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: will_paginate-bootstrap
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: '1.0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: '1.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: select2-rails
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: sass-rails
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: bootstrap-datepicker-rails
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
90
  version: '1.5'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ~>
96
96
  - !ruby/object:Gem::Version
97
97
  version: '1.5'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: mysql2
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.3.2
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
111
  version: 0.3.2
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rspec-rails
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: '3.4'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
125
  version: '3.4'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: shoulda-matchers
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ~>
131
131
  - !ruby/object:Gem::Version
132
132
  version: '2.8'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ~>
138
138
  - !ruby/object:Gem::Version
139
139
  version: '2.8'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: factory_girl_rails
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "~>"
144
+ - - ~>
145
145
  - !ruby/object:Gem::Version
146
146
  version: '4.5'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: '4.5'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: faker
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
160
  version: '1.6'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "~>"
165
+ - - ~>
166
166
  - !ruby/object:Gem::Version
167
167
  version: '1.6'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: test-unit
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - "~>"
172
+ - - ~>
173
173
  - !ruby/object:Gem::Version
174
174
  version: '3.1'
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - "~>"
179
+ - - ~>
180
180
  - !ruby/object:Gem::Version
181
181
  version: '3.1'
182
182
  description: Github Statistics
@@ -187,14 +187,14 @@ executables: []
187
187
  extensions: []
188
188
  extra_rdoc_files: []
189
189
  files:
190
- - ".codeclimate.yml"
191
- - ".gitignore"
192
- - ".octopolo.yml"
193
- - ".rspec"
194
- - ".ruby-gemset"
195
- - ".ruby-version"
196
- - ".soyuz.yml"
197
- - ".travis.yml"
190
+ - .codeclimate.yml
191
+ - .gitignore
192
+ - .octopolo.yml
193
+ - .rspec
194
+ - .ruby-gemset
195
+ - .ruby-version
196
+ - .soyuz.yml
197
+ - .travis.yml
198
198
  - CHANGELOG.markdown
199
199
  - Gemfile
200
200
  - MIT-LICENSE
@@ -397,12 +397,12 @@ require_paths:
397
397
  - lib
398
398
  required_ruby_version: !ruby/object:Gem::Requirement
399
399
  requirements:
400
- - - ">="
400
+ - - '>='
401
401
  - !ruby/object:Gem::Version
402
402
  version: '0'
403
403
  required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  requirements:
405
- - - ">="
405
+ - - '>='
406
406
  - !ruby/object:Gem::Version
407
407
  version: '0'
408
408
  requirements: []