beyond 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 31a86a0ca5198a3df0f8111dc86e5086ca2c3741
4
- data.tar.gz: c0ee042ae36995c44b28a2ce1505488c53a5e0f1
3
+ metadata.gz: f3bb800d90db538d672c3da6d29265e9340d8b52
4
+ data.tar.gz: 89dc789f9eb4b69722e0f4bffb74a54bd04ce79c
5
5
  SHA512:
6
- metadata.gz: 114270b0167c3cdeefa760611e148da470a8f5670c6db628c0afd66edcc108db418f8105209d2f0a742ad40f44cc459c837be31e643aceaa53b8c2d5b4273d32
7
- data.tar.gz: 8df637d5f2e461d4a733889d20586339af1029811a2b04bd72dc3fdf6d2da68fa9c8f8caeb4afc487ad94bd86a491f6463f457ed2735e7bd91db4e047edeb24b
6
+ metadata.gz: 2629b925c607524933a7321d92158eae96772b0e7ff4cf50ca01a51e20e51f9e39f9abcec78944f77229a018d9532e53b3fb217592b7cf0ae7edd6834a735ce7
7
+ data.tar.gz: 6d0cc0c4ef42e1951896203a6161111fbc831299ad656b2e6d73fe23b4e092d661cc507780aca6ead7acc57e5f6b09faab39e916c84d4513a1046e64656f66c5
@@ -1,5 +1,7 @@
1
1
  module Beyond
2
2
  class PluginsController < ApplicationController
3
+ before_filter :authenticate_user!
4
+
3
5
  def new
4
6
  @plugin = Plugin.new
5
7
  end
@@ -1,5 +1,7 @@
1
1
  module Beyond
2
2
  class TenantsController < ApplicationController
3
+ before_filter :authenticate_user!
4
+
3
5
  def new
4
6
  @tenant = Tenant.new
5
7
  end
@@ -6,10 +6,6 @@ class CreateBeyondPlugins < ActiveRecord::Migration
6
6
  t.boolean "public"
7
7
  t.integer "tenant_id"
8
8
  t.boolean "activated"
9
- t.string "archive_file_name"
10
- t.string "archive_content_type"
11
- t.integer "archive_file_size"
12
- t.datetime "archive_updated_at"
13
9
 
14
10
  t.timestamps
15
11
  end
@@ -0,0 +1,5 @@
1
+ class AddArchiveToPlugins < ActiveRecord::Migration
2
+ def change
3
+ add_attachment :beyond_plugins, :archive
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Beyond
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mihail Zdravkov
@@ -133,6 +133,7 @@ files:
133
133
  - config/initializers/devise.rb
134
134
  - config/routes.rb
135
135
  - config/locales/devise.en.yml
136
+ - db/migrate/20140205145109_add_archive_to_plugins.rb
136
137
  - db/migrate/20140204173902_create_beyond_tenants.rb
137
138
  - db/migrate/20140204173749_devise_create_beyond_users.rb
138
139
  - db/migrate/20140204173856_create_beyond_plugins.rb