stitches 4.2.0.RC2 → 4.2.0.RC3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stitches/generator_files/db/migrate/add_disabled_at_to_api_clients.rb +1 -5
- data/lib/stitches/generator_files/db/migrate/add_enabled_to_api_clients.rb +1 -5
- data/lib/stitches/generator_files/db/migrate/create_api_clients.rb +1 -5
- data/lib/stitches/generator_files/db/migrate/enable_uuid_ossp_extension.rb +1 -5
- data/lib/stitches/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af8d764fc08f299d6288afb01cd9902499648f6ab0060ef2284ed54e52cbb1ab
|
4
|
+
data.tar.gz: db185f1144d53b6811b3c8c886307eb0a5dcd2205e495310348050438f0f7bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2acae056f61e3cc352bce03375f8895c953f93c85e58829159c1d9328f9ac165a9bba6506dd9ab71bd4bb6cd82b794853335f293f21e70f43252d0bf5aa72939
|
7
|
+
data.tar.gz: 9e2f8e2d3ba91b54d8fa862e9375e736570ea75605a260f2562d033455ba4df0bd8f8c37be0d47598fdd0dde5d693e796f6bd93bf1b202a90ffb5801ce8f082b
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<% if Rails::VERSION::MAJOR >= 5 %>
|
2
|
-
class AddDisabledAtToApiClients < ActiveRecord::Migration[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]
|
3
|
-
<% else %>
|
4
|
-
class AddDisabledAtToApiClients < ActiveRecord::Migration
|
5
|
-
<% end %>
|
1
|
+
class AddDisabledAtToApiClients < ActiveRecord::Migration<% if Rails::VERSION::MAJOR >= 5 %>[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]<% end %>
|
6
2
|
def change
|
7
3
|
add_column :api_clients, :disabled_at, "timestamp with time zone", null: true
|
8
4
|
end
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<% if Rails::VERSION::MAJOR >= 5 %>
|
2
|
-
class AddEnabledToApiClients < ActiveRecord::Migration[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]
|
3
|
-
<% else %>
|
4
|
-
class AddEnabledToApiClients < ActiveRecord::Migration
|
5
|
-
<% end %>
|
1
|
+
class AddEnabledToApiClients < ActiveRecord::Migration<% if Rails::VERSION::MAJOR >= 5 %>[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]<% end %>
|
6
2
|
def change
|
7
3
|
add_column :api_clients, :enabled, :bool, null: false, default: true
|
8
4
|
remove_index :api_clients, [:name ] # existing one would be unique
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<% if Rails::VERSION::MAJOR >= 5 %>
|
2
|
-
class CreateApiClients < ActiveRecord::Migration[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]
|
3
|
-
<% else %>
|
4
|
-
class CreateApiClients < ActiveRecord::Migration
|
5
|
-
<% end %>
|
1
|
+
class CreateApiClients < ActiveRecord::Migration<% if Rails::VERSION::MAJOR >= 5 %>[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]<% end %>
|
6
2
|
def change
|
7
3
|
create_table :api_clients do |t|
|
8
4
|
t.string :name, null: false
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<% if Rails::VERSION::MAJOR >= 5 %>
|
2
|
-
class EnableUuidOsspExtension < ActiveRecord::Migration[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]
|
3
|
-
<% else %>
|
4
|
-
class EnableUuidOsspExtension < ActiveRecord::Migration
|
5
|
-
<% end %>
|
1
|
+
class EnableUuidOsspExtension < ActiveRecord::Migration<% if Rails::VERSION::MAJOR >= 5 %>[<%= Rails::VERSION::MAJOR %>.<%= Rails::VERSION::MINOR %>]<% end %>
|
6
2
|
def change
|
7
3
|
enable_extension 'uuid-ossp'
|
8
4
|
end
|
data/lib/stitches/version.rb
CHANGED