headquarters 0.0.4 → 0.0.5

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: 46f7c1f78346dd5738ebf4e552bdd9f47ea3b023
4
- data.tar.gz: 8ebb7cfe8c02295cdc5872773421e326ffcec985
3
+ metadata.gz: afc4f5e571284c21746e83b7457fd94dd0feec1b
4
+ data.tar.gz: 14577eacaab16328632a32ede0cbdee1bf4d99b3
5
5
  SHA512:
6
- metadata.gz: bd55eb0cd883edc6823468dd3d546a317c16d25b50d114511fa8c97baaf6a2b4842f13f01fd53991e5c89b06ab756c1a446a4fc079e732eb600bcd0675aadc93
7
- data.tar.gz: bbbde0658ef112828cb1517c8b1ab56aa77a210d9b82d2d6101a7b35d0a21653ea4241f9a3f70245239484e34ad4f654ceab5310300cdf349641248eb8710221
6
+ metadata.gz: 38d64c88a6eed07104f2731359d5c44658e0bf3d36fca2af8f95b03ce8b7b9ec0c22d76c1111336e6871eef13bbe19c163a60b591977c6a9044d1563002eca3f
7
+ data.tar.gz: 8ee901697e26cd0656c63c38fd430974e155c74f55d0c2aeaef77cc60d2291549b15b23213655c4ad189359076d909ce6fd14dd40fde889a03b72ba5c94eaf4b
@@ -1,5 +1,7 @@
1
- class Headquarters::Members
2
- def self.all
3
- Requests.get_json('/members')
1
+ module Headquarters
2
+ class Members
3
+ def self.all
4
+ Requests.get_json('/members')
5
+ end
4
6
  end
5
7
  end
@@ -1,10 +1,12 @@
1
1
  require 'httparty'
2
2
 
3
- class Headquarters::Requests
4
- include ::HTTParty
5
- base_uri 'hq.groupbuddies.com'
3
+ module Headquarters
4
+ class Requests
5
+ include ::HTTParty
6
+ base_uri 'hq.groupbuddies.com'
6
7
 
7
- def self.get_json(path)
8
- get(path).to_json
8
+ def self.get_json(path)
9
+ get(path).to_json
10
+ end
9
11
  end
10
12
  end
@@ -1,3 +1,3 @@
1
1
  module Headquarters
2
- VERSION = "0.0.4"
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headquarters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Palhas