-
-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #743 from jnunemaker/the-one-true-gem
Merge flipper-cloud into flipper gem
- Loading branch information
Showing
27 changed files
with
300 additions
and
310 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
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'ActiveRecord adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/active-record' | ||
|
||
extra_files = [ | ||
'lib/generators/flipper/templates/migration.erb', | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'ActiveSupport::Cache store adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/optimization#activesupportcachestore' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_active_support_cache_store_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_active_support_cache_store_files) | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'API for the Flipper gem' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/api' | ||
gem.files = `git ls-files`.split("\n").select(&flipper_api_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_api_files) | ||
gem.name = 'flipper-api' | ||
|
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 |
---|---|---|
|
@@ -2,27 +2,18 @@ | |
require File.expand_path('../lib/flipper/version', __FILE__) | ||
require File.expand_path('../lib/flipper/metadata', __FILE__) | ||
|
||
flipper_cloud_files = lambda do |file| | ||
file =~ /cloud/ | ||
end | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.summary = 'FlipperCloud.io adapter for Flipper' | ||
gem.email = '[email protected]' | ||
gem.summary = '[DEPRECATED] This gem has been merged into the `flipper` gem' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io' | ||
|
||
extra_files = [ | ||
'lib/flipper/version.rb', | ||
] | ||
gem.files = `git ls-files`.split("\n").select(&flipper_cloud_files) + extra_files | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_cloud_files) | ||
gem.files = [ 'lib/flipper-cloud.rb', 'lib/flipper/version.rb' ] | ||
gem.name = 'flipper-cloud' | ||
gem.require_paths = ['lib'] | ||
gem.version = Flipper::VERSION | ||
gem.metadata = Flipper::METADATA | ||
|
||
gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" | ||
gem.add_dependency "brow", "~> 0.4.1" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Dalli adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_dalli_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_dalli_files) | ||
|
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 |
---|---|---|
|
@@ -7,10 +7,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Moneta adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/moneta' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_moneta_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_moneta_files) | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Mongo adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/mongo' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_mongo_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_mongo_files) | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Redis adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/redis' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_redis_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_redis_files) | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Rollout adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/rollout' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_rollout_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_rollout_files) | ||
|
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 |
---|---|---|
|
@@ -6,10 +6,10 @@ flipper_sequel_files = ->(file) { file =~ /sequel/ } | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Sequel adapter for Flipper' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/adapters/sequel' | ||
|
||
extra_files = [ | ||
'lib/flipper/version.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ end | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'UI for the Flipper gem' | ||
gem.license = 'MIT' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs/ui' | ||
|
||
gem.files = `git ls-files`.split("\n").select(&flipper_ui_files) + ['lib/flipper/version.rb'] | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_ui_files) | ||
|
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 |
---|---|---|
|
@@ -22,9 +22,9 @@ ignored_test_files.flatten!.uniq! | |
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['John Nunemaker'] | ||
gem.email = ['[email protected]'] | ||
gem.email = '[email protected]' | ||
gem.summary = 'Feature flipper for ANYTHING' | ||
gem.homepage = 'https://github.com/jnunemaker/flipper' | ||
gem.homepage = 'https://www.flippercloud.io/docs' | ||
gem.license = 'MIT' | ||
|
||
gem.files = `git ls-files`.split("\n") - ignored_files + ['lib/flipper/version.rb'] | ||
|
@@ -35,4 +35,5 @@ Gem::Specification.new do |gem| | |
gem.metadata = Flipper::METADATA | ||
|
||
gem.add_dependency 'concurrent-ruby', '< 2' | ||
gem.add_dependency 'brow', '~> 0.4.1' | ||
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
module Flipper | ||
METADATA = { | ||
'changelog_uri' => 'https://github.com/jnunemaker/flipper/blob/main/Changelog.md', | ||
"documentation_uri" => "https://www.flippercloud.io/docs", | ||
"homepage_uri" => "https://www.flippercloud.io", | ||
"source_code_uri" => "https://github.com/jnunemaker/flipper", | ||
"bug_tracker_uri" => "https://github.com/jnunemaker/flipper/issues", | ||
"changelog_uri" => "https://github.com/jnunemaker/flipper/blob/main/Changelog.md", | ||
}.freeze | ||
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
Oops, something went wrong.