praxis 2.0.pre.40 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19745c4d9f6ebe88d95a2118df3b7a41343a2076b2a17d051793fed535575b9d
4
- data.tar.gz: af9eb1d60cf4367f0ceb0e7aadc589b7f7d862fa161815ccc05c46eaa08f8881
3
+ metadata.gz: ee1ee0bd1b0236a6ca7a857427bb4f8309e8941a8c8a9a39fd038dbae7bd842e
4
+ data.tar.gz: 062d6c3d29aff746c10c00c9df152f124cda8062b2017fab972b375688fc88be
5
5
  SHA512:
6
- metadata.gz: 4a0a13bfeb6d1fd4512483fd4d341e1f606f1b391d0eda220019b5032f2593be4e79bd7061d375de2b97630eecd19feffa89db594d7c553c11163084b6bb00e1
7
- data.tar.gz: e0ef5e1cc96d638496ef60f0ae4aaf82ccc2cecbf49cae5794642525283e201bfb600b4f02f4a85d1cd7b16988e6dc05a5a08162c7d9f894906017beba271de3
6
+ metadata.gz: 9e3c59304f4ff974634d01a6c298c29a150286d5d31ff0596114fbcfe20ea3ab46be0014b5e0fe6dc7e740f7c8930f0c8d65e8308aa6662f450d76e2fec7157d
7
+ data.tar.gz: 87f37df6f948bc8419f06ce5f719be768e79911ecc971bb258677883fcab695e3f45d32ae716676579a326a1bc92584945c8f28f6497de6a99b9896ecd627131
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Praxis Changelog
2
2
 
3
+ # 2.0.0
4
+
5
+ - The much expected official 2.0 release of Praxis, that has been pre-releasing in the 'preX' versions for a long time.
6
+ - Includes all features included in 2.0.pre40 plus a simple OpenAPI enhancement to include 'description' test in MediaTypes (Schema objects)
7
+
3
8
  ## 2.0.pre40
4
9
 
5
10
  - 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
 
@@ -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.0"
5
5
  end
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.0
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: 2024-06-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -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.5.6
710
710
  signing_key:
711
711
  specification_version: 4
712
712
  summary: Building APIs the way you want it.