-
-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename misc items from openfoodweb to openfoodnetwork
- Loading branch information
Showing
6 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
openfoodweb | ||
openfoodnetwork |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Open Food Web | ||
# Open Food Network | ||
|
||
Connect suppliers (ie. farmers), distributors (ie. co-ops) and | ||
consumers (ie. local food lovers) for the sale and purchase of local | ||
|
@@ -21,11 +21,11 @@ hosted at GitHub. | |
|
||
You can view the code at: | ||
|
||
https://github.com/eaterprises/openfoodweb | ||
https://github.com/eaterprises/openfoodnetwork | ||
|
||
You can download the source with the command: | ||
|
||
git clone [email protected]:eaterprises/openfoodweb | ||
git clone [email protected]:eaterprises/openfoodnetwork | ||
|
||
|
||
## Get it running | ||
|
@@ -46,7 +46,7 @@ Create the development and test databases, using the settings specified in `conf | |
|
||
Load some default data for your environment | ||
|
||
rake openfoodweb:dev:load_sample_data | ||
rake openfoodnetwork:dev:load_sample_data | ||
|
||
At long last, your dreams of spinning up a development server can be realised: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
db/migrate/20130814010857_remove_shipping_methods_using_itemwise_calculator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
class RemoveShippingMethodsUsingItemwiseCalculator < ActiveRecord::Migration | ||
class OpenFoodWeb::Calculator::Itemwise < Spree::Calculator; end | ||
class OpenFoodNetwork::Calculator::Itemwise < Spree::Calculator; end | ||
|
||
def up | ||
Spree::ShippingMethod.all.select { |sm| sm.calculator.type == 'OpenFoodWeb::Calculator::Itemwise' }.each do |sm| | ||
Spree::ShippingMethod.all.select { |sm| sm.calculator.type == 'OpenFoodNetwork::Calculator::Itemwise' }.each do |sm| | ||
|
||
say "Destroying itemwise shipping method with id #{sm.id}" | ||
sm.destroy | ||
end | ||
end | ||
|
||
def down | ||
Spree::ShippingMethod.create!({name: 'Delivery', zone: Spree::Zone.last, calculator: OpenFoodWeb::Calculator::Itemwise.new}, without_protection: true) | ||
Spree::ShippingMethod.create!({name: 'Delivery', zone: Spree::Zone.last, calculator: OpenFoodNetwork::Calculator::Itemwise.new}, without_protection: true) | ||
end | ||
end |
2 changes: 1 addition & 1 deletion
2
...cal_organics_feature/app/overrides/spree/layouts/spree_application/footer.html.erb.deface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- insert_bottom '#footer-left p' --> | ||
| <%= link_to 'Terms and Conditions', "http://www.localorg.com.au/contactterms-and-conditions.html" %> | ||
| <%= link_to "http://openfoodweb.org/foundation" do %><%= image_tag 'ofw.png', alt: 'Open Food Web Foundation' %><% end %> | ||
| <%= link_to "http://openfoodweb.org/foundation" do %><%= image_tag 'ofw.png', alt: 'Open Food Foundation' %><% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters