exvo_helpers 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8a3848aa8222b5da42a20bbeff76a48c83bdf94
4
- data.tar.gz: 9761562a4472d2922f5c0aa27e05750f64f796c9
3
+ metadata.gz: 562c5249679d032433af08916f6477c857db121f
4
+ data.tar.gz: 473deaecb7237600673b919467be2d0001e8bb02
5
5
  SHA512:
6
- metadata.gz: 4983aa1cf6582ae33a0394458333ef2dc6f79d171f909379ee9a736f0bf436ff21ae4e0641eed397c6f2b3e879951efa0d839e83b833faa193bb5f28d63d27fe
7
- data.tar.gz: 8578869bd7d4a8b4370eb87be39b17c30978231233397bb89402a034933ce195a414bd398077ed1452d661ba0c9fb2ce6b6c19d38f6005203735967a712ecee9
6
+ metadata.gz: f66a46305900a6b08da799436c4f02618f10e2f50b96a6bfa3215681aa8be18344e79e0dbfd6fff122cfebdf43c6eed31bbf0ca1f01b9c8e69e1a225c7993521
7
+ data.tar.gz: 46feae963d35df3790fa67dc8758d6e68b99f403f415d15bed5293c76755bbe3fa935e29bca38263ae70b178972f2654c861b08cdde948e9b2cdddac4632e483
data/CHANGELOG.md CHANGED
@@ -2,9 +2,15 @@
2
2
 
3
3
  Note, that only significant changes are listed.
4
4
 
5
+ ## 0.6.2 (2013-06-24)
6
+
7
+ * remove 'Blog' helpers (Blog is no more)
8
+ * change 'Budget' host (it lives at `www.exvo.com` now)
9
+
10
+
5
11
  ## 0.6.1 (2013-06-14)
6
12
 
7
- * `bugherd` view helper
13
+ * new `bugherd` view helper
8
14
 
9
15
 
10
16
  ## 0.6.0 (2013-05-01)
data/README.md CHANGED
@@ -19,12 +19,11 @@ Exvo::Helpers.sso_cookie_domain => 'exvo.local'
19
19
  Exvo::Helpers.sso_cookie_secret => 'some secret cookie signing key'
20
20
 
21
21
  Exvo::Helpers.auth_host => 'auth.exvo.local'
22
- Exvo::Helpers.budget_host => 'budget.exvo.local'
22
+ Exvo::Helpers.budget_host => 'www.exvo.local'
23
23
  Exvo::Helpers.cdn_host => 'home.exvo.local'
24
24
  Exvo::Helpers.cfs_host => 'cfs.exvo.local'
25
25
  Exvo::Helpers.desktop_host => 'home.exvo.local'
26
26
  Exvo::Helpers.themes_host => 'themes.exvo.local'
27
- Exvo::Helpers.blog_host => 'www.exvo.local'
28
27
  Exvo::Helpers.contacts_host => 'contacts.exvo.local'
29
28
  Exvo::Helpers.inbox_host => 'inbox.exvo.local'
30
29
  Exvo::Helpers.music_host => 'music.exvo.local'
@@ -32,12 +31,11 @@ Exvo::Helpers.pics_host => 'pics.exvo.local'
32
31
  Exvo::Helpers.preview_host => 'preview.exvo.local'
33
32
 
34
33
  Exvo::Helpers.auth_uri => 'http://auth.exvo.local'
35
- Exvo::Helpers.budget_uri => 'http://budget.exvo.local'
34
+ Exvo::Helpers.budget_uri => 'http://www.exvo.local'
36
35
  Exvo::Helpers.cdn_uri => 'http://home.exvo.local'
37
36
  Exvo::Helpers.cfs_uri => 'http://cfs.exvo.local'
38
37
  Exvo::Helpers.desktop_uri => 'http://home.exvo.local'
39
38
  Exvo::Helpers.themes_uri => 'http://themes.exvo.local'
40
- Exvo::Helpers.blog_uri => 'http://www.exvo.local/blog'
41
39
  Exvo::Helpers.contacts_uri => 'http://contacts.exvo.local'
42
40
  Exvo::Helpers.inbox_uri => 'http://inbox.exvo.local'
43
41
  Exvo::Helpers.music_uri => 'http://music.exvo.local'
@@ -60,12 +58,11 @@ ENV['SSO_COOKIE_DOMAIN'] = 'exvo.dev'
60
58
  ENV['SSO_COOKIE_SECRET'] = 'exvo.dev'
61
59
 
62
60
  ENV['AUTH_HOST'] = 'test.auth.exvo.com'
63
- ENV['BUDGET_HOST'] = 'test.budget.exvo.com'
61
+ ENV['BUDGET_HOST'] = 'test.www.exvo.com'
64
62
  ENV['CDN_HOST'] = 'test.cdn.exvo.com'
65
63
  ENV['CFS_HOST'] = 'test.cfs.exvo.com'
66
64
  ENV['DESKTOP_HOST'] = 'test.exvo.com'
67
65
  ENV['THEMES_HOST'] = 'test.themes.exvo.com'
68
- ENV['BLOG_HOST'] = 'test.www.exvo.local'
69
66
  ENV['CONTACTS_HOST'] = 'test.contacts.exvo.local'
70
67
  ENV['INBOX_HOST'] = 'test.inbox.exvo.local'
71
68
  ENV['MUSIC_HOST'] = 'test.music.exvo.local'
@@ -85,12 +82,11 @@ Exvo::Helpers.sso_cookie_domain = 'exvo.dev'
85
82
  Exvo::Helpers.sso_cookie_key = 'some secret key'
86
83
 
87
84
  Exvo::Helpers.auth_host = 'test.auth.exvo.com'
88
- Exvo::Helpers.budget_host = 'test.budget.exvo.com'
85
+ Exvo::Helpers.budget_host = 'test.www.exvo.com'
89
86
  Exvo::Helpers.cdn_host = 'test.cdn.exvo.com'
90
87
  Exvo::Helpers.cfs_host = 'test.cfs.exvo.com'
91
88
  Exvo::Helpers.desktop_host = 'test.exvo.com'
92
89
  Exvo::Helpers.themes_host = 'test.themes.exvo.com'
93
- Exvo::Helpers.blog_host = 'test.www.exvo.local'
94
90
  Exvo::Helpers.contacts_host = 'test.contacts.exvo.local'
95
91
  Exvo::Helpers.inbox_host = 'test.inbox.exvo.local'
96
92
  Exvo::Helpers.music_host = 'test.music.exvo.local'
@@ -208,16 +204,6 @@ Asynchronous Bugherd javascript snippet.
208
204
  ...
209
205
  ```
210
206
 
211
- If you'd like to customize the position of the 'Send Feedback' button, you can do this with this CSS snippet:
212
-
213
- ```css
214
- #_BH_frame {
215
- left: 10px !important;
216
- }
217
- ```
218
-
219
- The above code will move the button to the left side.
220
-
221
207
 
222
208
 
223
209
  Copyright © 2011-2013 Exvo.com Development BV, released under the MIT license
@@ -5,13 +5,12 @@ module Exvo
5
5
  # Dynamically define class methods
6
6
  class << self
7
7
 
8
- %w(auth budget cdn cfs desktop themes blog contacts inbox music pics preview).each do |service|
8
+ %w(auth budget cdn cfs desktop themes contacts inbox music pics preview).each do |service|
9
9
 
10
10
  # def self.cdn_uri
11
11
  # protocol = 'http://'
12
12
  # protocol = 'https://' if %w(auth budget cdn cfs themes).include?(service) && env.to_sym == :production
13
- # suffix = '/blog' if service == "blog"
14
- # protocol + cdn_host + suffix.to_s
13
+ # protocol + cdn_host
15
14
  # end
16
15
  define_method "#{service}_uri" do
17
16
  protocol = 'http://'
@@ -19,10 +18,7 @@ module Exvo
19
18
  # explicit https
20
19
  protocol = 'https://' if %w(auth budget cdn cfs themes).include?(service) && env.to_sym == :production
21
20
 
22
- # blog now lives at http://www.exvo.com/blog, so adding '/blog' suffix is required
23
- suffix = '/blog' if service == "blog"
24
-
25
- protocol + send("#{service}_host") + suffix.to_s
21
+ protocol + send("#{service}_host")
26
22
  end
27
23
 
28
24
  # def self.cdn_host
@@ -188,12 +184,11 @@ module Exvo
188
184
  :auth_debug => false,
189
185
  :auth_host => 'auth.exvo.com',
190
186
  :sso_cookie_domain => 'exvo.com',
191
- :budget_host => 'budget.exvo.com',
187
+ :budget_host => 'www.exvo.com',
192
188
  :cdn_host => 'd33gjlr95u9pgf.cloudfront.net', # cloudfront.net so we can use https (cdn.exvo.com via https does not work properly)
193
189
  :cfs_host => 'cfs.exvo.com',
194
190
  :desktop_host => 'home.exvo.com',
195
191
  :themes_host => 'themes.exvo.com',
196
- :blog_host => 'www.exvo.com',
197
192
  :contacts_host => 'contacts.exvo.com',
198
193
  :inbox_host => 'inbox.exvo.com',
199
194
  :music_host => 'music.exvo.com',
@@ -204,12 +199,11 @@ module Exvo
204
199
  :auth_debug => false,
205
200
  :auth_host => 'auth.exvo.co',
206
201
  :sso_cookie_domain => 'exvo.co',
207
- :budget_host => 'budget.exvo.co',
202
+ :budget_host => 'www.exvo.co',
208
203
  :cdn_host => 'd1by559a994699.cloudfront.net',
209
204
  :cfs_host => 'cfs.exvo.co',
210
205
  :desktop_host => 'home.exvo.co',
211
206
  :themes_host => 'themes.exvo.co',
212
- :blog_host => 'www.exvo.co',
213
207
  :contacts_host => 'contacts.exvo.co',
214
208
  :inbox_host => 'inbox.exvo.co',
215
209
  :music_host => 'music.exvo.co',
@@ -220,12 +214,11 @@ module Exvo
220
214
  :auth_debug => false,
221
215
  :auth_host => 'auth.exvo.local',
222
216
  :sso_cookie_domain => 'exvo.local',
223
- :budget_host => 'budget.exvo.local',
217
+ :budget_host => 'www.exvo.local',
224
218
  :cdn_host => 'home.exvo.local',
225
219
  :cfs_host => 'cfs.exvo.local',
226
220
  :desktop_host => 'home.exvo.local',
227
221
  :themes_host => 'themes.exvo.local',
228
- :blog_host => 'www.exvo.local',
229
222
  :contacts_host => 'contacts.exvo.local',
230
223
  :inbox_host => 'inbox.exvo.local',
231
224
  :music_host => 'music.exvo.local',
@@ -236,12 +229,11 @@ module Exvo
236
229
  :auth_debug => false,
237
230
  :auth_host => 'auth.exvo.local',
238
231
  :sso_cookie_domain => 'exvo.local',
239
- :budget_host => 'budget.exvo.local',
232
+ :budget_host => 'www.exvo.local',
240
233
  :cdn_host => 'home.exvo.local',
241
234
  :cfs_host => 'cfs.exvo.local',
242
235
  :desktop_host => 'home.exvo.local',
243
236
  :themes_host => 'themes.exvo.local',
244
- :blog_host => 'www.exvo.local',
245
237
  :contacts_host => 'contacts.exvo.local',
246
238
  :inbox_host => 'inbox.exvo.local',
247
239
  :music_host => 'music.exvo.local',
@@ -1,5 +1,5 @@
1
1
  module Exvo
2
2
  module Helpers
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
4
4
  end
5
5
  end
@@ -32,12 +32,11 @@ describe Exvo::Helpers do
32
32
 
33
33
  describe "uri methods in production environment" do
34
34
  specify { Exvo::Helpers.auth_uri.should match(/\Ahttps:\/\/auth.exvo.com\Z/) }
35
- specify { Exvo::Helpers.budget_uri.should match(/\Ahttps:\/\/budget.exvo.com\Z/) }
35
+ specify { Exvo::Helpers.budget_uri.should match(/\Ahttps:\/\/www.exvo.com\Z/) }
36
36
  specify { Exvo::Helpers.cdn_uri.should match(/\Ahttps:\/\/d33gjlr95u9pgf.cloudfront.net\Z/) }
37
37
  specify { Exvo::Helpers.cfs_uri.should match(/\Ahttps:\/\/cfs.exvo.com\Z/) }
38
38
  specify { Exvo::Helpers.desktop_uri.should match('home.exvo.com') }
39
39
  specify { Exvo::Helpers.themes_uri.should match(/\Ahttps:\/\/themes.exvo.com\Z/) }
40
- specify { Exvo::Helpers.blog_uri.should match('www.exvo.com/blog') }
41
40
  specify { Exvo::Helpers.contacts_uri.should match('contacts.exvo.com') }
42
41
  specify { Exvo::Helpers.inbox_uri.should match('inbox.exvo.com') }
43
42
  specify { Exvo::Helpers.music_uri.should match('music.exvo.com') }
@@ -47,12 +46,11 @@ describe Exvo::Helpers do
47
46
 
48
47
  describe "host methods in production environment" do
49
48
  specify { Exvo::Helpers.auth_host.should match('auth.exvo.com') }
50
- specify { Exvo::Helpers.budget_host.should match('budget.exvo.com') }
49
+ specify { Exvo::Helpers.budget_host.should match('www.exvo.com') }
51
50
  specify { Exvo::Helpers.cdn_host.should eql('d33gjlr95u9pgf.cloudfront.net') }
52
51
  specify { Exvo::Helpers.cfs_host.should eql('cfs.exvo.com') }
53
52
  specify { Exvo::Helpers.desktop_host.should eql('home.exvo.com') }
54
53
  specify { Exvo::Helpers.themes_host.should eql('themes.exvo.com') }
55
- specify { Exvo::Helpers.blog_host.should eql('www.exvo.com') }
56
54
  specify { Exvo::Helpers.contacts_host.should eql('contacts.exvo.com') }
57
55
  specify { Exvo::Helpers.inbox_host.should eql('inbox.exvo.com') }
58
56
  specify { Exvo::Helpers.music_host.should eql('music.exvo.com') }
@@ -66,12 +64,11 @@ describe Exvo::Helpers do
66
64
  end
67
65
 
68
66
  specify { Exvo::Helpers.auth_host.should match('auth.exvo.co') }
69
- specify { Exvo::Helpers.budget_host.should match('budget.exvo.co') }
67
+ specify { Exvo::Helpers.budget_host.should match('www.exvo.co') }
70
68
  specify { Exvo::Helpers.cdn_host.should eql('d1by559a994699.cloudfront.net') }
71
69
  specify { Exvo::Helpers.cfs_host.should eql('cfs.exvo.co') }
72
70
  specify { Exvo::Helpers.desktop_host.should eql('home.exvo.co') }
73
71
  specify { Exvo::Helpers.themes_host.should eql('themes.exvo.co') }
74
- specify { Exvo::Helpers.blog_host.should eql('www.exvo.co') }
75
72
  specify { Exvo::Helpers.contacts_host.should eql('contacts.exvo.co') }
76
73
  specify { Exvo::Helpers.inbox_host.should eql('inbox.exvo.co') }
77
74
  specify { Exvo::Helpers.music_host.should eql('music.exvo.co') }
@@ -150,7 +147,6 @@ describe Exvo::Helpers do
150
147
  Exvo::Helpers.cfs_host = nil
151
148
  Exvo::Helpers.desktop_host = nil
152
149
  Exvo::Helpers.themes_host = nil
153
- Exvo::Helpers.blog_host = nil
154
150
  Exvo::Helpers.contacts_host = nil
155
151
  Exvo::Helpers.inbox_host = nil
156
152
  Exvo::Helpers.music_host = nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exvo_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Gościcki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-14 00:00:00.000000000 Z
11
+ date: 2013-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake