openapi 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e859a6ee6c50f83629aad2aab0657ac7a5376a41
4
- data.tar.gz: 29bc8b48478a353025991d3d4fa75ea457ef9ff5
3
+ metadata.gz: c026643cd41f213e827326a171d0d30e3e597992
4
+ data.tar.gz: 49e8a2f2ba1d180fd7b05a7c5844698145d8a2af
5
5
  SHA512:
6
- metadata.gz: 6f56e3b01104b0e3e2d21cc596df5ed383d425d61ee18cb99421845fe2b79b3e5ea1f02869fd541d6fe66c608400de5f76e2660653ae00d72e8146933415ba9f
7
- data.tar.gz: 3407d8af465078e1dc2e04ecd78c2d269908884ec360fdefb8b298815965cea92e14b2fb8ef36e64fd532f3bb45c63e2152d2b70a9d8720939757e5d9159fa63
6
+ metadata.gz: 99eec876b89ae5bd2dcfed97018a9913a36393af33b378dfbbc2c5bc07e1b7d08e5c47bf9dfa62a1830ec028b00369743127d8cd72afff91e4c6555472d51936
7
+ data.tar.gz: 392cf47ad2bf105182f99f46d586d16f1223146971707181813452ab2c00517e026bf1fb3c38323176a3a4476d724146cbaef12374dcf113bc39b01604b62cdd
@@ -1,7 +1,6 @@
1
1
  require 'net/https'
2
2
  require 'time'
3
3
  require 'base64'
4
- require 'oauth2'
5
4
 
6
5
  require File.join(File.dirname(__FILE__), 'response')
7
6
 
@@ -1,3 +1,3 @@
1
1
  module OpenAPI
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  end
@@ -0,0 +1,99 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ require 'simplecov'
18
+ require "codeclimate-test-reporter"
19
+ CodeClimate::TestReporter.start
20
+ SimpleCov.start do
21
+ add_filter 'spec/'
22
+ add_group 'lib', 'lib'
23
+ end
24
+
25
+ require 'openapi'
26
+
27
+ RSpec.configure do |config|
28
+ # rspec-expectations config goes here. You can use an alternate
29
+ # assertion/expectation library such as wrong or the stdlib/minitest
30
+ # assertions if you prefer.
31
+ config.expect_with :rspec do |expectations|
32
+ # This option will default to `true` in RSpec 4. It makes the `description`
33
+ # and `failure_message` of custom matchers include text for helper methods
34
+ # defined using `chain`, e.g.:
35
+ # be_bigger_than(2).and_smaller_than(4).description
36
+ # # => "be bigger than 2 and smaller than 4"
37
+ # ...rather than:
38
+ # # => "be bigger than 2"
39
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
40
+ end
41
+
42
+ # rspec-mocks config goes here. You can use an alternate test double
43
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
44
+ config.mock_with :rspec do |mocks|
45
+ # Prevents you from mocking or stubbing a method that does not exist on
46
+ # a real object. This is generally recommended, and will default to
47
+ # `true` in RSpec 4.
48
+ mocks.verify_partial_doubles = true
49
+ end
50
+
51
+ # The settings below are suggested to provide a good initial experience
52
+ # with RSpec, but feel free to customize to your heart's content.
53
+ =begin
54
+ # These two settings work together to allow you to limit a spec run
55
+ # to individual examples or groups you care about by tagging them with
56
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
57
+ # get run.
58
+ config.filter_run :focus
59
+ config.run_all_when_everything_filtered = true
60
+
61
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
62
+ # For more details, see:
63
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
64
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
65
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
66
+ config.disable_monkey_patching!
67
+
68
+ # This setting enables warnings. It's recommended, but in some cases may
69
+ # be too noisy due to issues in dependencies.
70
+ config.warnings = true
71
+
72
+ # Many RSpec users commonly either run the entire suite or an individual
73
+ # file, and it's useful to allow more verbose output when running an
74
+ # individual spec file.
75
+ if config.files_to_run.one?
76
+ # Use the documentation formatter for detailed output,
77
+ # unless a formatter has already been configured
78
+ # (e.g. via a command-line flag).
79
+ config.default_formatter = 'doc'
80
+ end
81
+
82
+ # Print the 10 slowest examples and example groups at the
83
+ # end of the spec run, to help surface which specs are running
84
+ # particularly slow.
85
+ config.profile_examples = 10
86
+
87
+ # Run specs in random order to surface order dependencies. If you find an
88
+ # order dependency and want to debug it, you can fix the order by providing
89
+ # the seed, which is printed after each run.
90
+ # --seed 1234
91
+ config.order = :random
92
+
93
+ # Seed global randomization in this process using the `--seed` CLI option.
94
+ # Setting this allows you to use `--seed` to deterministically reproduce
95
+ # test failures related to randomization by passing the same `--seed` value
96
+ # as the one that triggered the failure.
97
+ Kernel.srand config.seed
98
+ =end
99
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Legrand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-24 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -106,6 +106,7 @@ files:
106
106
  - lib/openapi/response.rb
107
107
  - lib/openapi/route.rb
108
108
  - lib/openapi/version.rb
109
+ - spec/spec_helper.rb
109
110
  homepage: http://github.com/ant31/openapi
110
111
  licenses:
111
112
  - MIT
@@ -130,5 +131,6 @@ rubygems_version: 2.4.5
130
131
  signing_key:
131
132
  specification_version: 4
132
133
  summary: A Ruby library to build api wrapper
133
- test_files: []
134
+ test_files:
135
+ - spec/spec_helper.rb
134
136
  has_rdoc: