billing 0.0.5b → 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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5b
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2014-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -82,7 +82,6 @@ files:
82
82
  - app/models/billing/modifier.rb
83
83
  - app/models/billing/modifier_items.rb
84
84
  - app/models/billing/operator.rb
85
- - app/models/billing/operator_fiscal_driver_mapping.rb
86
85
  - app/models/billing/origin.rb
87
86
  - app/models/billing/payment.rb
88
87
  - app/models/billing/payment_external.rb
@@ -93,10 +92,8 @@ files:
93
92
  - app/models/billing/plu.rb
94
93
  - app/models/billing/profile.rb
95
94
  - app/models/billing/report.rb
96
- - app/models/billing/resource.rb
97
95
  - app/models/billing/room_transfer.rb
98
96
  - app/models/billing/tax_group.rb
99
- - app/models/billing/tax_group_fiscal_driver_mapping.rb
100
97
  - app/models/billing/version.rb
101
98
  - app/models/concerns/billing/bill_item.rb
102
99
  - app/models/concerns/billing/bill_text_parser.rb
@@ -152,9 +149,6 @@ files:
152
149
  - db/migrate/20140804070517_add_tax_ratio_to_billing_charge.rb
153
150
  - db/migrate/20141001185321_add_transfer_device_to_billing_origin.rb
154
151
  - db/migrate/20141027235427_add_f_amount_to_billing_report.rb
155
- - db/migrate/20141221201539_billing_tg_fp_mapping.rb
156
- - db/migrate/20141221233912_billing_op_fp_mapping.rb
157
- - db/migrate/20141229234928_create_billing_resources.rb
158
152
  - lib/billing.rb
159
153
  - lib/billing/billable.rb
160
154
  - lib/billing/engine.rb
@@ -241,7 +235,6 @@ files:
241
235
  - test/fixtures/billing/payments.yml
242
236
  - test/fixtures/billing/plus.yml
243
237
  - test/fixtures/billing/profiles.yml
244
- - test/fixtures/billing/resources.yml
245
238
  - test/fixtures/billing/tax_groups.yml
246
239
  - test/fixtures/profiles.yml
247
240
  - test/models/billing/bill_test.rb
@@ -254,7 +247,6 @@ files:
254
247
  - test/models/billing/payment_type_test.rb
255
248
  - test/models/billing/plu_test.rb
256
249
  - test/models/billing/profile_test.rb
257
- - test/models/billing/resource_test.rb
258
250
  - test/models/billing/tax_group_test.rb
259
251
  - test/test_helper.rb
260
252
  homepage: http://extface.com
@@ -272,12 +264,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
272
264
  version: '0'
273
265
  required_rubygems_version: !ruby/object:Gem::Requirement
274
266
  requirements:
275
- - - ">"
267
+ - - ">="
276
268
  - !ruby/object:Gem::Version
277
- version: 1.3.1
269
+ version: '0'
278
270
  requirements: []
279
271
  rubyforge_project:
280
- rubygems_version: 2.4.5
272
+ rubygems_version: 2.2.2
281
273
  signing_key:
282
274
  specification_version: 4
283
275
  summary: Billing for Rails 4 app
@@ -288,7 +280,6 @@ test_files:
288
280
  - test/fixtures/billing/plus.yml
289
281
  - test/fixtures/billing/payments.yml
290
282
  - test/fixtures/billing/bills.yml
291
- - test/fixtures/billing/resources.yml
292
283
  - test/fixtures/billing/charges.yml
293
284
  - test/fixtures/billing/departments.yml
294
285
  - test/fixtures/billing/modifiers.yml
@@ -370,7 +361,6 @@ test_files:
370
361
  - test/models/billing/bill_test.rb
371
362
  - test/models/billing/department_test.rb
372
363
  - test/models/billing/payment_test.rb
373
- - test/models/billing/resource_test.rb
374
364
  - test/models/billing/operator_test.rb
375
365
  - test/models/billing/origin_test.rb
376
366
  - test/models/billing/profile_test.rb
@@ -1,7 +0,0 @@
1
- module Billing
2
- class OperatorFiscalDriverMapping < ActiveRecord::Base
3
- self.table_name = "billing_op_fp_mappings"
4
- belongs_to :operator, inverse_of: :operator_fiscal_driver_mappings
5
- belongs_to :extface_driver, class_name: 'Extface::Driver'
6
- end
7
- end
@@ -1,4 +0,0 @@
1
- module Billing
2
- class Resource < ActiveRecord::Base
3
- end
4
- end
@@ -1,7 +0,0 @@
1
- module Billing
2
- class TaxGroupFiscalDriverMapping < ActiveRecord::Base
3
- self.table_name = "billing_tg_fp_mappings"
4
- belongs_to :tax_group, inverse_of: :tax_group_fiscal_driver_mappings
5
- belongs_to :extface_driver, class_name: 'Extface::Driver'
6
- end
7
- end
@@ -1,14 +0,0 @@
1
- class BillingTgFpMapping < ActiveRecord::Migration
2
- def change
3
- create_table "billing_tg_fp_mappings", force: true do |t|
4
- t.integer "tax_group_id"
5
- t.integer "extface_driver_id"
6
- t.integer "mapping"
7
- t.datetime "created_at"
8
- t.datetime "updated_at"
9
- end
10
-
11
- add_index "billing_tg_fp_mappings", ["extface_driver_id"], name: "index_billing_tg_fp_mappings_on_extface_driver_id"
12
- add_index "billing_tg_fp_mappings", ["tax_group_id"], name: "index_billing_tg_fp_mappings_on_tax_group_id"
13
- end
14
- end
@@ -1,14 +0,0 @@
1
- class BillingOpFpMapping < ActiveRecord::Migration
2
- def change
3
- create_table "billing_op_fp_mappings", force: true do |t|
4
- t.integer "operator_id"
5
- t.integer "extface_driver_id"
6
- t.integer "mapping"
7
- t.datetime "created_at"
8
- t.datetime "updated_at"
9
- end
10
-
11
- add_index "billing_op_fp_mappings", ["extface_driver_id"], name: "index_billing_op_fp_mappings_on_extface_driver_id"
12
- add_index "billing_op_fp_mappings", ["operator_id"], name: "index_billing_op_fp_mappings_on_operator_id"
13
- end
14
- end
@@ -1,14 +0,0 @@
1
- class CreateBillingResources < ActiveRecord::Migration
2
- def change
3
- create_table :billing_resources do |t|
4
- t.integer :master_id
5
- t.string :name
6
- t.text :properties
7
- t.boolean :banned
8
- t.string :type
9
-
10
- t.timestamps
11
- t.datetime :deleted_at
12
- end
13
- end
14
- end
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
-
3
- one:
4
- name: MyString
5
- properties: MyText
6
- type:
7
-
8
- two:
9
- name: MyString
10
- properties: MyText
11
- type:
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
-
3
- module Billing
4
- class ResourceTest < ActiveSupport::TestCase
5
- # test "the truth" do
6
- # assert true
7
- # end
8
- end
9
- end