azure-loganalytics-datacollector-api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -0
- data/README.md +10 -20
- data/lib/azure/loganalytics/datacollectorapi/client.rb +4 -0
- data/lib/azure/loganalytics/datacollectorapi/version.rb +1 -1
- data/spec/azure/loganalytics/datacollectorapi/client_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- metadata +3 -3
- data/lib/azure/loganalytics/datacollectorapi/helper.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 289c1de41f3d63641f197810952cf057f277e706
|
4
|
+
data.tar.gz: 8b9d43f3a7662397e337233dc1a04fabd61aa719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dc5740b1f862fa5c905b221fc074e806661b463b297d2c25a64b09aa38b6e6352dd10961be0080dcc40cd2bc3407ae700d03c042f60d91b24eb72e762067019
|
7
|
+
data.tar.gz: a19bfe626d076973886886dd59e2488f202ce801e5b8776e2b8d6b6a8f7d38b0505781172160ebd4c1ff7522d8d285e51379210461fe80fdd0c0539da6fc2765
|
data/ChangeLog.md
ADDED
data/README.md
CHANGED
@@ -1,28 +1,19 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/azure/loganalytics/datacollectorapi/client`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
1
|
+
# azure-log-analytics-data-collector Ruby Client
|
2
|
+
Azure Log Analytics Data Collector API Ruby Client
|
6
3
|
|
7
4
|
## Installation
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'azure-loganalytics-datacollector-api'
|
5
|
+
```
|
6
|
+
gem install azure-loganalytics-datacollector-api
|
13
7
|
```
|
14
8
|
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
9
|
+
## Change log
|
20
10
|
|
21
|
-
|
11
|
+
* [Changelog](ChangeLog.md)
|
22
12
|
|
23
|
-
##
|
13
|
+
## Links
|
24
14
|
|
25
|
-
|
15
|
+
* https://rubygems.org/gems/azure-loganalytics-datacollector-api
|
16
|
+
* [Azure Log Analytics Data Collecotr API](https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api)
|
26
17
|
|
27
18
|
## Development
|
28
19
|
|
@@ -32,8 +23,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
23
|
|
33
24
|
## Contributing
|
34
25
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
-
|
26
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/azure-log-analytics-data-collector. 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.
|
37
27
|
|
38
28
|
## License
|
39
29
|
|
@@ -44,7 +44,7 @@ describe Azure::Loganalytics::Datacollectorapi::Client do
|
|
44
44
|
|
45
45
|
client=Azure::Loganalytics::Datacollectorapi::Client::new( customer_id, shared_key)
|
46
46
|
res = client.post_data(log_type, json_records)
|
47
|
-
expect(res
|
47
|
+
expect(Azure::Loganalytics::Datacollectorapi::Client.is_success(res)).to eq(true)
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure-loganalytics-datacollector-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoichi Kawasaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -77,6 +77,7 @@ extra_rdoc_files: []
|
|
77
77
|
files:
|
78
78
|
- ".gitignore"
|
79
79
|
- ".rspec"
|
80
|
+
- ChangeLog.md
|
80
81
|
- Gemfile
|
81
82
|
- LICENSE.txt
|
82
83
|
- README.md
|
@@ -85,7 +86,6 @@ files:
|
|
85
86
|
- bin/console
|
86
87
|
- bin/setup
|
87
88
|
- lib/azure/loganalytics/datacollectorapi/client.rb
|
88
|
-
- lib/azure/loganalytics/datacollectorapi/helper.rb
|
89
89
|
- lib/azure/loganalytics/datacollectorapi/version.rb
|
90
90
|
- spec/azure/loganalytics/datacollectorapi/client_spec.rb
|
91
91
|
- spec/spec_helper.rb
|