wot_api_ru 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +10 -0
  4. data/.rspec +3 -0
  5. data/.travis.yml +11 -0
  6. data/Gemfile +14 -0
  7. data/Gemfile.lock +133 -0
  8. data/LICENSE +21 -0
  9. data/README.md +17 -10
  10. data/README.rdoc +3 -0
  11. data/Rakefile +1 -1
  12. data/lib/generators/{wot_api → wot_api_ru}/install_generator.rb +3 -3
  13. data/lib/generators/wot_api_ru/templates/wot_api_ru.rb +2 -0
  14. data/lib/tasks/{wot_api_tasks.rake → wot_api_ru_tasks.rake} +1 -1
  15. data/lib/wot_api_ru.rb +5 -0
  16. data/lib/{wot_api → wot_api_ru}/client.rb +6 -6
  17. data/lib/{wot_api → wot_api_ru}/constants.rb +1 -1
  18. data/lib/{wot_api → wot_api_ru}/settings.rb +1 -1
  19. data/lib/wot_api_ru/version.rb +3 -0
  20. data/spec/dummy/.rspec +3 -0
  21. data/spec/dummy/README.rdoc +28 -0
  22. data/spec/dummy/Rakefile +6 -0
  23. data/spec/dummy/app/assets/images/.keep +0 -0
  24. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  25. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  27. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  28. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  29. data/spec/dummy/app/mailers/.keep +0 -0
  30. data/spec/dummy/app/models/.keep +0 -0
  31. data/spec/dummy/app/models/concerns/.keep +0 -0
  32. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/spec/dummy/bin/bundle +3 -0
  34. data/spec/dummy/bin/rails +4 -0
  35. data/spec/dummy/bin/rake +4 -0
  36. data/spec/dummy/config.ru +4 -0
  37. data/spec/dummy/config/application.rb +29 -0
  38. data/spec/dummy/config/boot.rb +5 -0
  39. data/spec/dummy/config/database.yml +25 -0
  40. data/spec/dummy/config/environment.rb +5 -0
  41. data/spec/dummy/config/environments/development.rb +37 -0
  42. data/spec/dummy/config/environments/production.rb +82 -0
  43. data/spec/dummy/config/environments/test.rb +39 -0
  44. data/spec/dummy/config/initializers/assets.rb +8 -0
  45. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  47. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/spec/dummy/config/initializers/inflections.rb +16 -0
  49. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  50. data/spec/dummy/config/initializers/session_store.rb +3 -0
  51. data/spec/dummy/config/initializers/wot_api_ru.rb +2 -0
  52. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/spec/dummy/config/locales/en.yml +23 -0
  54. data/spec/dummy/config/routes.rb +56 -0
  55. data/spec/dummy/lib/assets/.keep +0 -0
  56. data/spec/dummy/log/.keep +0 -0
  57. data/spec/dummy/public/404.html +67 -0
  58. data/spec/dummy/public/422.html +67 -0
  59. data/spec/dummy/public/500.html +66 -0
  60. data/spec/dummy/public/favicon.ico +0 -0
  61. data/spec/rails_helper.rb +43 -0
  62. data/spec/spec_helper.rb +80 -0
  63. data/spec/wot_api_ru/constants_spec.rb +49 -0
  64. data/spec/wot_api_ru/settings_spec.rb +14 -0
  65. data/spec/wot_api_ru/version_spec.rb +6 -0
  66. data/wot_api_ru.gemspec +27 -0
  67. metadata +94 -12
  68. data/lib/generators/wot_api/templates/wot_api.rb +0 -2
  69. data/lib/wot_api.rb +0 -5
  70. data/lib/wot_api/version.rb +0 -3
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,43 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'spec_helper'
4
+ require File.expand_path("../dummy/config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc, in
8
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
9
+ # run as spec files by default. This means that files in spec/support that end
10
+ # in _spec.rb will both be required and run as specs, causing the specs to be
11
+ # run twice. It is recommended that you do not name files matching this glob to
12
+ # end with _spec.rb. You can configure this pattern with with the --pattern
13
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
14
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
15
+
16
+ # Checks for pending migrations before tests are run.
17
+ # If you are not using ActiveRecord, you can remove this line.
18
+ ActiveRecord::Migration.maintain_test_schema!
19
+
20
+ RSpec.configure do |config|
21
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
22
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
23
+
24
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
25
+ # examples within a transaction, remove the following line or assign false
26
+ # instead of true.
27
+ config.use_transactional_fixtures = true
28
+
29
+ # RSpec Rails can automatically mix in different behaviours to your tests
30
+ # based on their file location, for example enabling you to call `get` and
31
+ # `post` in specs under `spec/controllers`.
32
+ #
33
+ # You can disable this behaviour by removing the line below, and instead
34
+ # explicitly tag your specs with their type, e.g.:
35
+ #
36
+ # RSpec.describe UsersController, :type => :controller do
37
+ # # ...
38
+ # end
39
+ #
40
+ # The different available types are documented in the features, such as in
41
+ # https://relishapp.com/rspec/rspec-rails/docs
42
+ config.infer_spec_type_from_file_location!
43
+ end
@@ -0,0 +1,80 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!('rails')
3
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
6
+ # file to always be loaded, without a need to explicitly require it in any files.
7
+ #
8
+ # Given that it is always loaded, you are encouraged to keep this file as
9
+ # light-weight as possible. Requiring heavyweight dependencies from this file
10
+ # will add to the boot time of your test suite on EVERY test run, even for an
11
+ # individual file that may not need all of that loaded. Instead, make a
12
+ # separate helper file that requires this one and then use it only in the specs
13
+ # that actually need it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # The settings below are suggested to provide a good initial experience
21
+ # with RSpec, but feel free to customize to your heart's content.
22
+ =begin
23
+ # These two settings work together to allow you to limit a spec run
24
+ # to individual examples or groups you care about by tagging them with
25
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
26
+ # get run.
27
+ config.filter_run :focus
28
+ config.run_all_when_everything_filtered = true
29
+
30
+ # Many RSpec users commonly either run the entire suite or an individual
31
+ # file, and it's useful to allow more verbose output when running an
32
+ # individual spec file.
33
+ if config.files_to_run.one?
34
+ # Use the documentation formatter for detailed output,
35
+ # unless a formatter has already been configured
36
+ # (e.g. via a command-line flag).
37
+ config.default_formatter = 'doc'
38
+ end
39
+
40
+ # Print the 10 slowest examples and example groups at the
41
+ # end of the spec run, to help surface which specs are running
42
+ # particularly slow.
43
+ config.profile_examples = 10
44
+
45
+ # Run specs in random order to surface order dependencies. If you find an
46
+ # order dependency and want to debug it, you can fix the order by providing
47
+ # the seed, which is printed after each run.
48
+ # --seed 1234
49
+ config.order = :random
50
+
51
+ # Seed global randomization in this process using the `--seed` CLI option.
52
+ # Setting this allows you to use `--seed` to deterministically reproduce
53
+ # test failures related to randomization by passing the same `--seed` value
54
+ # as the one that triggered the failure.
55
+ Kernel.srand config.seed
56
+
57
+ # rspec-expectations config goes here. You can use an alternate
58
+ # assertion/expectation library such as wrong or the stdlib/minitest
59
+ # assertions if you prefer.
60
+ config.expect_with :rspec do |expectations|
61
+ # Enable only the newer, non-monkey-patching expect syntax.
62
+ # For more details, see:
63
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
64
+ expectations.syntax = :expect
65
+ end
66
+
67
+ # rspec-mocks config goes here. You can use an alternate test double
68
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
69
+ config.mock_with :rspec do |mocks|
70
+ # Enable only the newer, non-monkey-patching expect syntax.
71
+ # For more details, see:
72
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
73
+ mocks.syntax = :expect
74
+
75
+ # Prevents you from mocking or stubbing a method that does not exist on
76
+ # a real object. This is generally recommended.
77
+ mocks.verify_partial_doubles = true
78
+ end
79
+ =end
80
+ end
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+ require 'wot_api_ru'
3
+
4
+ describe WotApiRu::Constants do
5
+ it { expect(WotApiRu::Constants::HOST).to eq 'https://api.worldoftanks.ru/wot/' }
6
+
7
+ context 'PATH' do
8
+ it { expect(WotApiRu::Constants::PATH[:account_list]).to eq 'account/list/' }
9
+ it { expect(WotApiRu::Constants::PATH[:account_info]).to eq 'account/info' }
10
+ it { expect(WotApiRu::Constants::PATH[:account_tanks]).to eq 'account/tanks' }
11
+ it { expect(WotApiRu::Constants::PATH[:account_achievements]).to eq 'account/achievements' }
12
+ it { expect(WotApiRu::Constants::PATH[:auth_prolongate]).to eq 'auth/prolongate' }
13
+ it { expect(WotApiRu::Constants::PATH[:auth_logout]).to eq 'auth/logout' }
14
+ it { expect(WotApiRu::Constants::PATH[:clan_list]).to eq 'clan/list' }
15
+ it { expect(WotApiRu::Constants::PATH[:clan_info]).to eq 'clan/info' }
16
+ it { expect(WotApiRu::Constants::PATH[:clan_battles]).to eq 'clan/battles' }
17
+ it { expect(WotApiRu::Constants::PATH[:clan_top]).to eq 'clan/top' }
18
+ it { expect(WotApiRu::Constants::PATH[:clan_provinces]).to eq 'clan/provinces' }
19
+ it { expect(WotApiRu::Constants::PATH[:clan_victorypoints]).to eq 'clan/victorypoints' }
20
+ it { expect(WotApiRu::Constants::PATH[:clan_victorypointshistory]).to eq 'clan/victorypointshistory' }
21
+ it { expect(WotApiRu::Constants::PATH[:clan_membersinfo]).to eq 'clan/membersinfo' }
22
+ it { expect(WotApiRu::Constants::PATH[:globalwar_clans]).to eq 'globalwar/clans' }
23
+ it { expect(WotApiRu::Constants::PATH[:globalwar_famepoints]).to eq 'globalwar/famepoints' }
24
+ it { expect(WotApiRu::Constants::PATH[:globalwar_maps]).to eq 'globalwar/maps' }
25
+ it { expect(WotApiRu::Constants::PATH[:globalwar_provinces]).to eq 'globalwar/provinces' }
26
+ it { expect(WotApiRu::Constants::PATH[:globalwar_top]).to eq 'globalwar/top' }
27
+ it { expect(WotApiRu::Constants::PATH[:globalwar_tournaments]).to eq 'globalwar/tournaments' }
28
+ it { expect(WotApiRu::Constants::PATH[:globalwar_famepointshistory]).to eq 'globalwar/famepointshistory' }
29
+ it { expect(WotApiRu::Constants::PATH[:globalwar_alleyoffame]).to eq 'globalwar/alleyoffame' }
30
+ it { expect(WotApiRu::Constants::PATH[:globalwar_battles]).to eq 'globalwar/battles' }
31
+ it { expect(WotApiRu::Constants::PATH[:globalwar_victorypointshistory]).to eq 'globalwar/victorypointshistory' }
32
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tanks]).to eq 'encyclopedia/tanks' }
33
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankinfo]).to eq 'encyclopedia/tankinfo' }
34
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankengines]).to eq 'encyclopedia/tankengines' }
35
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankturrets]).to eq 'encyclopedia/tankturrets' }
36
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankradios]).to eq 'encyclopedia/tankradios' }
37
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankchassis]).to eq 'encyclopedia/tankchassis' }
38
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_tankguns]).to eq 'encyclopedia/tankguns' }
39
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_achievements]).to eq 'encyclopedia/achievements' }
40
+ it { expect(WotApiRu::Constants::PATH[:encyclopedia_info]).to eq 'encyclopedia/info' }
41
+ it { expect(WotApiRu::Constants::PATH[:ratings_types]).to eq 'ratings/types' }
42
+ it { expect(WotApiRu::Constants::PATH[:ratings_accounts]).to eq 'ratings/accounts' }
43
+ it { expect(WotApiRu::Constants::PATH[:ratings_neighbors]).to eq 'ratings/neighbors' }
44
+ it { expect(WotApiRu::Constants::PATH[:ratings_top]).to eq 'ratings/top' }
45
+ it { expect(WotApiRu::Constants::PATH[:ratings_dates]).to eq 'ratings/dates' }
46
+ it { expect(WotApiRu::Constants::PATH[:tanks_stats]).to eq 'tanks/stats' }
47
+ it { expect(WotApiRu::Constants::PATH[:tanks_achievements]).to eq 'tanks/achievements' }
48
+ end
49
+ end
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+ require 'wot_api_ru'
3
+
4
+ describe WotApiRu::Settings do
5
+ it { expect(WotApiRu::Settings.respond_to?('[]')).to eq true }
6
+ it { expect(WotApiRu::Settings.respond_to?('[]=')).to eq true }
7
+ context '[]=' do
8
+ before(:all) { WotApiRu::Settings['id'] = 5 }
9
+
10
+ it { expect(WotApiRu::Settings[:id]).to eq '5' }
11
+ it { expect(WotApiRu::Settings[:id]).not_to eq 5 }
12
+ it { expect(WotApiRu::Settings['id']).to eq WotApiRu::Settings[:id] }
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+ require 'wot_api_ru'
3
+
4
+ describe WotApiRu do
5
+ it {expect(WotApiRu::VERSION).to eq '0.1.0'}
6
+ end
@@ -0,0 +1,27 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "wot_api_ru/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = "wot_api_ru"
9
+ s.version = WotApiRu::VERSION
10
+ s.authors = ["Ivan Bondarenko"]
11
+ s.email = ["bondarenko.dev@gmail.com"]
12
+ s.homepage = "https://github.com/shved270189/wot_api_ru"
13
+ s.summary = "Wargaming.net Public API."
14
+ s.description = "Gem for Wargaming.net Public API http://ru.wargaming.net/developers/api_reference ."
15
+ s.license = "MIT"
16
+
17
+ s.extra_rdoc_files = ["README.md"]
18
+
19
+ s.files = `git ls-files -z`.split("\x0")
20
+
21
+ s.add_dependency 'rails', '~> 4.1', '>= 4.1.4'
22
+ s.add_dependency "rest_client", '~> 1.7', '>= 1.7.3'
23
+
24
+ s.add_development_dependency "sqlite3", '~> 1.3', '>= 1.3.9'
25
+ s.add_development_dependency "rspec-rails", '~> 3.0', '>= 3.0.1'
26
+ s.add_development_dependency "coveralls", '~> 0.7', '>= 0.7.0'
27
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wot_api_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Bondarenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-16 00:00:00.000000000 Z
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 4.1.4
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 4.1.4
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rest_client
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +90,26 @@ dependencies:
84
90
  - - ">="
85
91
  - !ruby/object:Gem::Version
86
92
  version: 3.0.1
93
+ - !ruby/object:Gem::Dependency
94
+ name: coveralls
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.7'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 0.7.0
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.7'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 0.7.0
87
113
  description: Gem for Wargaming.net Public API http://ru.wargaming.net/developers/api_reference
88
114
  .
89
115
  email:
@@ -93,18 +119,74 @@ extensions: []
93
119
  extra_rdoc_files:
94
120
  - README.md
95
121
  files:
122
+ - ".coveralls.yml"
123
+ - ".gitignore"
124
+ - ".rspec"
125
+ - ".travis.yml"
126
+ - Gemfile
127
+ - Gemfile.lock
128
+ - LICENSE
96
129
  - MIT-LICENSE
97
130
  - README.md
131
+ - README.rdoc
98
132
  - Rakefile
99
- - lib/generators/wot_api/install_generator.rb
100
- - lib/generators/wot_api/templates/wot_api.rb
101
- - lib/tasks/wot_api_tasks.rake
102
- - lib/wot_api.rb
103
- - lib/wot_api/client.rb
104
- - lib/wot_api/constants.rb
105
- - lib/wot_api/settings.rb
106
- - lib/wot_api/version.rb
107
- homepage: https://github.com/shved270189/wot_api
133
+ - lib/generators/wot_api_ru/install_generator.rb
134
+ - lib/generators/wot_api_ru/templates/wot_api_ru.rb
135
+ - lib/tasks/wot_api_ru_tasks.rake
136
+ - lib/wot_api_ru.rb
137
+ - lib/wot_api_ru/client.rb
138
+ - lib/wot_api_ru/constants.rb
139
+ - lib/wot_api_ru/settings.rb
140
+ - lib/wot_api_ru/version.rb
141
+ - spec/dummy/.rspec
142
+ - spec/dummy/README.rdoc
143
+ - spec/dummy/Rakefile
144
+ - spec/dummy/app/assets/images/.keep
145
+ - spec/dummy/app/assets/javascripts/application.js
146
+ - spec/dummy/app/assets/stylesheets/application.css
147
+ - spec/dummy/app/controllers/application_controller.rb
148
+ - spec/dummy/app/controllers/concerns/.keep
149
+ - spec/dummy/app/helpers/application_helper.rb
150
+ - spec/dummy/app/mailers/.keep
151
+ - spec/dummy/app/models/.keep
152
+ - spec/dummy/app/models/concerns/.keep
153
+ - spec/dummy/app/views/layouts/application.html.erb
154
+ - spec/dummy/bin/bundle
155
+ - spec/dummy/bin/rails
156
+ - spec/dummy/bin/rake
157
+ - spec/dummy/config.ru
158
+ - spec/dummy/config/application.rb
159
+ - spec/dummy/config/boot.rb
160
+ - spec/dummy/config/database.yml
161
+ - spec/dummy/config/environment.rb
162
+ - spec/dummy/config/environments/development.rb
163
+ - spec/dummy/config/environments/production.rb
164
+ - spec/dummy/config/environments/test.rb
165
+ - spec/dummy/config/initializers/assets.rb
166
+ - spec/dummy/config/initializers/backtrace_silencers.rb
167
+ - spec/dummy/config/initializers/cookies_serializer.rb
168
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
169
+ - spec/dummy/config/initializers/inflections.rb
170
+ - spec/dummy/config/initializers/mime_types.rb
171
+ - spec/dummy/config/initializers/session_store.rb
172
+ - spec/dummy/config/initializers/wot_api_ru.rb
173
+ - spec/dummy/config/initializers/wrap_parameters.rb
174
+ - spec/dummy/config/locales/en.yml
175
+ - spec/dummy/config/routes.rb
176
+ - spec/dummy/config/secrets.yml
177
+ - spec/dummy/lib/assets/.keep
178
+ - spec/dummy/log/.keep
179
+ - spec/dummy/public/404.html
180
+ - spec/dummy/public/422.html
181
+ - spec/dummy/public/500.html
182
+ - spec/dummy/public/favicon.ico
183
+ - spec/rails_helper.rb
184
+ - spec/spec_helper.rb
185
+ - spec/wot_api_ru/constants_spec.rb
186
+ - spec/wot_api_ru/settings_spec.rb
187
+ - spec/wot_api_ru/version_spec.rb
188
+ - wot_api_ru.gemspec
189
+ homepage: https://github.com/shved270189/wot_api_ru
108
190
  licenses:
109
191
  - MIT
110
192
  metadata: {}
@@ -124,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
206
  version: '0'
125
207
  requirements: []
126
208
  rubyforge_project:
127
- rubygems_version: 2.3.0
209
+ rubygems_version: 2.4.0
128
210
  signing_key:
129
211
  specification_version: 4
130
212
  summary: Wargaming.net Public API.