praxis 2.0.pre.40 → 2.0.1

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: 19745c4d9f6ebe88d95a2118df3b7a41343a2076b2a17d051793fed535575b9d
4
- data.tar.gz: af9eb1d60cf4367f0ceb0e7aadc589b7f7d862fa161815ccc05c46eaa08f8881
3
+ metadata.gz: 02ba074764852c1b7f6817e809f76251bad17b789d89ed420a349664b9d93863
4
+ data.tar.gz: e861553bfd53a277ab95cbcabf8bb94b5ef3e7aa1f0907f032fd046d9bcbd294
5
5
  SHA512:
6
- metadata.gz: 4a0a13bfeb6d1fd4512483fd4d341e1f606f1b391d0eda220019b5032f2593be4e79bd7061d375de2b97630eecd19feffa89db594d7c553c11163084b6bb00e1
7
- data.tar.gz: e0ef5e1cc96d638496ef60f0ae4aaf82ccc2cecbf49cae5794642525283e201bfb600b4f02f4a85d1cd7b16988e6dc05a5a08162c7d9f894906017beba271de3
6
+ metadata.gz: d575c3f93ab1520b221fba1b8dbe454798e18726d196616f7b76886e5d45069d6342537cd34dcfa572cdb5311d4b55657f4206f0c59e99524d1552e6b3695100
7
+ data.tar.gz: d4f92b2210b22c55e57734a221b579a8e745b5961c1aa3992f996a9420b89fee2491e6e91ed5ca5a828f72142ad33beef25f50cded686e69cb7aaef2b82b4e77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Praxis Changelog
2
2
 
3
+ ## 2.0.1
4
+
5
+ - Relax the version specification for the terminal-table dependency
6
+
7
+ ## 2.0.0
8
+
9
+ - The much expected official 2.0 release of Praxis, that has been pre-releasing in the 'preX' versions for a long time.
10
+ - Includes all features included in 2.0.pre40 plus a simple OpenAPI enhancement to include 'description' test in MediaTypes (Schema objects)
11
+
3
12
  ## 2.0.pre40
4
13
 
5
14
  - Prevent IRB from running console in a new Thread (#405)
data/README.md CHANGED
@@ -29,7 +29,7 @@ praxis example my-app && cd my-app && bundle
29
29
  rackup
30
30
  ```
31
31
 
32
- Or check the getting started tutorial and reference docs at https://www.praxis-framework.io all that Praxis has to offer.
32
+ Or check the getting started tutorial and reference docs at https://site.praxis-framework.io all that Praxis has to offer.
33
33
 
34
34
  ## Mailing List
35
35
  Join our Google Groups for discussion, support and announcements.
@@ -39,9 +39,9 @@ Join our Google Groups for discussion, support and announcements.
39
39
  * [praxis-development](http://groups.google.com/d/forum/praxis-development) (discussion about the
40
40
  development of Praxis itself)
41
41
 
42
- Join our slack support and general announcements channel for on-the-spot answers to your questions:
42
+ <!-- Join our slack support and general announcements channel for on-the-spot answers to your questions:
43
43
  * To join our slack chat please go to: http://praxis-framework.herokuapp.com and sign in for an account.
44
- * Once you have an account, hop onto the chat at http://praxis-framework.slack.com
44
+ * Once you have an account, hop onto the chat at http://praxis-framework.slack.com -->
45
45
 
46
46
  And follow us on twitter: [@praxisapi](http://twitter.com/praxisapi)
47
47
 
@@ -52,7 +52,7 @@ for further details on what contributions are accepted and how to go about
52
52
  contributing.
53
53
 
54
54
  ## Requirements
55
- Praxis requires Ruby 2.5.0 or greater.
55
+ Praxis requires Ruby 2.7.0 or greater, but it is best when used with the latest 3.x series.
56
56
 
57
57
  ## License
58
58
 
@@ -236,6 +236,12 @@ module Praxis
236
236
  end
237
237
  resolve_domain_model!
238
238
  end
239
+ # Make sure to add the given defined description to the underlying type, so it can show up in the docs, etc
240
+ # Blueprint groups do not have a description...
241
+ if respond_to?(:description) && description
242
+ options[:description] = description
243
+ @attribute.type.options[:description] = description
244
+ end
239
245
  super
240
246
  end
241
247
 
@@ -9,7 +9,7 @@ module Praxis
9
9
  module ClassMethods
10
10
  def as_json_schema(**args)
11
11
  the_type = @attribute&.type || member_type
12
- the_type.as_json_schema(args)
12
+ the_type.as_json_schema(**args)
13
13
  end
14
14
 
15
15
  def json_schema_type
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Praxis
4
- VERSION = '2.0.pre.40'
4
+ VERSION = "2.0.1"
5
5
  end
data/praxis.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'mime', '~> 0'
28
28
  spec.add_dependency 'mustermann', '>=1.1'
29
29
  spec.add_dependency 'rack', '>= 1'
30
- spec.add_dependency 'terminal-table', '~> 1.4'
30
+ spec.add_dependency 'terminal-table'
31
31
  spec.add_dependency 'thor'
32
32
 
33
33
  spec.add_development_dependency 'appraisal'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: praxis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.pre.40
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep M. Blanquer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-13 00:00:00.000000000 Z
12
+ date: 2025-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -85,16 +85,16 @@ dependencies:
85
85
  name: terminal-table
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: '1.4'
90
+ version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '1.4'
97
+ version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: thor
100
100
  requirement: !ruby/object:Gem::Requirement
@@ -702,11 +702,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
702
702
  version: '2.7'
703
703
  required_rubygems_version: !ruby/object:Gem::Requirement
704
704
  requirements:
705
- - - ">"
705
+ - - ">="
706
706
  - !ruby/object:Gem::Version
707
- version: 1.3.1
707
+ version: '0'
708
708
  requirements: []
709
- rubygems_version: 3.4.10
709
+ rubygems_version: 3.4.19
710
710
  signing_key:
711
711
  specification_version: 4
712
712
  summary: Building APIs the way you want it.