hublingo 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +1 -1
  3. data/lib/hublingo.rb +5 -2
  4. metadata +16 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTU0NTY5YzgyZWRmOTkyYzUxNzY2YzczODdlZjczYjU1ZmQ1Zjk3MA==
4
+ ZjhmMDMzYmE0OGUwNTYzYWEwMTYyODhkYTA1ZTBjYTIzNDE1MTkyYg==
5
5
  data.tar.gz: !binary |-
6
- ZjI1MTgyOTc1MzdiYjI0MTgxYWFmOTVhNGRhMTZhNjI5MGMzYjk1NA==
6
+ ODc1ZmQ0YjExM2Y2YmQxNzk2NmNiMWRiYTA4OTk0YjVjNDRjY2FiNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTRhMzUwZGUwMGJmNmMzYmI4MzY3NzM2NWE5NTk2ZmFjZDJiNjg2Y2EzZjI5
10
- NGViNDQyMDk2OWY4YmFjYmQyM2NmY2NiMDYxZTNhZjFkNzE1OGI0MjQ4NGQ0
11
- OWJlMTliYjM2YmE3NGQyMTQ0ODBmNTlmYTQzZGIzNWVjZDc0M2Y=
9
+ MDkzZjE5MTcwY2ZhZjczYmJiZmJkODUyN2U4MjFjNjU1Y2M5MmU4ZDRhMDU1
10
+ YjUxMjY3NGVlY2VjODNkZTc3NjY5YzQzOTQyMDFhYTdkNjgxYjYzMWVjYTUw
11
+ MjllN2E5Yzg4NDFhYTkwZjJmMGQ4ZGIxZjIzY2Q3NGVhNTkzYWY=
12
12
  data.tar.gz: !binary |-
13
- MGQzNmI2ZjRiMmZjNTMxMjY0ODkwNDhiNzUzN2U2ZmU2Yzg1NTc4MzM0YmQ4
14
- ZTA4MDk2ZjRiM2NkYTc5OGIzOTgzNzQzMjRmODVkMWQyM2JiY2FmOGU4Y2Jm
15
- MWIxNmFkZTk2ZDI2MzkwMTAxZDc3NGM1OTE1YzQ1MTExMmU3N2M=
13
+ NTIwZWZjMWRiMmRkMDIzNmQ1N2MwNThmNDY1MDM1Y2Q0ZTAyNTVhZGNiYzlm
14
+ N2IzZmYwYTVlY2MxMzBlMGM1NjI5ZmJlMDRkZjM4ODQwYTI1YzgwZTJiZjU1
15
+ MjgyOGZmODY4MWY5OGNiMjU1NTBhZmViZGExZTQ0NzM0YmY3NTk=
data/README.md CHANGED
@@ -16,4 +16,4 @@ NOTES:
16
16
 
17
17
  This whole project, the gem and application, was completed in 3 1/2 hours.
18
18
 
19
- I published it as a gem for giggles only. Hence no tests!
19
+ I published it as a gem for giggles only.
@@ -40,9 +40,12 @@ class Hublingo
40
40
  frequencies[field] += 1
41
41
  end
42
42
  end
43
- frequencies.sort_by {|k, v| - v}.first.first.to_s
44
- return frequencies
43
+ return pick
45
44
  end
46
45
  false
47
46
  end
47
+
48
+ def pick
49
+ frequencies.sort_by {|k, v| - v}.first.first.to_s
50
+ end
48
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hublingo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Goodchild
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 4.7.3
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.7.3
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: octokit
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -45,7 +59,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
59
  requirements:
46
60
  - - ! '>='
47
61
  - !ruby/object:Gem::Version
48
- version: '0'
62
+ version: 1.9.3
49
63
  required_rubygems_version: !ruby/object:Gem::Requirement
50
64
  requirements:
51
65
  - - ! '>='