togglefy 1.0.0 → 1.0.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: 7a20296d9c30f3937ab02ace87872c15fe519a2ab6aaef86b1c5a3c4c331e5cf
4
- data.tar.gz: da69eba486689763b59df5974c34cdddf8b42f3b93ea54ab3fa52507305ceb1b
3
+ metadata.gz: 6f78d7324689b7cacb720114af6d9ef3a8f472f8da8a572860855a77b32cdea7
4
+ data.tar.gz: a1861e9b87081fdce869358ad64d7bf9b653296d79363fe3765aab1947929a09
5
5
  SHA512:
6
- metadata.gz: 4e655f2ba4eea61ae0ad8311a2d0dab1c10ec997c6e09724f43c17282970a559199c2053f1f7b9a61ebab3a97142338ec9c60641709768a8759e4bdafde6d979
7
- data.tar.gz: 515d922552d07a7e4c115d2d225dff3e659eb34daeb6c35ad059a8c798c1cf98f17794641dbaa525bc938f47c24fe0bc437146a97e0e646893b2e0562cfbfe4c
6
+ metadata.gz: 2cf79e274cea2c678f2b1719f7a570b1ed428dca4570dac9d30c7207396c71bd38fd45a77111c04a3f6b66e7845a1f9d4b61b72607e6713920024117a547592d
7
+ data.tar.gz: c383ec661ba05a10a9dbb9c0fd8b4ac46c27aeb71fa0371193674bf26a4fcaee43ea8684ffe73cac1ed1e92300b3c5f7c55b6949d1160de3a2b73c06a5610eec
data/README.md CHANGED
@@ -6,26 +6,22 @@ Togglefy is free, open source and you are welcome to help build it.
6
6
 
7
7
  ## Installation
8
8
 
9
- ### UNDER CONSTRUCTION BECAUSE GEM STILL NEEDS TO BE UPLOADED TO RUBYGEMS
10
-
11
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
12
-
13
9
  Add the gem manually to your Gemfile:
14
10
 
15
11
  ```gemfile
16
- gem "togglefy"
12
+ gem 'togglefy', '~> 1.0', '>= 1.0.1'
17
13
  ```
18
14
 
19
15
  Or install it and add to the application's Gemfile by executing:
20
16
 
21
17
  ```bash
22
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+ bundle add togglefy
23
19
  ```
24
20
 
25
21
  If bundler is not being used to manage dependencies, install the gem by executing:
26
22
 
27
23
  ```bash
28
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
24
+ gem install togglefy
29
25
  ```
30
26
 
31
27
  ## Usage
@@ -14,6 +14,7 @@ module Togglefy
14
14
 
15
15
  def copy_migrations
16
16
  migration_template "create_features.rb", "db/migrate/create_togglefy_features.rb"
17
+ sleep 1.5
17
18
  migration_template "create_feature_assignments.rb", "db/migrate/create_togglefy_feature_assignments.rb"
18
19
  end
19
20
  end
@@ -4,7 +4,7 @@ class CreateTogglefyFeatures < ActiveRecord::Migration[8.0]
4
4
  t.string :name, null: false
5
5
  t.string :identifier, null: false
6
6
  t.string :description
7
- t.string :tenant
7
+ t.string :tenant_id
8
8
  t.string :group
9
9
  t.string :environment
10
10
  t.integer :status, default: 0, null: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Togglefy
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togglefy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Azevedo