paid_up 0.7.11 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/paid_up.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: paid_up 0.7.11 ruby lib
5
+ # stub: paid_up 0.8.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up"
9
- s.version = "0.7.11"
9
+ s.version = "0.8.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Karen Lundgren"]
14
- s.date = "2016-01-18"
14
+ s.date = "2016-02-07"
15
15
  s.description = "Allows a model of your choosing (such as users) to subscribe to a plan, which enables features."
16
16
  s.email = "karen.e.lundgren@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -59,9 +59,9 @@ Gem::Specification.new do |s|
59
59
  "coverage/.last_run.json",
60
60
  "coverage/.resultset.json",
61
61
  "coverage/.resultset.json.lock",
62
- "db/migrate/20150407105900_create_paid_up_plan_feature_settings_table.rb",
63
62
  "db/migrate/20150407110101_create_paid_up_plans_table.rb",
64
63
  "db/migrate/20150519164237_add_stripe_id_column_to_users.rb",
64
+ "db/migrate/20160207113800_create_paid_up_plan_feature_settings_table.rb",
65
65
  "lib/generators/paid_up/install/install_generator.rb",
66
66
  "lib/generators/paid_up/install/templates/ability.rb",
67
67
  "lib/generators/paid_up/install/templates/initializer.rb",
@@ -130,9 +130,9 @@ Gem::Specification.new do |s|
130
130
  "spec/dummy/db/migrate/20150517175136_create_doodads_table.rb",
131
131
  "spec/dummy/db/migrate/20150523010827_add_devise_to_users.rb",
132
132
  "spec/dummy/db/migrate/20150523010837_rolify_create_roles.rb",
133
- "spec/dummy/db/migrate/20150523010838_create_paid_up_plan_feature_settings_table.paid_up.rb",
134
- "spec/dummy/db/migrate/20150523010839_create_paid_up_plans_table.paid_up.rb",
135
- "spec/dummy/db/migrate/20150523010840_add_stripe_id_column_to_users.paid_up.rb",
133
+ "spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb",
134
+ "spec/dummy/db/migrate/20160207184113_add_stripe_id_column_to_users.paid_up.rb",
135
+ "spec/dummy/db/migrate/20160207184114_create_paid_up_plan_feature_settings_table.paid_up.rb",
136
136
  "spec/dummy/db/schema.rb",
137
137
  "spec/dummy/db/seeds.rb",
138
138
  "spec/dummy/db/test.sqlite3",
@@ -185,12 +185,11 @@ Gem::Specification.new do |s|
185
185
  s.specification_version = 4
186
186
 
187
187
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
188
- s.add_runtime_dependency(%q<rails>, ["~> 4"])
188
+ s.add_runtime_dependency(%q<rails>, [">= 4.2.5"])
189
189
  s.add_runtime_dependency(%q<rails-i18n>, ["~> 4"])
190
190
  s.add_runtime_dependency(%q<haml-rails>, ["~> 0.9"])
191
191
  s.add_runtime_dependency(%q<jquery-rails>, ["~> 4"])
192
192
  s.add_runtime_dependency(%q<uglifier>, ["~> 2.7"])
193
- s.add_runtime_dependency(%q<jeweler>, ["~> 2"])
194
193
  s.add_runtime_dependency(%q<bootstrap_leather>, ["~> 0.5"])
195
194
  s.add_runtime_dependency(%q<chronic>, ["~> 0.10"])
196
195
  s.add_runtime_dependency(%q<money>, ["~> 6.5"])
@@ -198,6 +197,8 @@ Gem::Specification.new do |s|
198
197
  s.add_runtime_dependency(%q<cancancan>, ["~> 1.10"])
199
198
  s.add_runtime_dependency(%q<rolify>, ["~> 4"])
200
199
  s.add_runtime_dependency(%q<stripe>, ["~> 1.21"])
200
+ s.add_development_dependency(%q<jeweler>, ["~> 2"])
201
+ s.add_development_dependency(%q<bundler>, ["~> 1"])
201
202
  s.add_development_dependency(%q<sqlite3>, ["~> 1.3"])
202
203
  s.add_development_dependency(%q<forgery>, ["~> 0.6"])
203
204
  s.add_development_dependency(%q<bootstrap-sass>, ["~> 3.3"])
@@ -206,12 +207,11 @@ Gem::Specification.new do |s|
206
207
  s.add_development_dependency(%q<rspec-rails>, ["~> 3.2"])
207
208
  s.add_development_dependency(%q<factory_girl_rails>, ["~> 4.5"])
208
209
  else
209
- s.add_dependency(%q<rails>, ["~> 4"])
210
+ s.add_dependency(%q<rails>, [">= 4.2.5"])
210
211
  s.add_dependency(%q<rails-i18n>, ["~> 4"])
211
212
  s.add_dependency(%q<haml-rails>, ["~> 0.9"])
212
213
  s.add_dependency(%q<jquery-rails>, ["~> 4"])
213
214
  s.add_dependency(%q<uglifier>, ["~> 2.7"])
214
- s.add_dependency(%q<jeweler>, ["~> 2"])
215
215
  s.add_dependency(%q<bootstrap_leather>, ["~> 0.5"])
216
216
  s.add_dependency(%q<chronic>, ["~> 0.10"])
217
217
  s.add_dependency(%q<money>, ["~> 6.5"])
@@ -219,6 +219,8 @@ Gem::Specification.new do |s|
219
219
  s.add_dependency(%q<cancancan>, ["~> 1.10"])
220
220
  s.add_dependency(%q<rolify>, ["~> 4"])
221
221
  s.add_dependency(%q<stripe>, ["~> 1.21"])
222
+ s.add_dependency(%q<jeweler>, ["~> 2"])
223
+ s.add_dependency(%q<bundler>, ["~> 1"])
222
224
  s.add_dependency(%q<sqlite3>, ["~> 1.3"])
223
225
  s.add_dependency(%q<forgery>, ["~> 0.6"])
224
226
  s.add_dependency(%q<bootstrap-sass>, ["~> 3.3"])
@@ -228,12 +230,11 @@ Gem::Specification.new do |s|
228
230
  s.add_dependency(%q<factory_girl_rails>, ["~> 4.5"])
229
231
  end
230
232
  else
231
- s.add_dependency(%q<rails>, ["~> 4"])
233
+ s.add_dependency(%q<rails>, [">= 4.2.5"])
232
234
  s.add_dependency(%q<rails-i18n>, ["~> 4"])
233
235
  s.add_dependency(%q<haml-rails>, ["~> 0.9"])
234
236
  s.add_dependency(%q<jquery-rails>, ["~> 4"])
235
237
  s.add_dependency(%q<uglifier>, ["~> 2.7"])
236
- s.add_dependency(%q<jeweler>, ["~> 2"])
237
238
  s.add_dependency(%q<bootstrap_leather>, ["~> 0.5"])
238
239
  s.add_dependency(%q<chronic>, ["~> 0.10"])
239
240
  s.add_dependency(%q<money>, ["~> 6.5"])
@@ -241,6 +242,8 @@ Gem::Specification.new do |s|
241
242
  s.add_dependency(%q<cancancan>, ["~> 1.10"])
242
243
  s.add_dependency(%q<rolify>, ["~> 4"])
243
244
  s.add_dependency(%q<stripe>, ["~> 1.21"])
245
+ s.add_dependency(%q<jeweler>, ["~> 2"])
246
+ s.add_dependency(%q<bundler>, ["~> 1"])
244
247
  s.add_dependency(%q<sqlite3>, ["~> 1.3"])
245
248
  s.add_dependency(%q<forgery>, ["~> 0.6"])
246
249
  s.add_dependency(%q<bootstrap-sass>, ["~> 3.3"])
@@ -1,5 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
+
3
4
  mount PaidUp::Engine => '/', :as => 'paid_up'
4
5
  devise_for :users
5
6
 
Binary file
@@ -1,8 +1,8 @@
1
- # This migration comes from paid_up (originally 20150407105900)
1
+ # This migration comes from paid_up (originally 20160207113800)
2
2
  class CreatePaidUpPlanFeatureSettingsTable < ActiveRecord::Migration
3
3
  def change
4
4
  create_table :paid_up_plan_feature_settings do |t|
5
- t.references :plan, index: true, foreign_key: true
5
+ t.references :paid_up_plan, index: true, foreign_key: true
6
6
  t.string :feature, index: true, foreign_key: true
7
7
  t.integer :setting
8
8
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150523010840) do
14
+ ActiveRecord::Schema.define(version: 20160207184114) do
15
15
 
16
16
  create_table "doodads", force: :cascade do |t|
17
17
  t.string "user_id"
@@ -29,13 +29,13 @@ ActiveRecord::Schema.define(version: 20150523010840) do
29
29
  end
30
30
 
31
31
  create_table "paid_up_plan_feature_settings", force: :cascade do |t|
32
- t.integer "plan_id"
32
+ t.integer "paid_up_plan_id"
33
33
  t.string "feature"
34
34
  t.integer "setting"
35
35
  end
36
36
 
37
37
  add_index "paid_up_plan_feature_settings", ["feature"], name: "index_paid_up_plan_feature_settings_on_feature"
38
- add_index "paid_up_plan_feature_settings", ["plan_id"], name: "index_paid_up_plan_feature_settings_on_plan_id"
38
+ add_index "paid_up_plan_feature_settings", ["paid_up_plan_id"], name: "index_paid_up_plan_feature_settings_on_paid_up_plan_id"
39
39
 
40
40
  create_table "paid_up_plans", force: :cascade do |t|
41
41
  t.string "stripe_id"
Binary file