event_girl_client 1.2.0 → 1.2.1

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: 45d48f71187bb05f54d7234c221a05162e2867c3
4
- data.tar.gz: 0e40be2d59046a776e3a9949b5bedef83b21bbe4
3
+ metadata.gz: 19225342fc094ba686963b1f58fae75f20ef898e
4
+ data.tar.gz: 2d0474cbda8e1b5aa157d5b345bf343f03730a4a
5
5
  SHA512:
6
- metadata.gz: 986ef878eb244739f99301f321ae95684feae7f9e7a02898c96bdbff271776f5c08d42630e6e50c408b29ca6743831475214e758e8a1545cb6d819df2084163b
7
- data.tar.gz: 22bfed4e7ecd0d16f5cc9d404a3be5eb1154963c3c68e7e042542cbd8a1601a9ff3044b458fe9b737c7de9b12e803de6c8ab5c4a44ebd5d6dd2fd11fd689a0c2
6
+ metadata.gz: 0a0506223f5562e4bda6c584a443e082db687485aa4ec412871b61ed880d7fd0afb9938717544711b5136d1ae22f63a3b30c1f98e7b32c9b210b9eee7ced1fad
7
+ data.tar.gz: 195e8043a778baea78a46cac1a26ded07539ac586d96edc0a5c9a62389a2d9eb3054e3a1306c68ed203f45bbebcc1128203784b342d728e04648e7d8d388bab1
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.2.0
4
+ - Fix openssl requirement
5
+
3
6
  ## v1.2.0
4
7
  - Add support for optional content parameter
5
8
  - EventGirl::Client.send_event is deprecated, use #send! instead
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # EventGirlClient [![Code Climate](https://codeclimate.com/github/Absolventa/event_girl_client.png)](https://codeclimate.com/github/Absolventa/event_girl_client) [![Build Status](https://travis-ci.org/Absolventa/event_girl_client.png?branch=master)](https://travis-ci.org/Absolventa/event_girl_client)
1
+ # EventGirlClient [![Code Climate](https://codeclimate.com/github/Absolventa/event_girl_client.png)](https://codeclimate.com/github/Absolventa/event_girl_client) [![Build Status](https://travis-ci.org/Absolventa/event_girl_client.png?branch=master)](https://travis-ci.org/Absolventa/event_girl_client) [![Gem Version](https://badge.fury.io/rb/event_girl_client.png)](http://badge.fury.io/rb/event_girl_client)
2
2
 
3
3
  EventGirlClient can be used in your own app to send
4
4
  events to an external Event Girl Application such as
@@ -43,7 +43,12 @@ Create a remote side and get its API token via the Event Girl application.
43
43
  Create an instance and start sending events:
44
44
 
45
45
  client = EventGirl::Client.new('http://example.com', 'mytoken')
46
- client.send_event 'hello from event girl client'
46
+ client.send! 'hello from event girl client'
47
+
48
+ You can optionally send additional payload data:
49
+
50
+ client = EventGirl::Client.new('http://example.com', 'mytoken')
51
+ client.send! 'hello from event girl client', 'Optional additional data that will not be matched'
47
52
 
48
53
  ## Contributing
49
54
 
@@ -1,12 +1,13 @@
1
1
  require 'net/http'
2
2
  require 'uri'
3
+ require 'openssl'
3
4
 
4
5
  require 'rubygems'
5
6
 
6
7
  module EventGirl
7
8
  class Client
8
9
 
9
- VERSION = '1.2.0'
10
+ VERSION = '1.2.1'
10
11
 
11
12
  # Class-wide configuration
12
13
  @@api_token = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_girl_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Susanne Dewein
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-08 00:00:00.000000000 Z
13
+ date: 2013-10-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.0.3
115
+ rubygems_version: 2.1.9
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby client library to connect to event_girl app