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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a9b25173520896cbdd7d47c2b7a18c19022b199
4
- data.tar.gz: 41173e061c58c3417c68cc19293ae5c6ccf0e06d
3
+ metadata.gz: 98fa2d1da00742bcf318b72f1fe24ddd830f7087
4
+ data.tar.gz: dad40fe6a7104de1a71a9a0c9986dd64c6b61d27
5
5
  SHA512:
6
- metadata.gz: d04436ef921a63fc4e1f712ee2bd90bd9118e23e02539ef02c81ae870f148e4563ce5d8f3602d29fe1031fe1dbf5fd4e7b9e15bfed1578c523cb9e33b74f38fb
7
- data.tar.gz: 06d27eab98ea81dfa76af8c7a686eeb462f86ebc3ee3dbbc6cb3d096ea0149ec5bd58e00202a9a2e56ca3d8b698ac62f5677c189422739d8301bc777da46e61d
6
+ metadata.gz: 15a2f74599b77ad331d2c632cf6439d52b2a40fd3894e2b7f34d6db7fdc72799e7243d6950c47d3cecd3aecfcdf6b69035b2911a863c9b024ed33805ffad2928
7
+ data.tar.gz: 61dd86b2fd9e77cb002208c5ceaad4b7e3f11dd4efd5ca2ee059334b64e714849da6e3b4f436e05ff85ec22303ba4d954320613b8cc1c2af4688748ab35a085d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- traitify (1.2.0)
4
+ traitify (1.3.0)
5
5
  faraday (~> 0.9.0)
6
6
  faraday_middleware (~> 0.9.0)
7
7
  hashie
@@ -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) }
@@ -1,3 +1,3 @@
1
1
  module Traitify
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
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.2.0
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-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie