microsoft_graph 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fac7d4998896c118e4fc35629f009fd3b51fdb8
4
- data.tar.gz: b79d0b880cd475c895270aa90297656ba84d5942
3
+ metadata.gz: e627f19d9b6fd485459bfe9c43470826bebd6268
4
+ data.tar.gz: 9e8b11f043fe056cb955e349ef779adff3b970b0
5
5
  SHA512:
6
- metadata.gz: 87227083e87b6ae23f71592d08262c912faf2ca48508a915358d17928195a1a3c2cc5d8be67efd1d2f1dc592d502640ef672238007dc181c56d455087e3b8817
7
- data.tar.gz: 4d704b13d74af9c148f62c37edac0538d1c5c84ad19e6c6bf7b5239fd4ca00dbf4e32bb76d6510a288c4f3687823f306c34f4845a3061cce87c1a8980fd57c26
6
+ metadata.gz: 94c17fe8901fc9215d0448e2c1d77bf537a33b5284a1b5c890a8ecd8d0c253337e5f37f89b4774e21b9ae13afcfd890213cb1d847807ea0e05e9b2f21d4a5fe0
7
+ data.tar.gz: 7455d7c37117b82c42f151562b4f5f58b6d989c034a3363754dd948176081f25dd198ce93098a404b4042a73d57ea5a39a3dc7379398c2ee2e0d9deb856bc2a7
data/README.md CHANGED
@@ -47,6 +47,7 @@ callback = Proc.new { |r| r.headers["Authorization"] = "Bearer #{tokens.access_t
47
47
 
48
48
  graph = MicrosoftGraph.new(
49
49
  base_url: "https://graph.microsoft.com/v1.0",
50
+ cached_metadata_file: File.join(MicrosoftGraph::CACHED_METADATA_DIRECTORY, "metadata_v1.0.xml"),
50
51
  &callback
51
52
  )
52
53
 
@@ -1,3 +1,3 @@
1
1
  class MicrosoftGraph
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -10,7 +10,8 @@ module OData
10
10
  @uri = URI(uri)
11
11
  @data = data
12
12
  @headers = {
13
- 'Content-Type' => 'application/json'
13
+ 'Content-Type' => 'application/json',
14
+ 'SdkVersion' => 'Graph-ruby-' + MicrosoftGraph::VERSION
14
15
  }
15
16
  end
16
17
 
@@ -242,7 +242,6 @@ module OData
242
242
 
243
243
  def build_operation(operation_xml)
244
244
  binding_type = if operation_xml["IsBound"] == "true"
245
- binding.pry if operation_xml.xpath("./Parameter[@Name='bindingParameter']|./Parameter[@Name='bindingparameter']").length == 0
246
245
  type_name = operation_xml.xpath("./Parameter[@Name='bindingParameter']|./Parameter[@Name='bindingparameter']").first["Type"]
247
246
  get_type_by_name(type_name)
248
247
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microsoft_graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katie Miller
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-08-01 00:00:00.000000000 Z
12
+ date: 2016-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -204,6 +204,7 @@ files:
204
204
  - lib/odata/types/primitive_types/int_64_type.rb
205
205
  - lib/odata/types/primitive_types/stream_type.rb
206
206
  - lib/odata/types/primitive_types/string_type.rb
207
+ - microsoft_graph-0.1.0.gem
207
208
  - microsoft_graph.gemspec
208
209
  - tasks/update_metadata.rb
209
210
  homepage: https://graph.microsoft.io