traitify 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/traitify/client/results.rb +7 -0
- data/lib/traitify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fa2d1da00742bcf318b72f1fe24ddd830f7087
|
4
|
+
data.tar.gz: dad40fe6a7104de1a71a9a0c9986dd64c6b61d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15a2f74599b77ad331d2c632cf6439d52b2a40fd3894e2b7f34d6db7fdc72799e7243d6950c47d3cecd3aecfcdf6b69035b2911a863c9b024ed33805ffad2928
|
7
|
+
data.tar.gz: 61dd86b2fd9e77cb002208c5ceaad4b7e3f11dd4efd5ca2ee059334b64e714849da6e3b4f436e05ff85ec22303ba4d954320613b8cc1c2af4688748ab35a085d
|
data/Gemfile.lock
CHANGED
@@ -21,6 +21,13 @@ module Traitify
|
|
21
21
|
end
|
22
22
|
alias_method :find_assessment_personality_traits, :assessment_personality_traits
|
23
23
|
|
24
|
+
def raw_personality_traits(assessment_id)
|
25
|
+
get("/assessments/#{assessment_id}/personality_traits/raw").collect do |personality_trait|
|
26
|
+
Hashie::Mash.new(personality_trait)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
alias_method :find_personality_traits, :raw_personality_traits
|
30
|
+
|
24
31
|
def career_matches(assessment_id, number_of_matches=10)
|
25
32
|
response = get("/assessments/#{assessment_id}/matches/careers?number_of_matches=#{number_of_matches}")
|
26
33
|
response.collect { |career| Hashie::Mash.new(career) }
|
data/lib/traitify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traitify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Prats
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|