hobby 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/hobby.gemspec +2 -2
  4. data/readme.adoc +0 -16
  5. data/spec/helper.rb +0 -2
  6. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7a734e16047e8e04ef87e68c1e20cb376dbaee578b756fb888244c6603d7c25
4
- data.tar.gz: f0e946385562830eed6e1af944afe587ff3ae8957e7f1e268652a4223a2f89b5
3
+ metadata.gz: d2b39e55ddd774df20a8ba6ff04156303c99bccccb90c08f8915694615faefbe
4
+ data.tar.gz: 4c175492dc2b6edf91844b0b826657929d373c6f5985dce4aeb39ca041d70040
5
5
  SHA512:
6
- metadata.gz: c13de4d63efe75751e854d610e4cda08b658cd80f889b3e3d8e5e9b62d80f50ed2efa9dadcb91926b6669fb462ddf882d77fda11674d4b0c563debed8be1b0ed
7
- data.tar.gz: 251399b7b9ca7340e843c6ce33c1dbf3ebe3a90ec50d62bba030e71a282c49e512c60a589e95613bd41d5c5b82b2adf9abe1adaa2f42d4f205cae8b45f4fe5f3
6
+ metadata.gz: 576536cd9c0e2269658a0d982a92cd2283ca553fa0e95e9725cb40067eda935f8d75753ec9c2ec21b98e0a64b6c3af983591edac6e0aded8a1a28216ec12dec0
7
+ data.tar.gz: 0f0e7bb9edde95240b69fcf8447a1d5421e807da3fa8bc8fb38878fc1e7d54d79819709fb18a160b8059f020843b99104bf35fae70fbc10fd27213f938f50228
data/Gemfile CHANGED
@@ -1,7 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'devtools'
4
- gem 'mutant'
3
+ gem 'rspec'
5
4
  gem 'minitest'
6
5
  gem 'minitest-power_assert'
7
6
  gem 'rack-test'
data/hobby.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'hobby'
7
- spec.version = '0.2.0'
7
+ spec.version = '0.2.1'
8
8
  spec.authors = ['Anatoly Chernow']
9
9
  spec.email = ['chertoly@gmail.com']
10
10
  spec.summary = %q{A professional way to create Rack applications.}
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
17
  spec.require_paths = ['lib']
18
18
 
19
- spec.add_dependency 'rack', '>= 2'
19
+ spec.add_dependency 'rack', '~> 2'
20
20
 
21
21
  spec.required_ruby_version = '>= 2.6.6'
22
22
  end
data/readme.adoc CHANGED
@@ -29,15 +29,6 @@ $ gem install hobby
29
29
 
30
30
  Hobby provides a Ruby DSL to create web applications. It is well suited both for standalone and inside-Rails use.
31
31
 
32
- The DSL looks a lot like Sinatra, but Hobby applications are
33
-
34
- * more reusable
35
- * more reliable
36
- +
37
- The API and the codebase are much smaller and fully covered with specs. 100% mutation coverage is constantly maintained.
38
- * https://github.com/luislavena/bench-micro#requestssec[more performant]
39
- * https://github.com/luislavena/bench-micro#memory-allocationrequest[consume less resources]
40
-
41
32
  To create a Hobby application, you create a class and include `Hobby` in it.
42
33
  For example:
43
34
 
@@ -335,10 +326,3 @@ To run the specs:
335
326
  ----
336
327
  bundle exec rspec
337
328
  ----
338
-
339
- To perform mutation analysis:
340
-
341
- [source,bash]
342
- ----
343
- bundle exec mutant --use rspec 'Hobby*' --include lib --require hobby
344
- ----
data/spec/helper.rb CHANGED
@@ -1,5 +1,3 @@
1
- require 'devtools/spec_helper'
2
-
3
1
  require 'hobby'
4
2
  require_relative 'mutant_patches' if defined? Mutant
5
3
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-26 00:00:00.000000000 Z
11
+ date: 2021-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2'
27
27
  description: