fb_graph_ruby 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7a1d8e511f5d85577c7183650b219092bf67674
4
- data.tar.gz: 37730cf5ef27f14e4cee666f05e7a55e89f92eab
3
+ metadata.gz: 095108092c98e78fe8530d44b1b75f1048f7f479
4
+ data.tar.gz: 5bbc30673b1fc410ba85559cadfdabae32af89ef
5
5
  SHA512:
6
- metadata.gz: 0e911ca46ce3760b8928e9410cc34ea23f16bf2f7145393aa292f042026887e53e0320dee5a869949477cc85527b4f1b5c67269c4b9fb3fdd39cc3d2f559f100
7
- data.tar.gz: e3d808cffc8fd659f4b7777170dce7a1f7bed7c723a443af37f0cf4f201d820e92883d33fb003a543c9e44bd47999fe8857f1496e8fc29ff476ba5d72a6370f7
6
+ metadata.gz: e4b1ecbea8fa29e07b610cd4048d954ff2dd32e263eaa529f3c7ae027ac0c7d3f27e3eef00f3ad2ba44aeae24796876ada30ca9b35c82c2b7f2bc40de179a136
7
+ data.tar.gz: e572af804e56ae5e0fc099170c0c749c7bd6e5b8e28d968a57398c47ef8f6cb5d022b21b15b6c88ee9e3bad87e32b66e668d6907bc4e1f70469ea60553c4a0a5
data/README.md CHANGED
@@ -75,7 +75,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
75
75
 
76
76
  ## Contributing
77
77
 
78
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fb_graph_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
78
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ZhuChara2004/fb_graph_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
79
79
 
80
80
  ## License
81
81
 
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'bundler', '~> 1.15'
33
33
  spec.add_development_dependency 'rake', '~> 10.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
35
- spec.add_development_dependency 'httparty', '~> 0.15.5'
35
+ spec.add_runtime_dependency 'httparty', '~> 0.15.5'
36
36
  end
@@ -10,7 +10,7 @@ module FbGraphRuby
10
10
  end
11
11
 
12
12
  def self.send_message(fb_id, payload, access_token)
13
- uri = "https://graph.facebook.com/v2.9/me/messages"
13
+ uri = 'https://graph.facebook.com/v2.9/me/messages'
14
14
  query = { access_token: access_token }
15
15
  headers = { 'Content-Type' => 'application/json' }
16
16
  body = {
@@ -19,6 +19,5 @@ module FbGraphRuby
19
19
  }.to_json
20
20
  HTTParty.post(uri, query: query, headers: headers, body: body).parsed_response
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -1,3 +1,3 @@
1
1
  module FbGraphRuby
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_graph_ruby
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
  - Dmitry Zhuk
@@ -59,7 +59,7 @@ dependencies:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.15.5
62
- type: :development
62
+ type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements: