nimbleshop_simply 0.0.3 → 0.0.4.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class CartsController < ApplicationController
2
+ class CartsController < SimplyController
3
3
 
4
4
  respond_to :html
5
5
 
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class Checkout::PaymentsController < ApplicationController
2
+ class Checkout::PaymentsController < SimplyController
3
3
 
4
4
  before_filter :verify_current_order
5
5
 
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class Checkout::ShippingAddressesController < ApplicationController
2
+ class Checkout::ShippingAddressesController < SimplyController
3
3
 
4
4
  before_filter :verify_current_order
5
5
 
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class Checkout::ShippingMethodsController < ApplicationController
2
+ class Checkout::ShippingMethodsController < SimplyController
3
3
 
4
4
  before_filter :verify_current_order, :load_shipping_methods
5
5
 
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class OrdersController < ApplicationController
2
+ class OrdersController < SimplyController
3
3
 
4
4
  before_filter :verify_current_order, only: [:edit_shipping_method, :update_shipping_method, :edit, :update]
5
5
  before_filter :reset_order, only: [ :show ]
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class PagesController < ApplicationController
2
+ class PagesController < SimplyController
3
3
 
4
4
  def about_us
5
5
  render
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- class ProductGroupsController < ApplicationController
2
+ class ProductGroupsController < SimplyController
3
3
 
4
4
  before_filter :no_page_title, only: [:show]
5
5
 
@@ -1,10 +1,5 @@
1
1
  module NimbleshopSimply
2
- class ProductsController < ApplicationController
3
-
4
-
5
- def no_page_title
6
- @do_not_use_page_title = true
7
- end
2
+ class ProductsController < SimplyController
8
3
 
9
4
  before_filter :no_page_title, only: [:all_prictures, :index]
10
5
 
@@ -1,8 +1,8 @@
1
- class NimbleshopSimply::ApplicationController < ApplicationController
1
+ class NimbleshopSimply::SimplyController < ApplicationController
2
2
 
3
3
  layout 'simply'
4
4
 
5
- helper 'nimbleshop_simply/application'
5
+ helper 'nimbleshop_simply/simply'
6
6
 
7
7
  helper_method :current_order, :current_shop
8
8
 
@@ -22,7 +22,7 @@ class NimbleshopSimply::ApplicationController < ApplicationController
22
22
 
23
23
  def current_shop
24
24
  @shop ||= Shop.first
25
- raise "The database base is empty. Please run bundle exec rake setup first." unless @shop
25
+ raise 'The database base is empty. Please run bundle exec rake setup first.' unless @shop
26
26
  @shop
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  module NimbleshopSimply
2
- module ApplicationHelper
2
+ module SimplyHelper
3
3
 
4
4
  # returns nil if the product does not have a main picture
5
5
  def product_main_picture(product, version = :medium_plus)
@@ -9,6 +9,6 @@
9
9
  </div>
10
10
  </div>
11
11
 
12
- <div class="form-actions">
12
+ <div class='form-actions'>
13
13
  <%= f.submit 'Submit', class: 'btn btn-primary', 'data-loading-text' => 'processing ...' %>
14
14
  </div>
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nimbleshop_simply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4.beta1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Neeraj Singh
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-10 00:00:00.000000000 Z
13
+ date: 2012-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-rails
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.3
54
+ version: 0.0.4.beta1
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 0.0.3
62
+ version: 0.0.4.beta1
63
63
  description: Provides simply theme to nimbleShop
64
64
  email:
65
65
  - neeraj@bigbinary.com
@@ -86,7 +86,6 @@ files:
86
86
  - app/assets/stylesheets/nimbleshop_simply/override_bootstrap.css
87
87
  - app/assets/stylesheets/nimbleshop_simply/simply.css
88
88
  - app/assets/stylesheets/nimbleshop_simply/themed_bootstrap_and_overrides.css.less
89
- - app/controllers/nimbleshop_simply/application_controller.rb
90
89
  - app/controllers/nimbleshop_simply/carts_controller.rb
91
90
  - app/controllers/nimbleshop_simply/checkout/payments_controller.rb
92
91
  - app/controllers/nimbleshop_simply/checkout/shipping_addresses_controller.rb
@@ -95,7 +94,8 @@ files:
95
94
  - app/controllers/nimbleshop_simply/pages_controller.rb
96
95
  - app/controllers/nimbleshop_simply/product_groups_controller.rb
97
96
  - app/controllers/nimbleshop_simply/products_controller.rb
98
- - app/helpers/nimbleshop_simply/application_helper.rb
97
+ - app/controllers/nimbleshop_simply/simply_controller.rb
98
+ - app/helpers/nimbleshop_simply/simply_helper.rb
99
99
  - app/views/layouts/_footer.html.erb
100
100
  - app/views/layouts/_google_analytics.html.erb
101
101
  - app/views/layouts/_top_bar.html.erb
@@ -154,18 +154,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
154
  - - ! '>='
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
- segments:
158
- - 0
159
- hash: -4502290635592305364
160
157
  required_rubygems_version: !ruby/object:Gem::Requirement
161
158
  none: false
162
159
  requirements:
163
- - - ! '>='
160
+ - - ! '>'
164
161
  - !ruby/object:Gem::Version
165
- version: '0'
166
- segments:
167
- - 0
168
- hash: -4502290635592305364
162
+ version: 1.3.1
169
163
  requirements: []
170
164
  rubyforge_project:
171
165
  rubygems_version: 1.8.24