pragma 2.1.0 → 2.1.1

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
  SHA1:
3
- metadata.gz: 423424f1618e9c1e91217573586e6e10b70b5a06
4
- data.tar.gz: 77cfe2fd44b3f5df6f22563345b9ae61d48413e4
3
+ metadata.gz: d0c11764865411e45f53f08871eac04c2c56588e
4
+ data.tar.gz: c38dd3967e1d5a387bddba14caef46579e3d31fb
5
5
  SHA512:
6
- metadata.gz: cea1554dba5bfdbb80680ea52d044843b7ab23ff28c04ccee072e750ae96b70cb2822963da3224b607fc06f9caa801e15ee8024037a2567dcb479fc7175c870b
7
- data.tar.gz: f6af85934562c1538f576aba2e9a74dbfa2f2b60340a8e2a991a3cedfefd5edafd6eb44e23e7e80425861b4aa4cfe14d6212fb92bb7c84ac9f96f435259b2b21
6
+ metadata.gz: 18043a03e95027f0dbe80a1bbf5a9bfbabdb56bc0f47a8bdf29f5500b8f64081fb8bf845c4653e60483dd5611394e8a7b2bb4063d5946122784432910a46debd
7
+ data.tar.gz: e12c6b35442c76060402278d739595ce10fde7063bd3d6478ff02ec1b1c7ad3f3a04d342b8b174c3deed2c16e455b1486a6240e88b8a54ff2edb9f893f4779f8
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.1]
11
+
12
+ ### Fixed
13
+
14
+ - Fixed root-level model class computation
15
+
10
16
  ## [2.1.0]
11
17
 
12
18
  ### Added
@@ -23,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
23
29
 
24
30
  First Pragma 2 release.
25
31
 
26
- [Unreleased]: https://github.com/pragmarb/pragma/compare/v2.1.0...HEAD
32
+ [Unreleased]: https://github.com/pragmarb/pragma/compare/v2.1.1...HEAD
33
+ [2.1.1]: https://github.com/pragmarb/pragma/compare/v2.1.0...v2.1.1
27
34
  [2.1.0]: https://github.com/pragmarb/pragma/compare/v2.0.0...v2.1.0
28
35
  [2.0.0]: https://github.com/pragmarb/pragma/compare/v1.2.6...v2.0.0
@@ -50,6 +50,7 @@ module Pragma
50
50
 
51
51
  def root_namespace(input, options)
52
52
  resource_namespace = resource_namespace(input, options)
53
+ return [] if resource_namespace.first == 'API'
53
54
  resource_namespace[0..((resource_namespace.index('API') || 1) - 1)]
54
55
  end
55
56
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pragma
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragma
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis