rest_framework 0.9.6 → 0.9.7

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: c26bdb290be334d911d6270e010568d3674f12a3e63dfa0f51337b242907317c
4
- data.tar.gz: '07897cd01fe0f3df22af8d8466b49835d8e1db623b8e6066b407675989e0b9b2'
3
+ metadata.gz: 8a9201bc66da6f1038a27aad8e0754d3b14973c20ca5bb3486b545c081e1cf31
4
+ data.tar.gz: af160d2b5f66a1d2ab4b40dcd366e5f10d46e5b4f075ac01926cfbcbc03a5c62
5
5
  SHA512:
6
- metadata.gz: 71952c62c0f9165d837afbec82168ce11361c6e9655d4c73beabfe0e7de40f18c6cb059a7b76b5bf5fe38a5f6c3b545f8df7c5b60724900cf1d1d32a5b3cb8e8
7
- data.tar.gz: 74ed89e118d69516d0bdd6a5cdcfa99e125fa80c45a48af2c99b8c79744041519c3e316a4f82c2737cdb41949a3bf9243c93b90090ab426880778d0b81fb1c61
6
+ metadata.gz: 756aa93e81e2cd240a6d383df774c8003a4063e514bd19acce8857a36ae6844c4ee3dddafdd2c9a246ab4f213f9c9b01bd52bcf2758d84b6ec09b59f73ae3257
7
+ data.tar.gz: e7b9e1e1730604c3702e9e1c8b744c87ac6d474db8cb70f32457467ddbc25817bc94404b26560c4b19f3ac0ecdd4704ff9393cbd7a88216052ee13071a97a23a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.6
1
+ 0.9.7
@@ -50,7 +50,6 @@
50
50
  --bs-code-color: black;
51
51
  background-color: #eee !important;
52
52
  border: 1px solid #aaa;
53
- border-radius: 3px;
54
53
  padding: .1em .3em;
55
54
  }
56
55
  html[data-bs-theme="dark"] code, html[data-bs-theme="dark"] .trix-content pre {
@@ -2,6 +2,7 @@
2
2
  module RESTFramework
3
3
  module Version
4
4
  VERSION_FILEPATH = File.expand_path("../../VERSION", __dir__)
5
+ UNKNOWN = "0-unknown"
5
6
 
6
7
  def self.get_version(skip_git: false)
7
8
  # First, attempt to get the version from git.
@@ -18,12 +19,12 @@ module RESTFramework
18
19
  end
19
20
 
20
21
  # No VERSION file, so version is unknown.
21
- return "0.unknown"
22
+ return UNKNOWN
22
23
  end
23
24
 
24
25
  def self.stamp_version
25
26
  # Only stamp the version if it's not unknown.
26
- if RESTFramework::VERSION != "0.unknown"
27
+ if RESTFramework::VERSION != UNKNOWN
27
28
  File.write(VERSION_FILEPATH, RESTFramework::VERSION)
28
29
  end
29
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory N. Schmit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails