apipie-dsl 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -1
- data/app/helpers/apipie_dsl_helper.rb +2 -1
- data/app/views/apipie_dsl/apipie_dsls/custom_help.html.erb +12 -10
- data/lib/apipie_dsl.rb +1 -1
- data/lib/apipie_dsl/application.rb +2 -2
- data/lib/apipie_dsl/configuration.rb +13 -8
- data/lib/apipie_dsl/errors.rb +12 -0
- data/lib/apipie_dsl/tasks/apipie_dsl/cache.rake +68 -29
- data/lib/apipie_dsl/tasks/apipie_dsl/static.rake +38 -3
- data/lib/apipie_dsl/tasks/apipie_dsl/static_json.rake +1 -1
- data/lib/apipie_dsl/tasks_utils.rb +9 -18
- data/lib/apipie_dsl/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39b5db0089370b09f1623c2d6a5f5e5ae52206031528c9165d0005fb00ea66df
|
4
|
+
data.tar.gz: 0015e6d6757ede541f2f99448772c925bc4ad11627f288e2136328a80107ae2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4742f04c2e4203df15840eba132d5b92c92b8fec197cbdf4d09d004d00ddaedbb7c9abcccfcff634cdaf6ae80b36c7a24cd9ea0847a4f7872e908601d4a82e6
|
7
|
+
data.tar.gz: 251cc977b4b6a6e5876c5650b7c57ce08410e8ad8a92a1d01a66f0ab7101f3607cd99f0793a05cc6656b979167ad05f32a512b9a4f3e064435f1689d1e244451
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Apipie-dsl is a DSL for documenting DSLs written in Ruby. Instead of traditional
|
|
4
4
|
use of `#comments`, ApipieDSL lets you describe the code, through the code.
|
5
5
|
|
6
6
|
## Getting started
|
7
|
-
|
7
|
+
#### Within Rails application
|
8
8
|
The easiest way to get ApipieDSL up and running with your app is:
|
9
9
|
|
10
10
|
```sh
|
@@ -25,6 +25,36 @@ Now you can start documenting your DSLs (see
|
|
25
25
|
end
|
26
26
|
```
|
27
27
|
|
28
|
+
#### Within plain Ruby application
|
29
|
+
```sh
|
30
|
+
echo "gem 'apipie-dsl'" >> Gemfile
|
31
|
+
# To be able to generate HTML documentation via rake command
|
32
|
+
echo "gem 'rake'" >> Gemfile
|
33
|
+
echo "gem 'actionview'" >> Gemfile
|
34
|
+
bundle install
|
35
|
+
```
|
36
|
+
In case if you want to generate HTML documentation via rake command, I'd suggest
|
37
|
+
have the following in your `Rakefile`:
|
38
|
+
```ruby
|
39
|
+
require 'apipie-dsl'
|
40
|
+
|
41
|
+
# Configuration is required!
|
42
|
+
ApipieDSL.configure do |config|
|
43
|
+
config.app_name = 'My DSL Docs'
|
44
|
+
# Matchers are needed to load your code with documentation
|
45
|
+
config.dsl_classes_matchers = [
|
46
|
+
"#{File.dirname(__dir__)}/dsl_example/common_classes.rb",
|
47
|
+
"#{File.dirname(__dir__)}/dsl_example/dsl.rb"
|
48
|
+
]
|
49
|
+
# This is important for plain ruby application!
|
50
|
+
config.rails = false
|
51
|
+
# ... other configurations
|
52
|
+
end
|
53
|
+
spec = Gem::Specification.find_by_name('apipie-dsl')
|
54
|
+
rakefile = "#{spec.gem_dir}/lib/apipie_dsl/Rakefile"
|
55
|
+
load(rakefile)
|
56
|
+
```
|
57
|
+
|
28
58
|
# Documentation
|
29
59
|
## Contents
|
30
60
|
- [__Configuration Reference__](#Configuration-Reference)
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'apipie_dsl/tasks_utils'
|
4
4
|
|
5
5
|
module ApipieDslHelper
|
6
|
+
require 'action_view' unless defined?(ActionView)
|
6
7
|
include ActionView::Helpers::TagHelper
|
7
8
|
|
8
9
|
def heading(title, level = 1)
|
@@ -57,7 +58,7 @@ module ApipieDslHelper
|
|
57
58
|
# Try to convert to a constant in case of LazyValidator usage
|
58
59
|
# Will raise const missing exception in case of wrong usage of the method
|
59
60
|
if obj.is_a?(String)
|
60
|
-
obj =
|
61
|
+
obj = ApipieDSL.configuration.rails? ? obj.constantize : obj.split('::').reduce(::Module, :const_get)
|
61
62
|
end
|
62
63
|
return obj.to_s unless [::Module, ::Class, ::Array].include?(obj.class)
|
63
64
|
|
@@ -1,10 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</
|
10
|
-
|
1
|
+
<% if ApipieDSL.configuration.help_layout %>
|
2
|
+
<ul class='breadcrumb'>
|
3
|
+
<% dsl_sections.each do |section| %>
|
4
|
+
<li><a href='<%= @doc[:doc_url] %><%= section_ext(section) %><%= @doc[:link_extension] %>'><%= t("apipie_dsl.#{section}") %></a></li>
|
5
|
+
<% end %>
|
6
|
+
<li class='active pull-right'>
|
7
|
+
<% section = 'help' %>
|
8
|
+
<a href='<%= @doc[:doc_url] %><%= section_ext(section) %><%= @doc[:link_extension] %>'><%= t("apipie_dsl.#{section}") %></a>
|
9
|
+
</li>
|
10
|
+
</ul>
|
11
|
+
<%= render_help %>
|
12
|
+
<% end %>
|
data/lib/apipie_dsl.rb
CHANGED
@@ -231,12 +231,12 @@ module ApipieDSL
|
|
231
231
|
old_locale = locale
|
232
232
|
reset_locale(ApipieDSL.configuration.default_locale)
|
233
233
|
|
234
|
-
rails_mark_classes_for_reload if
|
234
|
+
rails_mark_classes_for_reload if ApipieDSL.configuration.rails?
|
235
235
|
|
236
236
|
dsl_classes_paths.each do |file|
|
237
237
|
begin
|
238
238
|
ApipieDSL.debug("Loading #{file}")
|
239
|
-
if
|
239
|
+
if ApipieDSL.configuration.rails?
|
240
240
|
load_class_from_file(file)
|
241
241
|
else
|
242
242
|
load(file)
|
@@ -7,7 +7,7 @@ module ApipieDSL
|
|
7
7
|
:doc_path, :languages, :link_extension, :translate, :locale,
|
8
8
|
:default_locale, :class_full_names, :autoload_methods,
|
9
9
|
:dsl_classes_matcher, :sections, :authenticate, :authorize,
|
10
|
-
:use_cache, :app_info, :help_layout
|
10
|
+
:use_cache, :app_info, :help_layout, :rails
|
11
11
|
attr_writer :validate_value, :ignored, :reload_dsl, :default_section,
|
12
12
|
:dsl_classes_matchers, :cache_dir
|
13
13
|
|
@@ -15,9 +15,13 @@ module ApipieDSL
|
|
15
15
|
alias_method :class_full_names?, :class_full_names
|
16
16
|
alias_method :autoload_methods?, :autoload_methods
|
17
17
|
alias_method :use_cache?, :use_cache
|
18
|
+
alias_method :rails?, :rails
|
18
19
|
|
19
20
|
def cache_dir
|
20
|
-
@cache_dir
|
21
|
+
return @cache_dir if @cache_dir
|
22
|
+
raise ConfigurationError.new('Please specify cache_dir to be able to use caching.') unless rails?
|
23
|
+
|
24
|
+
@cache_dir = File.join(Rails.root, 'public', 'apipie-dsl-cache')
|
21
25
|
end
|
22
26
|
|
23
27
|
def validate_value
|
@@ -46,11 +50,11 @@ module ApipieDSL
|
|
46
50
|
end
|
47
51
|
|
48
52
|
def reload_dsl?
|
49
|
-
@reload_dsl = if
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
53
|
+
@reload_dsl = if rails?
|
54
|
+
Rails.env.development?
|
55
|
+
else
|
56
|
+
@reload_dsl
|
57
|
+
end
|
54
58
|
@reload_dsl && !dsl_classes_matchers.empty?
|
55
59
|
end
|
56
60
|
|
@@ -63,7 +67,7 @@ module ApipieDSL
|
|
63
67
|
@app_name = 'Another DOC'
|
64
68
|
@app_info = {}
|
65
69
|
@copyright = nil
|
66
|
-
@validate =
|
70
|
+
@validate = false
|
67
71
|
@validate_value = true
|
68
72
|
@doc_base_url = '/apipie-dsl'
|
69
73
|
@layout = 'apipie_dsl/apipie_dsl'
|
@@ -82,6 +86,7 @@ module ApipieDSL
|
|
82
86
|
@dsl_classes_matchers = []
|
83
87
|
@sections = ['all']
|
84
88
|
@default_section = nil
|
89
|
+
@rails = true
|
85
90
|
end
|
86
91
|
end
|
87
92
|
end
|
data/lib/apipie_dsl/errors.rb
CHANGED
@@ -65,4 +65,16 @@ module ApipieDSL
|
|
65
65
|
"A 'returns' statement cannot be used more than once"
|
66
66
|
end
|
67
67
|
end
|
68
|
+
|
69
|
+
class ConfigurationError < Error
|
70
|
+
attr_reader :value
|
71
|
+
|
72
|
+
def initialize(value)
|
73
|
+
@value = value
|
74
|
+
end
|
75
|
+
|
76
|
+
def to_s
|
77
|
+
"Configuration error: #{@value}"
|
78
|
+
end
|
79
|
+
end
|
68
80
|
end
|
@@ -4,40 +4,79 @@ require_relative '../../tasks_utils'
|
|
4
4
|
|
5
5
|
namespace :apipie_dsl do
|
6
6
|
desc 'Generate cache to avoid production dependencies on markup languages'
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
7
|
+
if ApipieDSL.configuration.rails?
|
8
|
+
task :cache, [:include_json] => :environment do |_task, args|
|
9
|
+
args.with_defaults(include_json: false)
|
10
|
+
include_json = %w[1 true].include?(args[:include_json])
|
11
|
+
time_start = Time.now
|
12
|
+
puts "#{time_start} | Started"
|
13
|
+
ApipieDSL::TasksUtils.with_loaded_documentation do
|
14
|
+
puts "#{Time.now} | Documents loaded..."
|
15
|
+
([nil] + ApipieDSL.configuration.languages).each do |lang|
|
16
|
+
I18n.locale = lang || ApipieDSL.configuration.default_locale
|
17
|
+
puts "#{Time.now} | Processing docs for #{lang}"
|
18
|
+
cache_dir = ENV['OUT'] || ApipieDSL.configuration.cache_dir
|
19
|
+
file_base = File.join(cache_dir, ApipieDSL.configuration.doc_base_url)
|
20
|
+
subdir = File.basename(file_base)
|
21
|
+
ApipieDSL.available_versions.each do |version|
|
22
|
+
file_base_version = File.join(file_base, version)
|
23
|
+
ApipieDSL.configuration.sections.each do |section|
|
24
|
+
ApipieDSL.url_prefix = "../../#{subdir}"
|
25
|
+
doc = ApipieDSL.docs(version, nil, nil, lang, section)
|
26
|
+
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
27
|
+
ApipieDSL::TasksUtils.generate_index_page(file_base_version, doc, include_json, true, lang, section)
|
28
|
+
ApipieDSL.url_prefix = "../../../#{subdir}"
|
29
|
+
section_out = "#{file_base_version}/#{section}"
|
30
|
+
ApipieDSL::TasksUtils.generate_class_pages(version, section_out, doc, include_json, lang, section)
|
31
|
+
ApipieDSL.url_prefix = "../../../../#{subdir}"
|
32
|
+
ApipieDSL::TasksUtils.generate_method_pages(version, section_out, doc, include_json, lang, section)
|
33
|
+
end
|
23
34
|
ApipieDSL.url_prefix = "../../#{subdir}"
|
24
|
-
doc = ApipieDSL.docs(version, nil, nil, lang
|
35
|
+
doc = ApipieDSL.docs(version, nil, nil, lang)
|
25
36
|
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
26
|
-
ApipieDSL::TasksUtils.
|
27
|
-
ApipieDSL.url_prefix = "../../../#{subdir}"
|
28
|
-
section_out = "#{file_base_version}/#{section}"
|
29
|
-
ApipieDSL::TasksUtils.generate_class_pages(version, section_out, doc, include_json, lang, section)
|
30
|
-
ApipieDSL.url_prefix = "../../../../#{subdir}"
|
31
|
-
ApipieDSL::TasksUtils.generate_method_pages(version, section_out, doc, include_json, lang, section)
|
37
|
+
ApipieDSL::TasksUtils.generate_help_page(file_base_version, doc, true, lang)
|
32
38
|
end
|
33
|
-
ApipieDSL.url_prefix = "../../#{subdir}"
|
34
|
-
doc = ApipieDSL.docs(version, nil, nil, lang)
|
35
|
-
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
36
|
-
ApipieDSL::TasksUtils.generate_help_page(file_base_version, doc, true, lang)
|
37
39
|
end
|
38
40
|
end
|
41
|
+
time_end = Time.now
|
42
|
+
puts "#{time_end} | Finished in #{time_end - time_start}"
|
43
|
+
end
|
44
|
+
else
|
45
|
+
task :cache, [:include_json] do |_task, args|
|
46
|
+
args.with_defaults(include_json: false)
|
47
|
+
include_json = %w[1 true].include?(args[:include_json])
|
48
|
+
time_start = Time.now
|
49
|
+
puts "#{time_start} | Started"
|
50
|
+
ApipieDSL::TasksUtils.with_loaded_documentation do
|
51
|
+
puts "#{Time.now} | Documents loaded..."
|
52
|
+
([nil] + ApipieDSL.configuration.languages).each do |lang|
|
53
|
+
I18n.locale = lang || ApipieDSL.configuration.default_locale
|
54
|
+
puts "#{Time.now} | Processing docs for #{lang}"
|
55
|
+
cache_dir = ENV['OUT'] || ApipieDSL.configuration.cache_dir
|
56
|
+
file_base = File.join(cache_dir, ApipieDSL.configuration.doc_base_url)
|
57
|
+
subdir = File.basename(file_base)
|
58
|
+
ApipieDSL.available_versions.each do |version|
|
59
|
+
file_base_version = File.join(file_base, version)
|
60
|
+
ApipieDSL.configuration.sections.each do |section|
|
61
|
+
ApipieDSL.url_prefix = "../../#{subdir}"
|
62
|
+
doc = ApipieDSL.docs(version, nil, nil, lang, section)
|
63
|
+
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
64
|
+
ApipieDSL::TasksUtils.generate_index_page(file_base_version, doc, include_json, true, lang, section)
|
65
|
+
ApipieDSL.url_prefix = "../../../#{subdir}"
|
66
|
+
section_out = "#{file_base_version}/#{section}"
|
67
|
+
ApipieDSL::TasksUtils.generate_class_pages(version, section_out, doc, include_json, lang, section)
|
68
|
+
ApipieDSL.url_prefix = "../../../../#{subdir}"
|
69
|
+
ApipieDSL::TasksUtils.generate_method_pages(version, section_out, doc, include_json, lang, section)
|
70
|
+
end
|
71
|
+
ApipieDSL.url_prefix = "../../#{subdir}"
|
72
|
+
doc = ApipieDSL.docs(version, nil, nil, lang)
|
73
|
+
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
74
|
+
ApipieDSL::TasksUtils.generate_help_page(file_base_version, doc, true, lang)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
time_end = Time.now
|
79
|
+
puts "#{time_end} | Finished in #{time_end - time_start}"
|
39
80
|
end
|
40
|
-
time_end = Time.now
|
41
|
-
puts "#{time_end} | Finished in #{time_end - time_start}"
|
42
81
|
end
|
43
82
|
end
|
@@ -4,7 +4,7 @@ require_relative '../../tasks_utils'
|
|
4
4
|
|
5
5
|
namespace :apipie_dsl do
|
6
6
|
desc 'Generate static documentation'
|
7
|
-
if
|
7
|
+
if ApipieDSL.configuration.rails?
|
8
8
|
task :static, [:version, :include_json] => :environment do |_task, args|
|
9
9
|
ApipieDSL::TasksUtils.with_loaded_documentation do
|
10
10
|
args.with_defaults(
|
@@ -20,13 +20,48 @@ namespace :apipie_dsl do
|
|
20
20
|
I18n.locale = lang || ApipieDSL.configuration.default_locale
|
21
21
|
ApipieDSL.url_prefix = "../#{subdir}"
|
22
22
|
doc = ApipieDSL.docs(args[:version], nil, nil, lang)
|
23
|
-
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
23
|
+
doc[:docs][:link_extension] = "#{ApipieDSL::TasksUtils.lang_ext(lang)}.html"
|
24
24
|
ApipieDSL::TasksUtils.generate_one_page(out, doc, lang)
|
25
25
|
ApipieDSL::TasksUtils.generate_plain_page(out, doc, lang)
|
26
26
|
ApipieDSL.configuration.sections.each do |section|
|
27
27
|
ApipieDSL.url_prefix = "../#{subdir}"
|
28
28
|
doc = ApipieDSL.docs(args[:version], nil, nil, lang, section)
|
29
|
-
doc[:docs][:link_extension] = "#{lang_ext(lang)}.html"
|
29
|
+
doc[:docs][:link_extension] = "#{ApipieDSL::TasksUtils.lang_ext(lang)}.html"
|
30
|
+
ApipieDSL::TasksUtils.generate_index_page(out, doc, include_json, false, lang, section)
|
31
|
+
ApipieDSL.url_prefix = "../../#{subdir}"
|
32
|
+
section_out = "#{out}/#{section}"
|
33
|
+
ApipieDSL::TasksUtils.generate_class_pages(args[:version], section_out, doc, include_json, lang, section)
|
34
|
+
ApipieDSL.url_prefix = "../../../#{subdir}"
|
35
|
+
ApipieDSL::TasksUtils.generate_method_pages(args[:version], section_out, doc, include_json, lang, section)
|
36
|
+
end
|
37
|
+
ApipieDSL.url_prefix = "../#{subdir}"
|
38
|
+
ApipieDSL::TasksUtils.generate_help_page(out, doc, false, lang)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
else
|
43
|
+
task :static, [:version, :include_json] do |_task, args|
|
44
|
+
ApipieDSL::TasksUtils.with_loaded_documentation do
|
45
|
+
args.with_defaults(
|
46
|
+
version: ApipieDSL.configuration.default_version,
|
47
|
+
include_json: false
|
48
|
+
)
|
49
|
+
include_json = %w[1 true].include?(args[:include_json])
|
50
|
+
out = ENV['OUT'] || File.join(Rake.original_dir, ApipieDSL.configuration.doc_path, 'dsldoc')
|
51
|
+
subdir = File.basename(out)
|
52
|
+
ApipieDSL::TasksUtils.copy_jscss(out)
|
53
|
+
ApipieDSL.configuration.version_in_url = false
|
54
|
+
([nil] + ApipieDSL.configuration.languages).each do |lang|
|
55
|
+
I18n.locale = lang || ApipieDSL.configuration.default_locale
|
56
|
+
ApipieDSL.url_prefix = "../#{subdir}"
|
57
|
+
doc = ApipieDSL.docs(args[:version], nil, nil, lang)
|
58
|
+
doc[:docs][:link_extension] = "#{ApipieDSL::TasksUtils.lang_ext(lang)}.html"
|
59
|
+
ApipieDSL::TasksUtils.generate_one_page(out, doc, lang)
|
60
|
+
ApipieDSL::TasksUtils.generate_plain_page(out, doc, lang)
|
61
|
+
ApipieDSL.configuration.sections.each do |section|
|
62
|
+
ApipieDSL.url_prefix = "../#{subdir}"
|
63
|
+
doc = ApipieDSL.docs(args[:version], nil, nil, lang, section)
|
64
|
+
doc[:docs][:link_extension] = "#{ApipieDSL::TasksUtils.lang_ext(lang)}.html"
|
30
65
|
ApipieDSL::TasksUtils.generate_index_page(out, doc, include_json, false, lang, section)
|
31
66
|
ApipieDSL.url_prefix = "../../#{subdir}"
|
32
67
|
section_out = "#{out}/#{section}"
|
@@ -4,7 +4,7 @@ require_relative '../../tasks_utils'
|
|
4
4
|
|
5
5
|
namespace :apipie_dsl do
|
6
6
|
desc 'Generate static documentation json'
|
7
|
-
if
|
7
|
+
if ApipieDSL.configuration.rails?
|
8
8
|
task static_json: :environment do |_task, args|
|
9
9
|
ApipieDSL::TasksUtils.with_loaded_documentation do
|
10
10
|
args.with_defaults(version: ApipieDSL.configuration.default_version)
|
@@ -15,27 +15,18 @@ module ApipieDSL
|
|
15
15
|
def self.renderer
|
16
16
|
return @renderer if @renderer
|
17
17
|
|
18
|
-
@renderer = if defined?(Rails)
|
19
|
-
rails_renderer
|
20
|
-
else
|
21
|
-
simple_renderer
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
def self.simple_renderer
|
26
|
-
raise NotImplementedError
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.rails_renderer
|
30
18
|
base_paths = [File.expand_path('../../app/views/apipie_dsl/apipie_dsls', __dir__)]
|
31
|
-
|
32
|
-
|
19
|
+
if ApipieDSL.configuration.rails?
|
20
|
+
base_paths.unshift("#{Rails.root}/app/views/apipie_dsl/apipie_dsls") if File.directory?("#{Rails.root}/app/views/apipie_dsl/apipie_dsls")
|
21
|
+
end
|
33
22
|
layouts_paths = [File.expand_path('../../app/views/layouts', __dir__)]
|
34
|
-
|
23
|
+
if ApipieDSL.configuration.rails?
|
24
|
+
layouts_paths.unshift("#{Rails.root}/app/views/layouts") if File.directory?("#{Rails.root}/app/views/layouts/apipie_dsl")
|
25
|
+
end
|
35
26
|
paths = ActionView::PathSet.new(base_paths + layouts_paths)
|
36
|
-
|
37
|
-
|
38
|
-
|
27
|
+
@renderer = ActionView::Base.new(paths, {})
|
28
|
+
@renderer.singleton_class.send(:include, ::ApipieDslHelper)
|
29
|
+
@renderer
|
39
30
|
end
|
40
31
|
|
41
32
|
def self.render_page(file_name, template, variables, layout = 'apipie_dsl')
|
data/lib/apipie_dsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apipie-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleh Fedorenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: json-schema
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: maruku
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rdoc
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: RedCloth
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: actionview
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|