swagger-api 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: 72be6d0e0f83dce7775dd1ef97e5519d07f40fd938a060a005b6827bd796a532
4
- data.tar.gz: 24a31ff568b5ca1e0dc7f9f7d977e8187fd82a87c39092e20acd13de3afef8e3
3
+ metadata.gz: fa9aa4f1765d2518b4f41a9afe50591e5c2f5eac80fce9a3725cb3434ec97644
4
+ data.tar.gz: 4774be6df02a13ad4b2c97507c1516a5341531677501e24177fb32a22224f70b
5
5
  SHA512:
6
- metadata.gz: 11b9c67866bc6fb551639a4aba92b9883b8eb631225030b4a5a05f0cc6142ff3cbb1d4e11b29fbc9ad54853ae1be56e7086073122f273c2b8ac1e2805dfed31d
7
- data.tar.gz: 27cf07e2ed4c6a26b689b12fe7427f69cabd82ea23209721d65f4254298b50c60ed1623284bd4655f137fb49a94932a4e659205292bb8efb630c8dd7c4e3b7b2
6
+ metadata.gz: a8dc04a11adaeb522c48740b16ea24ea348efc7d04b0a71b02433a5982251cf75cfa07916b888ea098c01e134b2d897b539706ca3bb36cac29b79737af892f79
7
+ data.tar.gz: a9ef526ee2fed3a6fa63419f37a00fe25b82f6911e7ce86f0b63325407787199e9ba6b828868d18f9b6755196e555eae09f89c0545092568177b6e44330ec890
@@ -0,0 +1,20 @@
1
+ ---
2
+ engines:
3
+ rubocop:
4
+ enabled: true
5
+ bundler-audit:
6
+ enabled: true
7
+ brakeman:
8
+ enabled: false
9
+ duplication:
10
+ enabled: true
11
+ config:
12
+ languages:
13
+ ruby:
14
+ mass_threshold: 30
15
+ fixme:
16
+ enabled: true
17
+ ratings:
18
+ paths:
19
+ - "**.rb"
20
+ - Gemfile.lock
@@ -41,15 +41,21 @@ codequality:
41
41
  paths: [codeclimate.json]
42
42
 
43
43
 
44
- deploy:
44
+ release:
45
45
  stage: deploy
46
46
  retry: 2
47
47
  image: registry.gitlab.com/fullmeasure/public/docker/rails-mysql-node:latest
48
48
  before_script:
49
+ - git config --global user.email dev@fullmeasureed.com
50
+ - git config --global user.name fme-ci
51
+ - git remote remove origin
52
+ - git remote add origin https://fme-ci:MuGh6ipoEkCuqjM_oKva@gitlab.com/$CI_PROJECT_PATH.git
53
+ - git push --set-upstream origin master
49
54
  - gem install gem-release
50
55
  - gem bump patch
51
56
  - gem build swagger-api
52
57
  script:
53
- - gem push swagger-api
58
+ - git checkout master
59
+ - gem bump patch --tag --release
54
60
  only:
55
61
  - /(^master$)/
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source "https://rubygems.org"
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in swagger-api.gemspec
6
- gemspec
6
+ gemspec
@@ -1,50 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swagger-api (0.1.3)
4
+ swagger-api (0.1.7)
5
+ active_attr
5
6
  rails (>= 5.0)
7
+ rspec-rails
6
8
 
7
9
  GEM
8
10
  remote: https://rubygems.org/
9
11
  specs:
10
- actioncable (5.1.6)
11
- actionpack (= 5.1.6)
12
+ actioncable (5.2.0)
13
+ actionpack (= 5.2.0)
12
14
  nio4r (~> 2.0)
13
- websocket-driver (~> 0.6.1)
14
- actionmailer (5.1.6)
15
- actionpack (= 5.1.6)
16
- actionview (= 5.1.6)
17
- activejob (= 5.1.6)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailer (5.2.0)
17
+ actionpack (= 5.2.0)
18
+ actionview (= 5.2.0)
19
+ activejob (= 5.2.0)
18
20
  mail (~> 2.5, >= 2.5.4)
19
21
  rails-dom-testing (~> 2.0)
20
- actionpack (5.1.6)
21
- actionview (= 5.1.6)
22
- activesupport (= 5.1.6)
22
+ actionpack (5.2.0)
23
+ actionview (= 5.2.0)
24
+ activesupport (= 5.2.0)
23
25
  rack (~> 2.0)
24
26
  rack-test (>= 0.6.3)
25
27
  rails-dom-testing (~> 2.0)
26
28
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.1.6)
28
- activesupport (= 5.1.6)
29
+ actionview (5.2.0)
30
+ activesupport (= 5.2.0)
29
31
  builder (~> 3.1)
30
32
  erubi (~> 1.4)
31
33
  rails-dom-testing (~> 2.0)
32
34
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.1.6)
34
- activesupport (= 5.1.6)
35
+ active_attr (0.10.3)
36
+ activemodel (>= 3.0.2, < 6.0)
37
+ activesupport (>= 3.0.2, < 6.0)
38
+ activejob (5.2.0)
39
+ activesupport (= 5.2.0)
35
40
  globalid (>= 0.3.6)
36
- activemodel (5.1.6)
37
- activesupport (= 5.1.6)
38
- activerecord (5.1.6)
39
- activemodel (= 5.1.6)
40
- activesupport (= 5.1.6)
41
- arel (~> 8.0)
42
- activesupport (5.1.6)
41
+ activemodel (5.2.0)
42
+ activesupport (= 5.2.0)
43
+ activerecord (5.2.0)
44
+ activemodel (= 5.2.0)
45
+ activesupport (= 5.2.0)
46
+ arel (>= 9.0)
47
+ activestorage (5.2.0)
48
+ actionpack (= 5.2.0)
49
+ activerecord (= 5.2.0)
50
+ marcel (~> 0.3.1)
51
+ activesupport (5.2.0)
43
52
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
53
  i18n (>= 0.7, < 2)
45
54
  minitest (~> 5.1)
46
55
  tzinfo (~> 1.1)
47
- arel (8.0.0)
56
+ arel (9.0.0)
48
57
  builder (3.2.3)
49
58
  concurrent-ruby (1.0.5)
50
59
  crass (1.0.4)
@@ -59,7 +68,10 @@ GEM
59
68
  nokogiri (>= 1.5.9)
60
69
  mail (2.7.0)
61
70
  mini_mime (>= 0.1.1)
71
+ marcel (0.3.2)
72
+ mimemagic (~> 0.3.2)
62
73
  method_source (0.9.0)
74
+ mimemagic (0.3.2)
63
75
  mini_mime (1.0.0)
64
76
  mini_portile2 (2.3.0)
65
77
  minitest (5.11.3)
@@ -69,26 +81,27 @@ GEM
69
81
  rack (2.0.4)
70
82
  rack-test (1.0.0)
71
83
  rack (>= 1.0, < 3)
72
- rails (5.1.6)
73
- actioncable (= 5.1.6)
74
- actionmailer (= 5.1.6)
75
- actionpack (= 5.1.6)
76
- actionview (= 5.1.6)
77
- activejob (= 5.1.6)
78
- activemodel (= 5.1.6)
79
- activerecord (= 5.1.6)
80
- activesupport (= 5.1.6)
84
+ rails (5.2.0)
85
+ actioncable (= 5.2.0)
86
+ actionmailer (= 5.2.0)
87
+ actionpack (= 5.2.0)
88
+ actionview (= 5.2.0)
89
+ activejob (= 5.2.0)
90
+ activemodel (= 5.2.0)
91
+ activerecord (= 5.2.0)
92
+ activestorage (= 5.2.0)
93
+ activesupport (= 5.2.0)
81
94
  bundler (>= 1.3.0)
82
- railties (= 5.1.6)
95
+ railties (= 5.2.0)
83
96
  sprockets-rails (>= 2.0.0)
84
97
  rails-dom-testing (2.0.3)
85
98
  activesupport (>= 4.2.0)
86
99
  nokogiri (>= 1.6)
87
100
  rails-html-sanitizer (1.0.4)
88
101
  loofah (~> 2.2, >= 2.2.2)
89
- railties (5.1.6)
90
- actionpack (= 5.1.6)
91
- activesupport (= 5.1.6)
102
+ railties (5.2.0)
103
+ actionpack (= 5.2.0)
104
+ activesupport (= 5.2.0)
92
105
  method_source
93
106
  rake (>= 0.8.7)
94
107
  thor (>= 0.18.1, < 2.0)
@@ -105,6 +118,14 @@ GEM
105
118
  rspec-mocks (3.7.0)
106
119
  diff-lcs (>= 1.2.0, < 2.0)
107
120
  rspec-support (~> 3.7.0)
121
+ rspec-rails (3.7.2)
122
+ actionpack (>= 3.0)
123
+ activesupport (>= 3.0)
124
+ railties (>= 3.0)
125
+ rspec-core (~> 3.7.0)
126
+ rspec-expectations (~> 3.7.0)
127
+ rspec-mocks (~> 3.7.0)
128
+ rspec-support (~> 3.7.0)
108
129
  rspec-support (3.7.1)
109
130
  sprockets (3.7.1)
110
131
  concurrent-ruby (~> 1.0)
@@ -117,7 +138,7 @@ GEM
117
138
  thread_safe (0.3.6)
118
139
  tzinfo (1.2.5)
119
140
  thread_safe (~> 0.1)
120
- websocket-driver (0.6.5)
141
+ websocket-driver (0.7.0)
121
142
  websocket-extensions (>= 0.1.0)
122
143
  websocket-extensions (0.1.3)
123
144
 
@@ -1,4 +1,5 @@
1
1
  require 'swagger/api/version'
2
+ require 'rails'
2
3
 
3
4
  module Swagger
4
5
  module Api
@@ -1,3 +1,5 @@
1
+ require 'active_attr'
2
+
1
3
  module Swagger
2
4
  module Api
3
5
  class Actions
@@ -1,5 +1,5 @@
1
1
  module Swagger
2
2
  module Api
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
@@ -1,3 +1,4 @@
1
+ require 'rails'
1
2
  class Swagger::Railtie < Rails::Railtie
2
3
  rake_tasks do
3
4
  load 'swagger/api/tasks/swagger.rake'
@@ -34,4 +34,6 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  spec.add_development_dependency "rspec", "~> 3.0"
36
36
  spec.add_dependency "rails", ">= 5.0"
37
+ spec.add_dependency "active_attr"
38
+ spec.add_dependency "rspec-rails"
37
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Full Measure Education
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: active_attr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  description: A simple library for autocreating RESTful swagger api docs from Rails
70
98
  controllers.
71
99
  email:
@@ -74,10 +102,10 @@ executables: []
74
102
  extensions: []
75
103
  extra_rdoc_files: []
76
104
  files:
105
+ - ".codeclimate.yml"
77
106
  - ".gitignore"
78
107
  - ".gitlab-ci.yml"
79
108
  - ".rspec"
80
- - ".travis.yml"
81
109
  - CODE_OF_CONDUCT.md
82
110
  - Gemfile
83
111
  - Gemfile.lock
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.16.1