rails_api_explorer 0.0.3.pre.1 → 0.0.4.pre.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,6 @@
10
10
  * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
11
  * file per style scope.
12
12
  *
13
- *= require_tree .
13
+ *= require_tree ./api_explorer
14
14
  *= require_self
15
15
  */
@@ -1,4 +1,6 @@
1
1
  class ApiExplorer::ApplicationController < ApplicationController
2
+ layout "api_explorer"
3
+
2
4
  before_filter do
3
5
  instance_eval(&ApiExplorer.auth) if ApiExplorer.auth
4
6
  end
@@ -1,7 +1,7 @@
1
1
  require_dependency "api_explorer/application_controller"
2
2
 
3
3
  module ApiExplorer
4
- class ExplorerController < ApplicationController
4
+ class ExplorerController < ApiExplorer::ApplicationController
5
5
  def index
6
6
  @description = ApiExplorer.description
7
7
  end
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>API Explorer</title>
5
+ <%= csrf_meta_tags %>
6
+
7
+ <%= stylesheet_link_tag "api_explorer", :media => "all" %>
8
+ <%= javascript_include_tag "api_explorer", :media => "all" %>
9
+ </head>
10
+
11
+ <body>
12
+ <%= yield %>
13
+ </body>
14
+ </html>
@@ -1,3 +1,3 @@
1
1
  module ApiExplorer
2
- VERSION = "0.0.3.pre.1"
2
+ VERSION = "0.0.4.pre.1"
3
3
  end
metadata CHANGED
@@ -1,69 +1,142 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_api_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.pre.1
4
+ version: 0.0.4.pre.1
5
+ prerelease: 6
5
6
  platform: ruby
6
7
  authors:
7
8
  - Max Hollmann
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
12
+ date: 2015-06-22 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rails
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: coffee-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sass-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bootstrap-sass
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: jquery-rails
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
25
92
  - !ruby/object:Gem::Version
26
93
  version: '0'
27
94
  - !ruby/object:Gem::Dependency
28
95
  name: sqlite3
29
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
30
98
  requirements:
31
- - - ">="
99
+ - - ! '>='
32
100
  - !ruby/object:Gem::Version
33
101
  version: '0'
34
102
  type: :development
35
103
  prerelease: false
36
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
37
106
  requirements:
38
- - - ">="
107
+ - - ! '>='
39
108
  - !ruby/object:Gem::Version
40
109
  version: '0'
41
110
  - !ruby/object:Gem::Dependency
42
111
  name: coffee-script
43
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
44
114
  requirements:
45
- - - ">="
115
+ - - ! '>='
46
116
  - !ruby/object:Gem::Version
47
117
  version: '0'
48
118
  type: :development
49
119
  prerelease: false
50
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
51
122
  requirements:
52
- - - ">="
123
+ - - ! '>='
53
124
  - !ruby/object:Gem::Version
54
125
  version: '0'
55
126
  - !ruby/object:Gem::Dependency
56
127
  name: sass
57
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
58
130
  requirements:
59
- - - ">="
131
+ - - ! '>='
60
132
  - !ruby/object:Gem::Version
61
133
  version: '0'
62
134
  type: :development
63
135
  prerelease: false
64
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
65
138
  requirements:
66
- - - ">="
139
+ - - ! '>='
67
140
  - !ruby/object:Gem::Version
68
141
  version: '0'
69
142
  description: ''
@@ -73,70 +146,72 @@ executables: []
73
146
  extensions: []
74
147
  extra_rdoc_files: []
75
148
  files:
76
- - MIT-LICENSE
77
- - README.md
78
- - Rakefile
79
- - app/assets/javascripts/api_explorer.js
80
- - app/assets/javascripts/api_explorer/explorer.js
81
- - app/assets/javascripts/api_explorer/scroll.js
82
- - app/assets/javascripts/api_explorer/serialize_object.js
83
- - app/assets/stylesheets/api_explorer.css
84
- - app/assets/stylesheets/api_explorer/explorer.css
85
- - app/controllers/api_explorer/application_controller.rb
86
149
  - app/controllers/api_explorer/explorer_controller.rb
150
+ - app/controllers/api_explorer/application_controller.rb
87
151
  - app/helpers/api_explorer/application_helper.rb
88
152
  - app/helpers/api_explorer/explorer_helper.rb
89
- - app/views/api_explorer/explorer/_content_node.html.erb
153
+ - app/assets/stylesheets/api_explorer/explorer.css
154
+ - app/assets/stylesheets/api_explorer.css
155
+ - app/assets/javascripts/api_explorer/explorer.js
156
+ - app/assets/javascripts/api_explorer/scroll.js
157
+ - app/assets/javascripts/api_explorer/serialize_object.js
158
+ - app/assets/javascripts/api_explorer.js
90
159
  - app/views/api_explorer/explorer/_node.html.erb
160
+ - app/views/api_explorer/explorer/perform_request.html.erb
91
161
  - app/views/api_explorer/explorer/_params.html.erb
162
+ - app/views/api_explorer/explorer/_content_node.html.erb
92
163
  - app/views/api_explorer/explorer/_request.html.erb
93
- - app/views/api_explorer/explorer/_shared.html.erb
94
- - app/views/api_explorer/explorer/form/_headers.html.erb
95
164
  - app/views/api_explorer/explorer/form/_param.html.erb
96
165
  - app/views/api_explorer/explorer/form/_params.html.erb
97
166
  - app/views/api_explorer/explorer/form/_url_params.html.erb
167
+ - app/views/api_explorer/explorer/form/_headers.html.erb
98
168
  - app/views/api_explorer/explorer/index.html.erb
99
- - app/views/api_explorer/explorer/perform_request.html.erb
169
+ - app/views/api_explorer/explorer/_shared.html.erb
170
+ - app/views/layouts/api_explorer.html.erb
100
171
  - config/routes.rb
101
- - lib/api_explorer.rb
172
+ - lib/tasks/api_explorer_tasks.rake
173
+ - lib/rails_api_explorer.rb
102
174
  - lib/api_explorer/description.rb
103
- - lib/api_explorer/dsl.rb
104
- - lib/api_explorer/dsl/base_proxy.rb
105
- - lib/api_explorer/dsl/description_proxy.rb
106
- - lib/api_explorer/dsl/group_proxy.rb
107
- - lib/api_explorer/dsl/request_proxy.rb
108
- - lib/api_explorer/engine.rb
109
175
  - lib/api_explorer/group.rb
176
+ - lib/api_explorer/parameter.rb
110
177
  - lib/api_explorer/header.rb
111
178
  - lib/api_explorer/node.rb
112
- - lib/api_explorer/parameter.rb
113
- - lib/api_explorer/request.rb
179
+ - lib/api_explorer/engine.rb
180
+ - lib/api_explorer/dsl/group_proxy.rb
181
+ - lib/api_explorer/dsl/request_proxy.rb
182
+ - lib/api_explorer/dsl/base_proxy.rb
183
+ - lib/api_explorer/dsl/description_proxy.rb
114
184
  - lib/api_explorer/version.rb
115
- - lib/rails_api_explorer.rb
116
- - lib/tasks/api_explorer_tasks.rake
185
+ - lib/api_explorer/dsl.rb
186
+ - lib/api_explorer/request.rb
187
+ - lib/api_explorer.rb
188
+ - MIT-LICENSE
189
+ - Rakefile
190
+ - README.md
117
191
  homepage: https://github.com/maxhollmann/rails_api_explorer
118
192
  licenses:
119
193
  - MIT
120
- metadata: {}
121
194
  post_install_message:
122
195
  rdoc_options: []
123
196
  require_paths:
124
197
  - lib
125
198
  required_ruby_version: !ruby/object:Gem::Requirement
199
+ none: false
126
200
  requirements:
127
- - - ">="
201
+ - - ! '>='
128
202
  - !ruby/object:Gem::Version
129
203
  version: '0'
130
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
+ none: false
131
206
  requirements:
132
- - - ">"
207
+ - - ! '>'
133
208
  - !ruby/object:Gem::Version
134
209
  version: 1.3.1
135
210
  requirements: []
136
211
  rubyforge_project:
137
- rubygems_version: 2.2.2
212
+ rubygems_version: 1.8.23
138
213
  signing_key:
139
- specification_version: 4
214
+ specification_version: 3
140
215
  summary: Provides a simple DSL to describe your JSON API, and let's you mount an interactive
141
216
  sandbox to explore and test it.
142
217
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: dacad37d291f229361c45ca9d3e110c4b17f0012
4
- data.tar.gz: ff5df9502368e73e237550cb4f1cbc80e51d510b
5
- SHA512:
6
- metadata.gz: b6a90cf0709ce9c7e1d08fb79277116d4d0a7b1ebb9582d5699217728595363e991b6601ec1e11c775699974e7e24c0282e8d9f23b7e34441e5d2f2993133ee1
7
- data.tar.gz: 6013f6dfb5d59b644c9b3218006f81018186dfe57854af33c0aea2fae1c840d51573eec186f6199e07c7ace2eafc5acb61b7380ea0ab58c969735ac19a9b69b6