source_license_sdk 1.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c7e6d697142483cdbdfb3a489417a88ed89585ddd2fcd7bb30c4c731d9fefe79
4
+ data.tar.gz: 0d1a0bd75ee1af798af302198054bad04f6c76bd557a79cda1e0878cac4766d2
5
+ SHA512:
6
+ metadata.gz: 58d6988b631f199d1de7411ca2ab19bead405346e7406ba6d8abe7f2620aa65a618547b48c91384fc240e701d85527e0e9f0454426e15b93b1b41966b2bed86b
7
+ data.tar.gz: 5fa9d61effcdeb864eca6a51cdb05c7f33e2a0311bee9e920b745258fde710a50f02f5c464c7c81dab3c0a943d4a61826295364e7927c73c9817413564401799
data/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.0] - 2025-01-05
9
+
10
+ ### Added
11
+ - Initial release of Source-License Ruby SDK
12
+ - License validation functionality (`SourceLicenseSDK.validate_license`)
13
+ - License activation functionality (`SourceLicenseSDK.activate_license`)
14
+ - License enforcement functionality (`SourceLicenseSDK.enforce_license!`)
15
+ - Automatic machine identification for Windows, macOS, and Linux
16
+ - Cross-platform machine fingerprinting
17
+ - Rate limiting handling with retry information
18
+ - Comprehensive error handling and custom exception types
19
+ - Support for HTTPS communication with SSL verification
20
+ - Configurable timeouts and user agents
21
+ - Complete test suite with WebMock integration
22
+ - Detailed documentation with usage examples
23
+
24
+ ### Features
25
+ - **3 Core Methods**: Simple validation, activation, and enforcement
26
+ - **Security**: Secure communication with Source-License API
27
+ - **Cross-Platform**: Works on all major operating systems
28
+ - **Error Handling**: Detailed error types and messages
29
+ - **Rate Limiting**: Built-in handling of API rate limits
30
+ - **Machine ID**: Automatic generation of unique machine identifiers
31
+ - **Flexibility**: Configurable for different deployment scenarios
32
+
33
+ ### Dependencies
34
+ - Ruby >= 3.4.4
35
+ - net-http ~> 0.1
36
+ - json ~> 2.0
37
+ - digest ~> 3.0
38
+
39
+ ### Development Dependencies
40
+ - rspec ~> 3.0
41
+ - webmock ~> 3.0
42
+ - rubocop ~> 1.0
43
+ - rake ~> 13.0
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in source_license_sdk.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'