stockor 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -4
  3. data/Gemfile.lock +104 -87
  4. data/client/skr/api.js +3 -1
  5. data/client/skr/api/Components/AddressForm.cjsx +1 -1
  6. data/client/skr/api/Components/SingleItemCart.cjsx +1 -1
  7. data/client/skr/api/SingleItemCheckout.cjsx +3 -3
  8. data/client/skr/components/BankAccountFinder.cjsx +1 -1
  9. data/client/skr/components/CreditCardForm.cjsx +1 -1
  10. data/client/skr/components/Currency.cjsx +2 -1
  11. data/client/skr/components/CustomerFinder.cjsx +1 -1
  12. data/client/skr/components/CustomerProjectFinder.cjsx +1 -1
  13. data/client/skr/components/ExpenseCategoryFinder.cjsx +34 -0
  14. data/client/skr/components/GlAccountChooser.cjsx +2 -1
  15. data/client/skr/components/InvoiceFinder.cjsx +1 -1
  16. data/client/skr/components/LatexSnippets.cjsx +3 -0
  17. data/client/skr/components/LocationChooser.cjsx +3 -3
  18. data/client/skr/components/PaymentCategoryFinder.cjsx +1 -1
  19. data/client/skr/components/SalesOrderFinder.cjsx +1 -2
  20. data/client/skr/components/SkuFinder.cjsx +1 -1
  21. data/client/skr/components/SystemSettings.cjsx +4 -1
  22. data/client/skr/components/TermsChooser.cjsx +2 -2
  23. data/client/skr/components/ToolbarButton.cjsx +7 -3
  24. data/client/skr/components/TotalsLine.cjsx +5 -1
  25. data/client/skr/components/UserPreferences.cjsx +1 -1
  26. data/client/skr/components/VendorFinder.cjsx +1 -1
  27. data/client/skr/components/address/Address.cjsx +14 -1
  28. data/client/skr/components/styles.scss +6 -0
  29. data/client/skr/index.js +1 -0
  30. data/client/skr/lib/Remote.coffee +32 -0
  31. data/client/skr/lib/index.js +2 -0
  32. data/client/skr/lib/namespace.coffee +1 -0
  33. data/client/skr/models/CreditCardGateway.coffee +1 -1
  34. data/client/skr/models/ExpenseCategory.coffee +11 -0
  35. data/client/skr/models/ExpenseEntry.coffee +64 -0
  36. data/client/skr/models/ExpenseEntryCategory.coffee +11 -0
  37. data/client/skr/models/Invoice.coffee +4 -1
  38. data/client/skr/models/Payment.coffee +2 -2
  39. data/client/skr/models/SalesOrder.coffee +3 -2
  40. data/client/skr/models/SequentialId.coffee +1 -1
  41. data/client/skr/models/Vendor.coffee +1 -1
  42. data/client/skr/models/mixins/PrintSupport.coffee +1 -1
  43. data/client/skr/screens/bank-maint/BankMaint.cjsx +1 -1
  44. data/client/skr/screens/chart-of-accounts/ChartOfAccounts.cjsx +1 -1
  45. data/client/skr/screens/customer-maint/CustomerMaint.cjsx +1 -1
  46. data/client/skr/screens/customer-projects/CustomerProjects.cjsx +1 -1
  47. data/client/skr/screens/expense-categories/ExpenseCategories.cjsx +31 -0
  48. data/client/skr/screens/expense-categories/index.js +5 -0
  49. data/client/skr/screens/expense-categories/index.scss +9 -0
  50. data/client/skr/screens/expense-entry/ApprovalRequest.coffee +14 -0
  51. data/client/skr/screens/expense-entry/ApproveDialog.cjsx +30 -0
  52. data/client/skr/screens/expense-entry/Categories.cjsx +112 -0
  53. data/client/skr/screens/expense-entry/ExpenseEntry.cjsx +193 -0
  54. data/client/skr/screens/expense-entry/Form.cjsx +54 -0
  55. data/client/skr/screens/expense-entry/Grid.cjsx +51 -0
  56. data/client/skr/screens/expense-entry/ScreenState.coffee +1 -0
  57. data/client/skr/screens/expense-entry/index.js +1 -0
  58. data/client/skr/screens/expense-entry/index.scss +106 -0
  59. data/client/skr/screens/fresh-books-import/ApiInfo.cjsx +3 -3
  60. data/client/skr/screens/fresh-books-import/ChooseRecords.cjsx +6 -4
  61. data/client/skr/screens/fresh-books-import/FreshBooksImport.cjsx +1 -1
  62. data/client/skr/screens/fresh-books-import/ViewRecords.cjsx +2 -2
  63. data/client/skr/screens/fresh-books-import/index.scss +5 -4
  64. data/client/skr/screens/gl-accounts/GlAccounts.cjsx +1 -1
  65. data/client/skr/screens/gl-transactions/GlTransactions.cjsx +1 -1
  66. data/client/skr/screens/invoice/Invoice.cjsx +6 -2
  67. data/client/skr/screens/invoice/Payment.cjsx +1 -1
  68. data/client/skr/screens/invoice/TotalExtraInfo.cjsx +32 -0
  69. data/client/skr/screens/invoice/index.scss +4 -2
  70. data/client/skr/screens/locations/Locations.cjsx +1 -1
  71. data/client/skr/screens/payment-category/PaymentCategory.cjsx +1 -1
  72. data/client/skr/screens/payment-terms/PaymentTerms.cjsx +1 -1
  73. data/client/skr/screens/payments/Payments.cjsx +13 -6
  74. data/client/skr/screens/sale-report/SaleReport.cjsx +1 -1
  75. data/client/skr/screens/sales-order/SalesOrder.cjsx +2 -1
  76. data/client/skr/screens/sku-maint/SkuMaint.cjsx +1 -1
  77. data/client/skr/screens/sku-maint/SkuUomList.cjsx +2 -2
  78. data/client/skr/screens/time-invoicing/TimeInvoicing.cjsx +4 -4
  79. data/client/skr/screens/time-tracking/EditEntry.cjsx +2 -2
  80. data/client/skr/screens/time-tracking/Entries.coffee +6 -4
  81. data/client/skr/screens/time-tracking/Popover.cjsx +11 -6
  82. data/client/skr/screens/time-tracking/TimeTracking.cjsx +12 -5
  83. data/client/skr/screens/vendor-maint/VendorMaint.cjsx +2 -2
  84. data/config/database.yml +2 -0
  85. data/config/puma.rb +0 -4
  86. data/config/routes.rb +4 -0
  87. data/config/screens.rb +17 -0
  88. data/db/migrate/20140323001446_create_so_details_view.rb +2 -2
  89. data/db/migrate/20151121211323_create_customer_project_details_views.rb +1 -1
  90. data/db/migrate/20160216142845_create_gl_account_balances_view.rb +1 -1
  91. data/db/migrate/20160726004411_string_check_numbers.rb +5 -0
  92. data/db/migrate/20160805002717_create_expenses.rb +65 -0
  93. data/db/schema.sql +394 -229
  94. data/db/seed.rb +12 -12
  95. data/lib/skr/access_roles.rb +9 -4
  96. data/lib/skr/concerns/has_gl_transaction.rb +1 -1
  97. data/lib/skr/configuration.rb +3 -1
  98. data/lib/skr/db/migration_helpers.rb +2 -2
  99. data/lib/skr/handlers/approve_expense_entries.rb +16 -0
  100. data/lib/skr/handlers/invoice_from_time_entries.rb +1 -1
  101. data/lib/skr/handlers/sequential_ids.rb +2 -2
  102. data/lib/skr/jobs/fresh_books/import.rb +18 -17
  103. data/lib/skr/model.rb +3 -0
  104. data/lib/skr/models/bank_account.rb +9 -0
  105. data/lib/skr/models/expense_category.rb +27 -0
  106. data/lib/skr/models/expense_entry.rb +76 -0
  107. data/lib/skr/models/expense_entry_category.rb +15 -0
  108. data/lib/skr/models/gl_transaction.rb +2 -2
  109. data/lib/skr/models/inv_line.rb +3 -1
  110. data/lib/skr/models/invoice.rb +9 -5
  111. data/lib/skr/models/payment.rb +1 -1
  112. data/lib/skr/models/purchase_order.rb +4 -4
  113. data/lib/skr/models/uom.rb +2 -2
  114. data/lib/skr/models/voucher.rb +4 -4
  115. data/lib/skr/print/form.rb +17 -14
  116. data/lib/skr/version.rb +1 -1
  117. data/spec/fixtures/skr/expense_category.yml +17 -0
  118. data/spec/fixtures/skr/expense_entries.yml +20 -0
  119. data/spec/fixtures/skr/expense_entry_category.yml +19 -0
  120. data/spec/fixtures/skr/gl_account.yml +10 -0
  121. data/spec/server/handlers/invoice_from_time_entries_spec.rb +2 -2
  122. data/spec/server/handlers/sequential_ids_spec.rb +1 -1
  123. data/spec/server/models/expense_category_spec.rb +17 -0
  124. data/spec/server/models/expense_entry_spec.rb +44 -0
  125. data/spec/server/models/invoice_spec.rb +0 -1
  126. data/spec/server/models/spec_helper_spec.rb +5 -10
  127. data/spec/server/spec_helper.rb +12 -11
  128. data/spec/skr/components/SkuLinesSpec.coffee +11 -9
  129. data/spec/skr/models/CustomerSpec.coffee +1 -1
  130. data/spec/skr/models/ExpenseAccountSpec.coffee +5 -0
  131. data/spec/skr/screens/expense-categories/ExpenseCategoriesSpec.coffee +5 -0
  132. data/spec/skr/screens/expense-entry/ExpenseEntrySpec.coffee +5 -0
  133. data/spec/skr/screens/locations/LocationsSpec.coffee +4 -4
  134. data/spec/skr/screens/time-tracking/TimeTrackingSpec.coffee +4 -4
  135. data/stockor.gemspec +2 -3
  136. data/templates/print/partials/header.tex.erb +1 -1
  137. data/templates/print/partials/skus_table_invoice_footer.tex.erb +22 -19
  138. data/templates/print/partials/skus_table_invoice_info_line.tex.erb +5 -1
  139. data/templates/print/types/payment/default.tex.erb +10 -10
  140. metadata +40 -14
  141. data/client/skr/api/onReady.coffee +0 -23
  142. data/spec/skr/api/SingleItemCheckoutSpec.cjsx +0 -10
  143. data/spec/skr/screens/bank-maint/BankMaintSpec.coffee +0 -5
  144. data/spec/skr/screens/gl-accounts/GlAccountsSpec.coffee +0 -5
  145. data/spec/skr/screens/invoice/InvoiceSpec.coffee +0 -5
  146. data/spec/skr/screens/payment-category/PaymentCategorySpec.coffee +0 -5
  147. data/spec/skr/screens/payments/PaymentsSpec.coffee +0 -5
  148. data/spec/skr/screens/sale-report/SaleReportSpec.coffee +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d034328c7abb1e4a300d554047fe8e92c191e851
4
- data.tar.gz: adcf2f8ad7574c66c8fccee8a03522890f47c3ac
3
+ metadata.gz: 09cb3ce822e5b8b9fe38bbef5981ae4a8427ef4b
4
+ data.tar.gz: 8078cbe5eafea57878751d51135fa3419effd792
5
5
  SHA512:
6
- metadata.gz: aaa28a0a53f29918c866658334015ce574cd45f6ac1d96992c85a36b59f476f7afc5c76ffe20399d457306e7fbd6ebacbd8a8fedced54ee61a4d418518606af7
7
- data.tar.gz: e421d735d1959c7824f6bc814da29dc89aa5b5d9ec77ee62218f925135c2678333c78d6894d1d0dc943de1b16c68478a3b6d1f279aaf1a320210b792f8a23707
6
+ metadata.gz: b162148ddff19cd20319c2a6f6ff8f46903e4c0f4d465f078c40abc91f5ad40d653529cd610e065de53fe93450786afb10630cd07bd4b04d84a942d71e8fbc0b
7
+ data.tar.gz: b95e68289c696f17262a76aa0ee7a229a1b6bfe38b77ecfa1f335599d748c6ecda22a0bfd25f2081ab63a8faa91640d39c983344f7d28609751f290b979bb50c
data/Gemfile CHANGED
@@ -1,9 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "lanes", github: "argosity/lanes", branch: 'master'
4
-
3
+ gem "lanes", git: "https://github.com/argosity/lanes", branch: 'master'
4
+ gem 'rb-readline'
5
5
  gem "faker"
6
6
  gem 'puma'
7
7
  gemspec
8
-
9
- gem 'rack-protection', github: 'nathanstitt/rack-protection', branch: 'allow-if'
@@ -1,102 +1,106 @@
1
1
  GIT
2
- remote: git://github.com/argosity/lanes.git
3
- revision: c328b798109f5db9cd507992303eff4e1a259bc6
2
+ remote: https://github.com/argosity/lanes
3
+ revision: 10db6e5530a7e410d8a034dc1145edd819e5bba0
4
4
  branch: master
5
5
  specs:
6
- lanes (0.5.5)
7
- activejob (~> 4.2)
8
- activerecord (~> 4.2)
6
+ lanes (0.6.1)
7
+ actioncable (~> 5.0)
8
+ activejob (~> 5.0)
9
+ activerecord (~> 5.0)
9
10
  bcrypt (~> 3.1)
10
- carrierwave (~> 0.10.0)
11
11
  coffee-react (~> 4.0)
12
12
  coffee-script (~> 2.4)
13
13
  compass-import-once (~> 1.0)
14
14
  execjs (~> 2.6)
15
15
  fastimage (~> 1.8.1)
16
16
  guard (~> 2.13)
17
- guard-jasmine (~> 2.0)
17
+ guard-jasmine (~> 2.1)
18
18
  guard-minitest (~> 2.3)
19
19
  hashie (~> 3.3)
20
+ image_processing (~> 0.4)
20
21
  jasmine-core (~> 2.0)
21
22
  jobba (~> 1.4)
22
- message_bus (= 2.0.0.beta.6)
23
23
  mini_magick (~> 4.3.6)
24
24
  minitest-around (~> 0.2)
25
25
  mocha (~> 1.1)
26
26
  oj (~> 2.1)
27
27
  pg (~> 0.8)
28
+ rack (~> 2.0)
28
29
  rack-cors (~> 0.4)
29
- rack-protection (~> 1.5)
30
+ rack-protection (~> 2.0.0.beta2)
30
31
  rack-test (~> 0.6)
31
32
  rake (~> 10.0)
32
33
  require_all (~> 1.3)
33
34
  resque (~> 1.25)
34
35
  sanitize (~> 3.0)
35
36
  sass (~> 3.4)
36
- sinatra (~> 1.4)
37
- sprockets (~> 3.6)
37
+ shrine (~> 2.4)
38
+ sinatra (~> 2.0.0.beta2)
39
+ sprockets (= 3.6.3)
38
40
  sprockets-helpers (~> 1.2)
39
41
  thor (~> 0.19)
40
42
  uglifier (~> 2.7)
41
43
 
42
- GIT
43
- remote: git://github.com/nathanstitt/rack-protection.git
44
- revision: ae5b2cd7f9e0c301b1ff4340d74628592de8fdca
45
- branch: allow-if
46
- specs:
47
- rack-protection (1.5.3)
48
- rack
49
-
50
44
  PATH
51
45
  remote: .
52
46
  specs:
53
- stockor (0.4.0)
54
- aasm (~> 4.10.1)
47
+ stockor (0.5.0)
48
+ aasm (~> 4.11)
55
49
  activemerchant (~> 1.59)
56
50
  erb_latex (= 1.0)
57
- lanes (~> 0.5.5)
51
+ lanes (~> 0.6)
58
52
  numbers_in_words (~> 0.4.0)
59
53
  ruby-freshbooks (~> 0.4)
60
54
 
61
55
  GEM
62
56
  remote: https://rubygems.org/
63
57
  specs:
64
- aasm (4.10.1)
65
- activejob (4.2.6)
66
- activesupport (= 4.2.6)
67
- globalid (>= 0.3.0)
68
- activemerchant (1.59.0)
58
+ aasm (4.11.1)
59
+ actioncable (5.0.0.1)
60
+ actionpack (= 5.0.0.1)
61
+ nio4r (~> 1.2)
62
+ websocket-driver (~> 0.6.1)
63
+ actionpack (5.0.0.1)
64
+ actionview (= 5.0.0.1)
65
+ activesupport (= 5.0.0.1)
66
+ rack (~> 2.0)
67
+ rack-test (~> 0.6.3)
68
+ rails-dom-testing (~> 2.0)
69
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
70
+ actionview (5.0.0.1)
71
+ activesupport (= 5.0.0.1)
72
+ builder (~> 3.1)
73
+ erubis (~> 2.7.0)
74
+ rails-dom-testing (~> 2.0)
75
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
76
+ activejob (5.0.0.1)
77
+ activesupport (= 5.0.0.1)
78
+ globalid (>= 0.3.6)
79
+ activemerchant (1.60.0)
69
80
  activesupport (>= 3.2.14, < 5.1)
70
81
  builder (>= 2.1.2, < 4.0.0)
71
82
  i18n (>= 0.6.9)
72
83
  nokogiri (~> 1.4)
73
- activemodel (4.2.6)
74
- activesupport (= 4.2.6)
75
- builder (~> 3.1)
76
- activerecord (4.2.6)
77
- activemodel (= 4.2.6)
78
- activesupport (= 4.2.6)
79
- arel (~> 6.0)
80
- activesupport (4.2.6)
84
+ activemodel (5.0.0.1)
85
+ activesupport (= 5.0.0.1)
86
+ activerecord (5.0.0.1)
87
+ activemodel (= 5.0.0.1)
88
+ activesupport (= 5.0.0.1)
89
+ arel (~> 7.0)
90
+ activesupport (5.0.0.1)
91
+ concurrent-ruby (~> 1.0, >= 1.0.2)
81
92
  i18n (~> 0.7)
82
- json (~> 1.7, >= 1.7.7)
83
93
  minitest (~> 5.1)
84
- thread_safe (~> 0.3, >= 0.3.4)
85
94
  tzinfo (~> 1.1)
86
95
  addressable (2.4.0)
87
- arel (6.0.3)
96
+ arel (7.1.4)
88
97
  bcrypt (3.1.11)
89
98
  builder (3.2.2)
90
- byebug (9.0.5)
91
- carrierwave (0.10.0)
92
- activemodel (>= 3.2.0)
93
- activesupport (>= 3.2.0)
94
- json (>= 1.7)
95
- mime-types (>= 1.16)
99
+ byebug (9.0.6)
96
100
  childprocess (0.5.9)
97
101
  ffi (~> 1.0, >= 1.0.11)
98
102
  coderay (1.1.1)
99
- coffee-react (4.0.0)
103
+ coffee-react (4.0.1)
100
104
  execjs
101
105
  coffee-script (2.4.1)
102
106
  coffee-script-source
@@ -108,15 +112,17 @@ GEM
108
112
  crack (0.4.3)
109
113
  safe_yaml (~> 1.0.0)
110
114
  crass (1.0.2)
115
+ down (2.3.6)
111
116
  erb_latex (1.0.0)
117
+ erubis (2.7.0)
112
118
  execjs (2.7.0)
113
- faker (1.6.3)
119
+ faker (1.6.6)
114
120
  i18n (~> 0.5)
115
121
  fastimage (1.8.1)
116
122
  addressable (~> 2.3, >= 2.3.5)
117
- ffi (1.9.10)
123
+ ffi (1.9.14)
118
124
  formatador (0.2.5)
119
- globalid (0.3.6)
125
+ globalid (0.3.7)
120
126
  activesupport (>= 4.1.0)
121
127
  growl (1.0.3)
122
128
  guard (2.14.0)
@@ -129,87 +135,92 @@ GEM
129
135
  shellany (~> 0.0)
130
136
  thor (>= 0.18.1)
131
137
  guard-compat (1.2.1)
132
- guard-jasmine (2.0.6)
138
+ guard-jasmine (2.1.0)
133
139
  childprocess (~> 0.5)
134
- guard (~> 2.8)
140
+ guard (~> 2.14)
135
141
  guard-compat (~> 1.2)
136
- jasmine (~> 2.2)
137
- multi_json (~> 1.1)
142
+ jasmine (~> 2.4)
143
+ multi_json (~> 1.12)
138
144
  thor (~> 0.19)
139
145
  tilt
140
- guard-minitest (2.4.5)
146
+ guard-minitest (2.4.6)
141
147
  guard-compat (~> 1.2)
142
148
  minitest (>= 3.0)
143
149
  hashdiff (0.3.0)
144
- hashie (3.4.4)
145
- httparty (0.13.7)
146
- json (~> 1.8)
150
+ hashie (3.4.6)
151
+ httparty (0.14.0)
147
152
  multi_xml (>= 0.5.2)
148
153
  i18n (0.7.0)
149
- jasmine (2.4.0)
150
- jasmine-core (~> 2.4)
154
+ image_processing (0.4.1)
155
+ jasmine (2.5.1)
156
+ jasmine-core (>= 2.5.1, < 3.0.0)
151
157
  phantomjs
152
158
  rack (>= 1.2.1)
153
159
  rake
154
- jasmine-core (2.4.1)
160
+ jasmine-core (2.5.2)
155
161
  jobba (1.4.0)
156
162
  redis (~> 3.2)
157
163
  redis-namespace
158
- json (1.8.3)
164
+ json (2.0.2)
159
165
  listen (3.1.5)
160
166
  rb-fsevent (~> 0.9, >= 0.9.4)
161
167
  rb-inotify (~> 0.9, >= 0.9.7)
162
168
  ruby_dep (~> 1.2)
169
+ loofah (2.0.3)
170
+ nokogiri (>= 1.5.9)
163
171
  lumberjack (1.0.10)
164
- message_bus (2.0.0.beta.6)
165
- rack (>= 1.1.3)
166
172
  metaclass (0.0.4)
167
173
  method_source (0.8.2)
168
- mime-types (3.1)
169
- mime-types-data (~> 3.2015)
170
- mime-types-data (3.2016.0521)
171
174
  mini_magick (4.3.6)
172
175
  mini_portile2 (2.1.0)
173
- minitest (5.9.0)
174
- minitest-around (0.3.2)
176
+ minitest (5.9.1)
177
+ minitest-around (0.4.0)
175
178
  minitest (~> 5.0)
176
- mocha (1.1.0)
179
+ mocha (1.2.1)
177
180
  metaclass (~> 0.0.1)
178
181
  mono_logger (1.1.0)
179
182
  multi_json (1.12.1)
180
183
  multi_xml (0.5.5)
184
+ mustermann (1.0.0.beta2)
181
185
  nenv (0.3.0)
182
- nokogiri (1.6.8)
186
+ nio4r (1.2.1)
187
+ nokogiri (1.6.8.1)
183
188
  mini_portile2 (~> 2.1.0)
184
- pkg-config (~> 1.1.7)
185
189
  nokogumbo (1.2.0)
186
190
  nokogiri
187
- notiffany (0.1.0)
191
+ notiffany (0.1.1)
188
192
  nenv (~> 0.1)
189
193
  shellany (~> 0.0)
190
194
  numbers_in_words (0.4.0)
191
195
  activesupport
192
- oj (2.16.1)
193
- pg (0.18.4)
196
+ oj (2.17.5)
197
+ pg (0.19.0)
194
198
  phantomjs (2.1.1.0)
195
- pkg-config (1.1.7)
196
- pry (0.10.3)
199
+ pry (0.10.4)
197
200
  coderay (~> 1.1.0)
198
201
  method_source (~> 0.8.1)
199
202
  slop (~> 3.4)
200
203
  pry-byebug (3.4.0)
201
204
  byebug (~> 9.0)
202
205
  pry (~> 0.10)
203
- puma (3.4.0)
204
- rack (1.6.4)
206
+ puma (3.6.0)
207
+ rack (2.0.1)
205
208
  rack-cors (0.4.0)
209
+ rack-protection (2.0.0.beta2)
210
+ rack
206
211
  rack-test (0.6.3)
207
212
  rack (>= 1.0)
213
+ rails-dom-testing (2.0.1)
214
+ activesupport (>= 4.2.0, < 6.0)
215
+ nokogiri (~> 1.6.0)
216
+ rails-html-sanitizer (1.0.3)
217
+ loofah (~> 2.0)
208
218
  rake (10.5.0)
209
- rb-fsevent (0.9.7)
219
+ rb-fsevent (0.9.8)
210
220
  rb-inotify (0.9.7)
211
221
  ffi (>= 0.5.0)
212
- redis (3.3.0)
222
+ rb-readline (0.5.3)
223
+ redis (3.3.1)
213
224
  redis-namespace (1.5.2)
214
225
  redis (~> 3.0, >= 3.0.4)
215
226
  require_all (1.3.3)
@@ -222,7 +233,7 @@ GEM
222
233
  ruby-freshbooks (0.4.1)
223
234
  builder (>= 2.1.2)
224
235
  httparty (>= 0.5.0)
225
- ruby_dep (1.3.1)
236
+ ruby_dep (1.5.0)
226
237
  safe_yaml (1.0.4)
227
238
  sanitize (3.1.2)
228
239
  crass (~> 1.0.1)
@@ -230,12 +241,15 @@ GEM
230
241
  nokogumbo (= 1.2.0)
231
242
  sass (3.4.22)
232
243
  shellany (0.0.1)
233
- sinatra (1.4.7)
234
- rack (~> 1.5)
235
- rack-protection (~> 1.4)
236
- tilt (>= 1.3, < 3)
244
+ shrine (2.4.1)
245
+ down (>= 2.3.6)
246
+ sinatra (2.0.0.beta2)
247
+ mustermann (= 1.0.0.beta2)
248
+ rack (~> 2.0)
249
+ rack-protection (= 2.0.0.beta2)
250
+ tilt (~> 2.0)
237
251
  slop (3.6.0)
238
- sprockets (3.6.2)
252
+ sprockets (3.6.3)
239
253
  concurrent-ruby (~> 1.0)
240
254
  rack (> 1, < 3)
241
255
  sprockets-helpers (1.2.1)
@@ -255,6 +269,9 @@ GEM
255
269
  addressable (>= 2.3.6)
256
270
  crack (>= 0.3.2)
257
271
  hashdiff
272
+ websocket-driver (0.6.4)
273
+ websocket-extensions (>= 0.1.0)
274
+ websocket-extensions (0.1.2)
258
275
 
259
276
  PLATFORMS
260
277
  ruby
@@ -268,11 +285,11 @@ DEPENDENCIES
268
285
  lanes!
269
286
  pry-byebug
270
287
  puma
271
- rack-protection!
272
288
  rake
289
+ rb-readline
273
290
  stockor!
274
291
  vcr (~> 3.0)
275
292
  webmock (~> 1.22)
276
293
 
277
294
  BUNDLED WITH
278
- 1.12.5
295
+ 1.13.1
@@ -1,13 +1,15 @@
1
1
  //=require lanes/remote/api
2
2
  //=require ./api/namespace
3
3
  //=require skr/vendor
4
+ //=require skr/lib/Remote
4
5
  //=require ./api/Models/Base
5
6
  //=require_tree ./models/mixins
6
- //=require ../api/Components/Base
7
+ //=require ./api/Components/Base
7
8
  //=require ./api/Components/Base
8
9
  //=require_tree ./api
9
10
  //=require_self
10
11
 
12
+ Skr.lib.Remote.configFromScriptTag()
11
13
 
12
14
  var previousSkr = window.Skr;
13
15
  window.Skr = Lanes.Skr;
@@ -1,6 +1,6 @@
1
1
  class Skr.Api.Components.AddressForm extends Skr.Api.Components.Base
2
2
 
3
- dataObjects:
3
+ modelBindings:
4
4
  address: 'props'
5
5
 
6
6
  setField: (ev) ->
@@ -1,6 +1,6 @@
1
1
  class Skr.Api.Components.SingleItemCart extends Skr.Api.Components.Base
2
2
 
3
- dataObjects:
3
+ modelBindings:
4
4
  cart: 'props'
5
5
 
6
6
  item: -> @cart.skus.first()
@@ -1,6 +1,6 @@
1
1
  class OrderingForm extends Skr.Api.Components.Base
2
2
 
3
- dataObjects:
3
+ modelBindings:
4
4
  sale: 'props'
5
5
 
6
6
  onPurchase: (ev) ->
@@ -42,7 +42,7 @@ class OrderingForm extends Skr.Api.Components.Base
42
42
 
43
43
  class OrderingComplete extends Skr.Api.Components.Base
44
44
 
45
- dataObjects:
45
+ modelBindings:
46
46
  sale: 'props'
47
47
 
48
48
  render: ->
@@ -75,7 +75,7 @@ class Skr.SingleItemCheckout extends Skr.Api.Components.Base
75
75
  getInitialState: ->
76
76
  showingOrder: true
77
77
 
78
- dataObjects:
78
+ modelBindings:
79
79
  cart: -> new Skr.Api.Models.Cart
80
80
  sale: -> new Skr.Api.Models.Sale(@props.sale_options)
81
81
 
@@ -10,7 +10,7 @@ class Skr.Components.BankAccountFinder extends Lanes.React.Component
10
10
  getDefaultProps: ->
11
11
  autoFocus: false, label: 'Bank Account', name: 'code'
12
12
 
13
- dataObjects:
13
+ modelBindings:
14
14
  query: ->
15
15
  new Lanes.Models.Query({
16
16
  syncOptions: @props.syncOptions, autoRetrieve: true
@@ -1,6 +1,6 @@
1
1
  class Skr.Components.CreditCardForm extends Lanes.React.Component
2
2
 
3
- dataObjects:
3
+ modelBindings:
4
4
  card: 'props'
5
5
 
6
6
  setField: (ev) ->