contai 0.1.0 → 0.1.2

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: 1ea8b64ee261ac1e205aec107d9011fcb2a90194856143eb25c73a79af70f982
4
- data.tar.gz: b91bd9e6138f0b4980ed0f2651f15083de0ae275524d3a749308f6af900c04b3
3
+ metadata.gz: b63dc127506ac58dcb751370a014899557f5d12898200c51a87c1f0657da4b04
4
+ data.tar.gz: ffd123a25476073b993e6e99aa8264c8e5623577833b79296c9fdaaa62ac0d07
5
5
  SHA512:
6
- metadata.gz: 596f44c2e09f5ada2af464d9f7f656569bc396a8b3343cf7415e53d89fa1a7c81457907995c263689468a8238df2dce43f871cd13ff7f26bef289ebd84c0ee30
7
- data.tar.gz: da7f09f708f026f5bb5766d18a1d7e3125bd327fb0b2494a39e8575d6ffb9be51556896967dbec38ba0ce2d3e827efa419c2ac5893f237e6dcef8e11c522f63e
6
+ metadata.gz: 3a7c53f3e49a5806610bda7303d5e60e3c4ed8329af089f3cc2b555e40c6e07f74a17a4da3b1f158d407fc0640f4f611f70066cda9edd939b2d8ba7d9cf6642c
7
+ data.tar.gz: 144d0a346f600a0ca0fd45ecdce9866ffe03f9f52fbe8086d224cac6d1f06516f096e70a7a5096ba48cc650052dc8224fb70a2ca195755e9015fa8c146039540
data/LICENSE.txt ADDED
@@ -0,0 +1,30 @@
1
+ CAPAAL License (CAPAA License)
2
+ Version 1.0 — https://capaal.com
3
+
4
+ The author hereby grants permission to use, copy, modify, merge, publish, distribute,
5
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the
6
+ Software is furnished to do so, subject to the following conditions:
7
+
8
+ 1. Retention of Copyright and License Notice
9
+ The above copyright notice and this permission notice shall be included in all
10
+ copies or substantial portions of the Software.
11
+
12
+ 2. Disclaimer of Warranty
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
15
+ PARTICULAR PURPOSE AND NONINFRINGEMENT.
16
+
17
+ 3. Freedom from Sanctions and Restrictions
18
+ No country, organization, or individual shall apply laws, international treaties,
19
+ export control policies, or sanctions regimes to restrict the use, modification,
20
+ distribution, or access to this Software.
21
+
22
+ 4. Prohibition on Sanction Enforcement Features
23
+ It is strictly forbidden to implement in this Software any code, logic, or mechanism
24
+ intended to enforce or comply with any form of sanctions — including but not limited
25
+ to blocking by country, IP, citizenship, residency, origin, or other sanction-related
26
+ criteria.
27
+
28
+ 5. License Compatibility
29
+ The CAPAAL License is compatible with MIT, Apache 2.0, and other open source licenses,
30
+ provided that clauses 3 and 4 of this license are respected.
data/contai.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "Gem for generating AI content for rails models"
12
12
  spec.description = "A Ruby on Rails gem that provides seamless integration with AI services to automatically generate content for your Rails models. It offers a simple interface to enhance your models with AI-generated content, supporting various content types and customization options."
13
13
  spec.homepage = "https://github.com/capaas/contai"
14
- spec.license = "Unlicense"
14
+ spec.license = "CAPAAL"
15
15
  spec.required_ruby_version = ">= 3.0.0"
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ["lib"]
32
32
 
33
- spec.add_dependency "rails", "~> 6.0"
33
+ spec.add_dependency "rails", ">= 7.0", "< 9.0"
34
34
  spec.add_dependency "httparty", "~> 0.20"
35
35
 
36
36
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Contai
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Panasenkov A.
@@ -14,16 +14,22 @@ dependencies:
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '7.0'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '6.0'
22
+ version: '9.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '7.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '6.0'
32
+ version: '9.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: httparty
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -79,6 +85,7 @@ files:
79
85
  - ".rspec"
80
86
  - ".rubocop.yml"
81
87
  - CHANGELOG.md
88
+ - LICENSE.txt
82
89
  - README.md
83
90
  - Rakefile
84
91
  - app/controllers/contai/generations_controller.rb
@@ -108,7 +115,7 @@ files:
108
115
  - sig/contai.rbs
109
116
  homepage: https://github.com/capaas/contai
110
117
  licenses:
111
- - Unlicense
118
+ - CAPAAL
112
119
  metadata:
113
120
  allowed_push_host: https://rubygems.org
114
121
  homepage_uri: https://github.com/capaas/contai