bcs-interrogator 0.0.2 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -6
  3. data/lib/brewery_control_system.rb +106 -0
  4. data/lib/brewery_control_system/api.rb +94 -0
  5. data/lib/brewery_control_system/api/3.7.0/bcs_sys.rb +158 -0
  6. data/lib/brewery_control_system/api/3.7.0/device_endpoint.rb +25 -0
  7. data/lib/brewery_control_system/api/3.7.0/endpoint.rb +48 -0
  8. data/lib/brewery_control_system/api/3.7.0/setpoints.rb +15 -0
  9. data/lib/brewery_control_system/api/3.7.0/sysname.rb +247 -0
  10. data/lib/brewery_control_system/api/3.7.0/temperature_probe_names_endpoint.rb +21 -0
  11. data/lib/brewery_control_system/api/3.7.0/temperature_probes_endpoint.rb +42 -0
  12. data/lib/brewery_control_system/api/3.7.0/temps.rb +15 -0
  13. data/lib/brewery_control_system/api/3.7.0/ultemp.rb +117 -0
  14. data/lib/brewery_control_system/api/device.rb +8 -0
  15. data/lib/brewery_control_system/api/server_version.rb +7 -0
  16. data/lib/brewery_control_system/api/version_check.rb +26 -0
  17. data/lib/brewery_control_system/http_service.rb +27 -0
  18. data/lib/brewery_control_system/http_service/user_agent.rb +33 -0
  19. data/lib/brewery_control_system/input.rb +4 -0
  20. data/lib/brewery_control_system/middleware.rb +5 -0
  21. data/lib/brewery_control_system/middleware/registration.rb +18 -0
  22. data/lib/brewery_control_system/output.rb +4 -0
  23. data/lib/brewery_control_system/temperature_probe.rb +4 -0
  24. data/lib/brewery_control_system/version.rb +6 -0
  25. data/spec/spec_helper.rb +6 -1
  26. metadata +48 -80
  27. data/lib/bcs_interrogator.rb +0 -36
  28. data/lib/bcs_interrogator/api.rb +0 -46
  29. data/lib/bcs_interrogator/api/endpoint.rb +0 -61
  30. data/lib/bcs_interrogator/api/response.rb +0 -38
  31. data/lib/bcs_interrogator/api/sysname.rb +0 -227
  32. data/lib/bcs_interrogator/api/ultemp.rb +0 -110
  33. data/lib/bcs_interrogator/entity.rb +0 -43
  34. data/lib/bcs_interrogator/version.rb +0 -6
  35. data/spec/cases/api_spec.rb +0 -33
  36. data/spec/cases/bcs_interrogator_spec.rb +0 -4
@@ -1,6 +0,0 @@
1
- module NRB
2
- class BCSInterrogator
3
- VERSION = '0.0.2'
4
- def self.version; VERSION; end
5
- end
6
- end
@@ -1,33 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe NRB::BCSInterrogator::API do
4
-
5
- context 'class methods' do
6
- it 'has a version' do
7
- NRB::BCSInterrogator::API.should respond_to :api_version
8
- end
9
- end
10
-
11
- context 'defaults' do
12
-
13
- let(:api) { NRB::BCSInterrogator::API.new args }
14
- let(:args) { { base_url: base_url } }
15
- let(:base_url) { '' }
16
- let(:http_service) { NRB::HTTPService }
17
-
18
- it 'has a default http_service' do
19
- api.http_service.should == http_service
20
- end
21
-
22
- it 'has an base_url reader' do
23
- api.base_url.should eq base_url
24
- end
25
-
26
- end
27
-
28
- it 'blows up without a base_url' do
29
- expect { NRB::BCSInterrogator::API.new }.to raise_error(ArgumentError)
30
- end
31
-
32
-
33
- end
@@ -1,4 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe NRB::BCSInterrogator do
4
- end