user_engage 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18d99b1ccd39a659cb6733181ebf2ae75c6739e8
4
- data.tar.gz: 04021ad99abf006227beebd175be14235e0861f7
3
+ metadata.gz: 622b8dff1158bde62a8a5f01046aa6bc750f445c
4
+ data.tar.gz: 19cc5d71c2436aa40c48f2577ab3a1e6f42046c2
5
5
  SHA512:
6
- metadata.gz: 7f140559b269a4d0f20ee217eddfc9ea3551026f55f9f9634b6f20f1233c51ba276912cbc98b06cebc082ba7f8cbda03f7de22909eb3d2d330c2a6ae3e14fcd5
7
- data.tar.gz: 369dcedfd288b570d2836faadac8caf1f1e3ca2d8033440095d5bf40609eac77eeee2ff7d651c3b664eeeef334194a6dbeaf824d31d2333daf4ed288691b6688
6
+ metadata.gz: d0b7b11aea98647c678dc47d55f38c79d88ff4c2309a2e8d35967e3d1e42991e0f576892c95720f2990e0d797ee39c2a6285cbad3efc37cc6a12f1e6bc63dc53
7
+ data.tar.gz: 65c524526a34092ecde35a7497f26e2b26f52697eef2ab4d1eb3e539f2af6b2a9cbce1f6b3f2b433912e57f98782f26d96f793c20ca43cd5ca9191b815027078
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- user_engage (0.0.2)
4
+ user_engage (0.0.3)
5
5
  dry-struct (~> 0.4)
6
- faraday (~> 0.14)
6
+ faraday (>= 0.13)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 TODO: Write your name
3
+ Copyright (c) 2018 CompanyMood GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -20,6 +20,8 @@ Or install it yourself as:
20
20
 
21
21
  ## Basic Usage
22
22
 
23
+ NOTE: It's important to have access to the UserEngage API package.
24
+
23
25
  First, setup your UserEngage configuration.
24
26
  Get yourself an API access token [here](https://app.userengage.com/api/YVSXSB/credentials/) and set it like
25
27
 
@@ -29,7 +31,16 @@ UserEngage.config do |config|
29
31
  end
30
32
  ```
31
33
 
32
- NOTE: It's important to have access to the UserEngage API package.
34
+ Then query models or delete them like
35
+
36
+ ```ruby
37
+ user = UserEngage::User.find(email: 'markus@company-mood.com')
38
+ # => <#UserEngage::User id:12345 email:...>
39
+
40
+ user.destroy
41
+ # => true
42
+ ```
43
+
33
44
 
34
45
  ## Development
35
46
 
@@ -1,3 +1,3 @@
1
1
  module UserEngage
2
- VERSION = '0.0.2'.freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
data/user_engage.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.add_runtime_dependency 'dry-struct', '~> 0.4'
27
- spec.add_runtime_dependency 'faraday', '~> 0.14'
27
+ spec.add_runtime_dependency 'faraday', '>= 0.13'
28
28
 
29
29
  spec.add_development_dependency 'bundler', '~> 1.16'
30
30
  spec.add_development_dependency 'dotenv', '~> 2.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_engage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schwed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-03 00:00:00.000000000 Z
11
+ date: 2018-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.14'
33
+ version: '0.13'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0.14'
40
+ version: '0.13'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement