summoner-engine 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +5 -3
- data/lib/generators/summoner/install/templates/summoner.rb +2 -0
- data/lib/summoner/version.rb +1 -1
- data/lib/summoner.rb +7 -1
- data/lib/summoner_engine.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16b6f89523664e20b97b20b66451b2eae21ae1fd2aa169f5b9edc1123d626a1a
|
|
4
|
+
data.tar.gz: c7c09067f35219156aec1149c70f6609c2e6ecbf8ad4eb93616a2189c10a1eec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f66eba94a7f2dce3c8afe3e43665dec39547af90bdd2ff70aaff77b07cea352eb910a89a203ee6c6381583b42615720edfade76c8118b4eb2c830c87ac30a344
|
|
7
|
+
data.tar.gz: bf73046d676439929ec3817b2ac1eedb414c8dd18b30498aa27a501a889b2397a13c587ccb7a5678d6ea22c8f9e5dfedf704c8612c7420dac1918a95de1d78a9
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Summoner
|
|
1
|
+
# Summoner Engine
|
|
2
2
|
An advanced, flexible, and powerful Feature Toggle, Dynamic Configuration, and Attribute-Based Access Control (ABAC) engine for Ruby on Rails.
|
|
3
3
|
|
|
4
|
-
Summoner goes way beyond simple booleans. It allows you to manage global or **Entity-specific** configurations (e.g., `User`, `Account`), perform gradual rollouts based on attributes (like `role` or `plan`), attach editable descriptions to each feature, and create surgical exceptions (_overrides_) directly through an elegant Web UI. All wrapped in a **lightning-fast Caching layer** to protect your database.
|
|
4
|
+
Summoner Engine goes way beyond simple booleans. It allows you to manage global or **Entity-specific** configurations (e.g., `User`, `Account`), perform gradual rollouts based on attributes (like `role` or `plan`), attach editable descriptions to each feature, and create surgical exceptions (_overrides_) directly through an elegant Web UI. All wrapped in a **lightning-fast Caching layer** to protect your database.
|
|
5
5
|
|
|
6
6
|
## Table of Contents
|
|
7
7
|
- [Key Features](#key-features)
|
|
@@ -29,9 +29,11 @@ Summoner goes way beyond simple booleans. It allows you to manage global or **En
|
|
|
29
29
|
Add this line to your application's `Gemfile`:
|
|
30
30
|
|
|
31
31
|
```ruby
|
|
32
|
-
gem "summoner"
|
|
32
|
+
gem "summoner-engine"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
The gem name is `summoner-engine`, but the internal Ruby namespace remains `Summoner`, so existing code and configuration can keep using `Summoner::Entity`, `Summoner::Sync`, and `Summoner.configure`.
|
|
36
|
+
|
|
35
37
|
Install the gem and run the installation generator:
|
|
36
38
|
|
|
37
39
|
```bash
|
data/lib/summoner/version.rb
CHANGED
data/lib/summoner.rb
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
require_relative "summoner/configuration"
|
|
2
|
+
|
|
3
|
+
Dir[File.join(__dir__, "summoner", "*.rb")].sort.each do |file|
|
|
4
|
+
next if File.basename(file) == "engine.rb" && !defined?(Rails)
|
|
5
|
+
|
|
6
|
+
require file
|
|
7
|
+
end
|
|
2
8
|
|
|
3
9
|
module Summoner
|
|
4
10
|
def self.get(feature_key)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require_relative "summoner"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: summoner-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felipe Rodrigues
|
|
@@ -80,6 +80,7 @@ files:
|
|
|
80
80
|
- lib/summoner/loader.rb
|
|
81
81
|
- lib/summoner/sync.rb
|
|
82
82
|
- lib/summoner/version.rb
|
|
83
|
+
- lib/summoner_engine.rb
|
|
83
84
|
- lib/tasks/summoner_tasks.rake
|
|
84
85
|
homepage: https://github.com/feliperodrigs1/summoner
|
|
85
86
|
licenses:
|