citizen_budget_model 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/citizen_budget_model/version.rb +1 -1
- data/spec/dummy/db/schema.rb +5 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0753da87f53fcce108400357810749f75af46856
|
4
|
+
data.tar.gz: 145fbff1aada87ffb7de5b6864bcc2e7e180d14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151b915c375b1a5e0e378c28d212d1b025b95ca8b153183201717cf1d954e95aae08b05f0c839e575707c64829780e855f209df532ecfc2e9b42e3ddfab2534c
|
7
|
+
data.tar.gz: df8f09db7f75cf9713eb85962d97ac88e48d3c419fb029cae98c635ca8285c4634ad100a7ba9d00213644ff346339ec02bc05fbce90636109b3077fff03f66c5
|
data/README.md
CHANGED
@@ -45,15 +45,16 @@ You can then add translations to the Redis backend:
|
|
45
45
|
|
46
46
|
### Deployment
|
47
47
|
|
48
|
+
heroku apps:create
|
48
49
|
heroku config:set SECRET_KEY_BASE=`bundle exec rake secret`
|
49
50
|
heroku config:set ACTION_MAILER_HOST=www.example.com
|
50
51
|
heroku config:set DEVISE_MAILER_SENDER=noreply@example.com
|
51
52
|
|
52
53
|
## Testing
|
53
54
|
|
54
|
-
bundle exec
|
55
|
-
bundle exec
|
56
|
-
bundle exec
|
55
|
+
bundle exec rake db:drop RAILS_ENV=test
|
56
|
+
bundle exec rake db:create RAILS_ENV=test
|
57
|
+
bundle exec rake db:migrate RAILS_ENV=test
|
57
58
|
bundle exec rake
|
58
59
|
bundle exec guard
|
59
60
|
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -81,8 +81,8 @@ ActiveRecord::Schema.define(version: 20150424030658) do
|
|
81
81
|
t.datetime "updated_at"
|
82
82
|
t.string "title", default: "", null: false
|
83
83
|
t.text "description", default: "", null: false
|
84
|
-
t.text "popover", default: "", null: false
|
85
84
|
t.text "modal", default: "", null: false
|
85
|
+
t.text "popover", default: "", null: false
|
86
86
|
end
|
87
87
|
|
88
88
|
add_index "citizen_budget_model_section_translations", ["citizen_budget_model_section_id"], name: "index_2b79c59d2a47f33d3e927dae21105b97719ec5c0", using: :btree
|
@@ -111,13 +111,13 @@ ActiveRecord::Schema.define(version: 20150424030658) do
|
|
111
111
|
|
112
112
|
create_table "citizen_budget_model_simulators", force: true do |t|
|
113
113
|
t.integer "organization_id"
|
114
|
-
t.string "equation",
|
115
|
-
t.string "distribution",
|
114
|
+
t.string "equation", default: "", null: false
|
115
|
+
t.string "distribution", default: "", null: false
|
116
116
|
t.datetime "deleted_at"
|
117
117
|
t.datetime "created_at"
|
118
118
|
t.datetime "updated_at"
|
119
|
-
t.boolean "active",
|
120
|
-
t.integer "total_revenue"
|
119
|
+
t.boolean "active", default: false
|
120
|
+
t.integer "total_revenue", limit: 8
|
121
121
|
end
|
122
122
|
|
123
123
|
add_index "citizen_budget_model_simulators", ["organization_id"], name: "index_citizen_budget_model_simulators_on_organization_id", using: :btree
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citizen_budget_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Open North
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.5.4
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.5.4
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: globalize
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 0.
|
285
|
+
version: 0.12.0
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 0.
|
292
|
+
version: 0.12.0
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: jquery-rails
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|