test/credentials.yml in active_shipping-1.0.0.pre3 vs test/credentials.yml in active_shipping-1.0.0.pre4

- old
+ new

@@ -1,47 +1,61 @@ +# The following file is used to specify credentials for the remote tests. +# In the CI environment, the environment are populated with proper values. +# If the values are not set, the remote tests will be skipped. +# +# If you want to run remote tests locally, you can set these environment +# variables, or you can create a file `~/.active_shipping/credentials.yml`, +# and set the values in there. This way you won't accidentially commit them +# to git. + usps: - login: APIKey + login: <%= ENV['ACTIVESHIPPING_USPS_LOGIN'] %> + ups: - key: XmlAccessKey - login: UPSDotComLogin - password: UPSDotComPassword + key: <%= ENV['ACTIVESHIPPING_UPS_LOGIN'] %> + login: <%= ENV['ACTIVESHIPPING_UPS_KEY'] %> + password: <%= ENV['ACTIVESHIPPING_UPS_PASSWORD'] %> fedex: - account: FedExAccountNumber - login: FedExMeterNumber - password: FedExMeterPassword - test: true - key: FedExDeveloperKey + account: <%= ENV['ACTIVESHIPPING_FEDEX_ACCOUNT'] %> + login: <%= ENV['ACTIVESHIPPING_FEDEX_LOGIN'] %> + password: <%= ENV['ACTIVESHIPPING_FEDEX_PASSWORD'] %> + key: <%= ENV['ACTIVESHIPPING_FEDEX_KEY'] %> -fedex_freight: - account: FedExFreightAccountNumber - shipping_address1: FedExShippingAddress1 - shipping_address2: FedExShippingAddress2 - shipping_city: FedExShippingCity - shipping_postal_code: FedExShippingPostalCode - shipping_state: FedExShippingState - shipping_country: FedExShippingCountry - billing_address1: FedExBillingAddress1 - billing_address2: FedExBillingAddress2 - billing_city: FedExBillingCity - billing_postal_code: FedExBillingPostalCode - billing_state: FedExBillingState - billing_country: FedExBillingCountry - payment_type: SENDER - freight_class: CLASS_050 - packaging: PALLET - role: SHIPPER - shipwire: - login: EmailAddress - password: Password + login: <%= ENV['ACTIVESHIPPING_SHIPWIRE_LOGIN'] %> + password: <%= ENV['ACTIVESHIPPING_SHIPWITE_PASSWORD'] %> canada_post: - login: CPC_DEMO_XML + login: <%= ENV['ACTIVESHIPPING_CANADA_POST_LOGIN'] %> new_zealand_post: - key: '4d9dc0f0-dda0-012e-066f-000c29b44ac0' + key: <%= ENV['ACTIVESHIPPING_NEW_ZEALAND_POST_KEY'] %> canada_post_pws: - platform_id: 12345678 - api_key: 1234789 - secret: 1245743 + platform_id: <%= ENV['ACTIVESHIPPING_CANADA_POST_PWS_PLATFORM_ID'] %> + api_key: <%= ENV['ACTIVESHIPPING_CANADA_POST_PWS_API_KEY'] %> + secret: <%= ENV['ACTIVESHIPPING_CANADA_POST_PWS_SECRET'] %> + +stamps: + integration_id: <%= ENV['ACTIVESHIPPING_STAMPS_INTEGRATION_ID'] %> + username: <%= ENV['ACTIVESHIPPING_STAMPS_USERNAME'] %> + password: <%= ENV['ACTIVESHIPPING_STAMPS_PASSWORD'] %> + +# fedex_freight: +# account: FedExFreightAccountNumber +# shipping_address1: FedExShippingAddress1 +# shipping_address2: FedExShippingAddress2 +# shipping_city: FedExShippingCity +# shipping_postal_code: FedExShippingPostalCode +# shipping_state: FedExShippingState +# shipping_country: FedExShippingCountry +# billing_address1: FedExBillingAddress1 +# billing_address2: FedExBillingAddress2 +# billing_city: FedExBillingCity +# billing_postal_code: FedExBillingPostalCode +# billing_state: FedExBillingState +# billing_country: FedExBillingCountry +# payment_type: SENDER +# freight_class: CLASS_050 +# packaging: PALLET +# role: SHIPPER