cafepress_wrapper 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,11 +23,11 @@ begin
23
23
  Rails.configuration.cpw_google_analytics = yaml_config['google_analytics']
24
24
  rescue
25
25
  begin
26
- Rails.configuration.cpw_name = yaml_config['cpw_name']
27
- Rails.configuration.cpw_title = yaml_config['cpw_title']
28
- Rails.configuration.cpw_description = yaml_config['cpw_description']
29
- Rails.configuration.cpw_photos_url = yaml_config['cpw_photos_url']
30
- Rails.configuration.cpw_google_analytics = yaml_config['cpw_google_analytics']
26
+ Rails.configuration.cpw_name = ENV['cpw_name']
27
+ Rails.configuration.cpw_title = ENV['cpw_title']
28
+ Rails.configuration.cpw_description = ENV['cpw_description']
29
+ Rails.configuration.cpw_photos_url = ENV['cpw_photos_url']
30
+ Rails.configuration.cpw_google_analytics = ENV['cpw_google_analytics']
31
31
  rescue
32
32
  #maybe config file hasn't been copied over yet via rake cafepress:install:assets
33
33
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cafepress_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 6
10
- version: 0.0.6
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Lee Smith