-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flipper-expressions-schema as separate gem for now
- Loading branch information
Showing
5 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/flipper/version', __FILE__) | ||
require File.expand_path('../lib/flipper/metadata', __FILE__) | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'ActiveRecord adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://www.flippercloud.io/docs/expressions' | ||
|
||
gem.files = [ | ||
'lib/flipper-expressions-schema.rb', | ||
'lib/flipper/expression/schema.rb', | ||
'lib/flipper/version.rb', | ||
] + Dir['node_modules/@flippercloud.io/expressions/schemas/*.json'] | ||
gem.name = 'flipper-expressions-schema' | ||
gem.require_paths = ['lib'] | ||
gem.version = Flipper::VERSION | ||
gem.metadata = Flipper::METADATA | ||
|
||
gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" | ||
gem.add_dependency 'json_schemer', '~> 1.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require "flipper/expression/schema" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
spec/flipper/expressions_schema_spec.rb → spec/flipper/expression/schema_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters