driftrock-service 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.version = Driftrock::Service::VERSION
9
9
  gem.authors = ["Max"]
10
10
  gem.email = ["max.dupenois@forward.co.uk"]
11
- gem.description = %q{Gem for talking to the driftrock apu}
11
+ gem.description = %q{Gem for talking to the driftrock api}
12
12
  gem.summary = %q{Maintains the api endpoints and the calls to them with authorisation, etc.}
13
13
  gem.homepage = "https://github.com/forward/driftrock-service"
14
14
 
@@ -9,6 +9,10 @@ module Driftrock
9
9
  get(ENDPOINT+'/'+channel.to_s, opts)
10
10
  end
11
11
 
12
+ def driftrock_query(query)
13
+ get(ENDPOINT+'/query', {query: query})
14
+ end
15
+
12
16
  end
13
17
  end
14
18
  end
@@ -1,5 +1,5 @@
1
1
  module Driftrock
2
2
  module Service
3
- VERSION = "0.1.9"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,49 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: driftrock-service
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.9
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.2.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Max
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-16 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2013-05-22 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: httparty
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
17
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
18
+ requirement: &id001 !ruby/object:Gem::Requirement
25
19
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
31
27
  name: rspec
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
28
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
29
+ requirement: &id002 !ruby/object:Gem::Requirement
41
30
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- description: Gem for talking to the driftrock apu
47
- email:
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ type: :development
36
+ version_requirements: *id002
37
+ description: Gem for talking to the driftrock api
38
+ email:
48
39
  - max.dupenois@forward.co.uk
49
40
  executables: []
41
+
50
42
  extensions: []
43
+
51
44
  extra_rdoc_files: []
52
- files:
45
+
46
+ files:
53
47
  - .gitignore
54
48
  - Gemfile
55
49
  - LICENSE.txt
@@ -70,29 +64,32 @@ files:
70
64
  - spec/spec_helper.rb
71
65
  homepage: https://github.com/forward/driftrock-service
72
66
  licenses: []
67
+
73
68
  post_install_message:
74
69
  rdoc_options: []
75
- require_paths:
70
+
71
+ require_paths:
76
72
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
73
+ required_ruby_version: !ruby/object:Gem::Requirement
78
74
  none: false
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: "0"
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
80
  none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: "0"
89
85
  requirements: []
86
+
90
87
  rubyforge_project:
91
88
  rubygems_version: 1.8.24
92
89
  signing_key:
93
90
  specification_version: 3
94
91
  summary: Maintains the api endpoints and the calls to them with authorisation, etc.
95
- test_files:
92
+ test_files:
96
93
  - spec/administrative_api_spec.rb
97
94
  - spec/models/administrative_api_test.rb
98
95
  - spec/spec_helper.rb