sensor 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.env.example +17 -0
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +10 -0
- data/certs/cacert.pem +3554 -0
- data/lib/sensor/actuator/analytics_retrieval.rb +68 -0
- data/lib/sensor/actuator/facebook_retrieval.rb +82 -0
- data/lib/sensor/actuator/twitter_retrieval.rb +59 -0
- data/lib/sensor/output_distribution/flow_dock.rb +54 -0
- data/lib/sensor/payload.rb +35 -0
- data/lib/sensor/rake_task.rb +38 -0
- data/lib/sensor/time_range.rb +36 -0
- data/lib/sensor/version.rb +3 -0
- data/lib/sensor.rb +14 -0
- data/sensor.gemspec +36 -0
- data/spec/payload_spec.rb +13 -0
- data/spec/sensor/actuator/analytics_retrieval_spec.rb +16 -0
- data/spec/sensor/actuator/facebook_retrieval_spec.rb +14 -0
- data/spec/sensor/actuator/twitter_retrieval_spec.rb +16 -0
- data/spec/sensor/time_range_spec.rb +60 -0
- data/spec/spec_helper.rb +22 -0
- metadata +258 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODM4MDRhZGMxNWIwMzY3OWMxN2Q1OGFhM2E5MGVjYWFlZDMxMTUwOA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDZiYWJlZDVlZWY3MDE0YTdlNWY4Y2Q0ZmNjYjMwYTYxMGIwYzY1ZA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTBhMGYzNGE0Mzg4YjMxNTc2M2E3ODQ0NTAzYWM2OWRiNTJjN2EzMmQxMzA4
|
10
|
+
MjQ3OTc0MWRhMTYzNDdlODUwOGY2MDNkYWM0OGRmMGU3ZTBkYzk5NDQ4NDNh
|
11
|
+
YjkxOTAxMGMwZmFlNGNlMDIxZDFiMzdjZWE5MDM5NDgyODE4ODY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MGZiYTZmNDI5MGU1MmRmM2QzZDU1YjlmMThkZDBmNThhODhjMmJmMGU3ZjQw
|
14
|
+
YjI0N2ZhYzhjZTEzODA0ZDE5NzlkYzdlNTE2OGY1MDdiMGU5OWNmZGM2MGU5
|
15
|
+
NzZmZDQzZDkzZTFlZjY4OGIzODk0NDhjNGVhYWEzMTIyMzhlMGU=
|
data/.env.example
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
export GOOGLE_ANALYTICS_USER=""
|
2
|
+
export GOOGLE_ANALYTICS_PASSWORD=""
|
3
|
+
export GOOGLE_ANALYTICS_WEB_PROPERTY_ID=""
|
4
|
+
|
5
|
+
export TWITTER_CONSUMER_KEY=""
|
6
|
+
export TWITTER_CONSUMER_SECRET=""
|
7
|
+
export TWITTER_ACCESS_TOKEN=""
|
8
|
+
export TWITTER_ACCESS_TOKEN_SECRET=""
|
9
|
+
|
10
|
+
export FACEBOOK_API_KEY=""
|
11
|
+
export FACEBOOK_SECRET_KEY=""
|
12
|
+
export FACEBOOK_REDIRECT_URI=""
|
13
|
+
export FACEBOOK_PAGE=""
|
14
|
+
export FACEBOOK_SHORT_LIVED_TOKEN=""
|
15
|
+
export FACEBOOK_TOKEN=""
|
16
|
+
|
17
|
+
export FLOWDOCK_TOKEN=""
|
data/.gitignore
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
sensor
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-1.9.3
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Dan Pickett
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Sensor
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'sensor'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install sensor
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|