yaframework 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.rubocop.yml +1 -1
- data/Gemfile +0 -1
- data/Gemfile.lock +46 -0
- data/examples/README.md +10 -0
- data/examples/hello-world/Gemfile +5 -0
- data/examples/hello-world/Gemfile.lock +15 -0
- data/examples/hello-world/README.md +12 -0
- data/examples/hello-world/app.rb +10 -0
- data/examples/hello-world/config.ru +6 -0
- data/lib/yaframework.rb +1 -1
- data/lib/yaframework/base.rb +1 -1
- data/lib/yaframework/version.rb +1 -1
- data/test/yaframework_test.rb +0 -4
- data/yaframework.gemspec +4 -4
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2788a5ff60e8e0bc920bdc79f77a7b72173ea9e931796eca9c6133f052e94128
|
4
|
+
data.tar.gz: c407ba38d42abb056bef8adb8e237e46f6b536f93153646bf65f45aa4665c38d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8279ffce672f404395f175dc98a41caab4658e44b7eb6feb80b208d217cf923f35eed7fcde3910620465ee1cb0b1d0c4e8e0d44f4cee8339551ea5932d8e762
|
7
|
+
data.tar.gz: 48fcd44ddaa1db8dbda9da2817241627ab44264c946e9c9dfac68ab409f6b31d708bfea4ab39d50031531cca8548ba9a8836da7c7bbd85ffa69e6998ade94767
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
yaframework (0.2.1)
|
5
|
+
rack (~> 2.2)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
minitest (5.14.4)
|
12
|
+
parallel (1.20.1)
|
13
|
+
parser (3.0.2.0)
|
14
|
+
ast (~> 2.4.1)
|
15
|
+
rack (2.2.3)
|
16
|
+
rainbow (3.0.0)
|
17
|
+
rake (13.0.6)
|
18
|
+
regexp_parser (2.1.1)
|
19
|
+
rexml (3.2.5)
|
20
|
+
rubocop (1.18.4)
|
21
|
+
parallel (~> 1.10)
|
22
|
+
parser (>= 3.0.0.0)
|
23
|
+
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
regexp_parser (>= 1.8, < 3.0)
|
25
|
+
rexml
|
26
|
+
rubocop-ast (>= 1.8.0, < 2.0)
|
27
|
+
ruby-progressbar (~> 1.7)
|
28
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
29
|
+
rubocop-ast (1.8.0)
|
30
|
+
parser (>= 3.0.1.1)
|
31
|
+
ruby-progressbar (1.11.0)
|
32
|
+
unicode-display_width (2.0.0)
|
33
|
+
|
34
|
+
PLATFORMS
|
35
|
+
ruby
|
36
|
+
|
37
|
+
DEPENDENCIES
|
38
|
+
bundler (~> 2.1.4)
|
39
|
+
minitest (~> 5.0)
|
40
|
+
rack (~> 2.2, >= 2.2.3)
|
41
|
+
rake (~> 13.0)
|
42
|
+
rubocop (~> 1.7)
|
43
|
+
yaframework!
|
44
|
+
|
45
|
+
BUNDLED WITH
|
46
|
+
2.1.4
|
data/examples/README.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Examples
|
2
|
+
|
3
|
+
Here are some examples of applications created with Yaframework:
|
4
|
+
|
5
|
+
1. [**Hello World**](https://github.com/maxbarsukov/yaframework/tree/master/examples/hello-world)
|
6
|
+
|
7
|
+
A simple application that displays "Hello world" to you.
|
8
|
+
|
9
|
+
|
10
|
+
2. Be soon...
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Hello world
|
2
|
+
|
3
|
+
A simple application that displays "Hello world" to you.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Clone this repo and go to this folder.
|
8
|
+
Then, run `bundle install` to install this gem.
|
9
|
+
|
10
|
+
## Run
|
11
|
+
|
12
|
+
Run with `ruby app.rb` or `rackup` and view at http://localhost:4567
|
data/lib/yaframework.rb
CHANGED
data/lib/yaframework/base.rb
CHANGED
data/lib/yaframework/version.rb
CHANGED
data/test/yaframework_test.rb
CHANGED
data/yaframework.gemspec
CHANGED
@@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
|
|
13
13
|
|
14
14
|
spec.homepage = "https://rubygems.org/gems/yaframework"
|
15
15
|
spec.license = "MIT"
|
16
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
16
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = "https://github.com/maxbarsukov/yaframework"
|
20
20
|
spec.metadata["changelog_uri"] = "https://github.com/maxbarsukov/yaframework/blob/master/CHANGELOG.md"
|
21
21
|
|
22
|
-
spec.test_files = Dir[
|
23
|
-
spec.require_paths = [
|
22
|
+
spec.test_files = Dir["test/**/*.rb"]
|
23
|
+
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
26
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
@@ -33,5 +33,5 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency "rake", "~> 13.0"
|
34
34
|
spec.add_development_dependency "rubocop", "~> 1.7"
|
35
35
|
|
36
|
-
spec.add_runtime_dependency "rack",
|
36
|
+
spec.add_runtime_dependency "rack", "~> 2.2"
|
37
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaframework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maxbarsukov
|
@@ -79,11 +79,18 @@ files:
|
|
79
79
|
- CHANGELOG.md
|
80
80
|
- CODE_OF_CONDUCT.md
|
81
81
|
- Gemfile
|
82
|
+
- Gemfile.lock
|
82
83
|
- LICENSE.txt
|
83
84
|
- README.md
|
84
85
|
- Rakefile
|
85
86
|
- bin/console
|
86
87
|
- bin/setup
|
88
|
+
- examples/README.md
|
89
|
+
- examples/hello-world/Gemfile
|
90
|
+
- examples/hello-world/Gemfile.lock
|
91
|
+
- examples/hello-world/README.md
|
92
|
+
- examples/hello-world/app.rb
|
93
|
+
- examples/hello-world/config.ru
|
87
94
|
- lib/yaframework.rb
|
88
95
|
- lib/yaframework/base.rb
|
89
96
|
- lib/yaframework/version.rb
|
@@ -105,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
112
|
requirements:
|
106
113
|
- - ">="
|
107
114
|
- !ruby/object:Gem::Version
|
108
|
-
version: 2.
|
115
|
+
version: 2.5.0
|
109
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
117
|
requirements:
|
111
118
|
- - ">="
|