sourcing 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 +4 -4
- data/lib/sourcing/person.rb +6 -0
- data/lib/sourcing/version.rb +1 -1
- data/sourcing.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 733119035d9561322c059e3959b6c9c13fd65fc7
|
4
|
+
data.tar.gz: 8614ed2da8858003f792396cd1ab7792a9fb6bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8f9bbd08b2cd211110e5c80095e4bd89d9a8d89c204e7613f34943ce1c778829da8d5f329de59989bcae6d8366f88b264e4dae795604943ee97fe54298ad158
|
7
|
+
data.tar.gz: d6dcf3981b0d62e042397dbe50097418541d7bbfe0948d872bf89235eb8cd28efb078ecfe45a576cc5fcaf725b2f48288ce08426b3aeaaac71c7a601ff1e6947
|
data/lib/sourcing/person.rb
CHANGED
@@ -16,6 +16,12 @@ module Sourcing
|
|
16
16
|
if email = values[:email]
|
17
17
|
self.new(get(uri(:email, email), params, options))
|
18
18
|
|
19
|
+
if twitter = values[:twitter]
|
20
|
+
self.new(get(uri(:twitter, twitter), params, options))
|
21
|
+
|
22
|
+
if github = values[:github]
|
23
|
+
self.new(get(uri(:github, github), params, options))
|
24
|
+
|
19
25
|
elsif id = values[:id]
|
20
26
|
self.new(get(id, params, options))
|
21
27
|
|
data/lib/sourcing/version.rb
CHANGED
data/sourcing.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["alex@sourcing.io"]
|
11
11
|
spec.description = %q{API client for sourcing.io}
|
12
12
|
spec.summary = %q{API client for sourcing.io}
|
13
|
-
spec.homepage = "https://sourcing
|
14
|
-
spec.license = ""
|
13
|
+
spec.homepage = "https://github.com/maccman/sourcing-ruby"
|
14
|
+
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sourcing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex MacCaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -69,9 +69,9 @@ files:
|
|
69
69
|
- lib/sourcing/person.rb
|
70
70
|
- lib/sourcing/version.rb
|
71
71
|
- sourcing.gemspec
|
72
|
-
homepage: https://sourcing
|
72
|
+
homepage: https://github.com/maccman/sourcing-ruby
|
73
73
|
licenses:
|
74
|
-
-
|
74
|
+
- MIT
|
75
75
|
metadata: {}
|
76
76
|
post_install_message:
|
77
77
|
rdoc_options: []
|