rails-ext 0.3.18 → 0.3.19

Sign up to get free protection for your applications and to get access to all the features.
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -72,3 +72,4 @@ cda2dd4b5ecbc69fa1b1ebf09c580ba17bf69656 268fe011dd9d01aa6e05c2004280b78e149ea29
72
72
  6d8daa98dd7a0922a838ee0d274247693d7d9ac2 3566bd5be950e4b626366b4cb2909838729bc66c alex <alex@amac.local> 1272710613 +0400 commit: upd
73
73
  3566bd5be950e4b626366b4cb2909838729bc66c a5fe3c8ef2b84dbebb2181ceaebec710f5b163d4 alex <alex@amac.local> 1272739313 +0400 commit: upd language
74
74
  a5fe3c8ef2b84dbebb2181ceaebec710f5b163d4 0573ef490a937cd853c8d8d6affb63851451e0a3 alex <alex@amac.local> 1272795016 +0400 commit: upd
75
+ 0573ef490a937cd853c8d8d6affb63851451e0a3 f3f41f5c38825fcae9dd63fc9f18ce66b9ce08b7 alex <alex@amac.local> 1272795359 +0400 commit: upd
@@ -72,3 +72,4 @@ cda2dd4b5ecbc69fa1b1ebf09c580ba17bf69656 268fe011dd9d01aa6e05c2004280b78e149ea29
72
72
  6d8daa98dd7a0922a838ee0d274247693d7d9ac2 3566bd5be950e4b626366b4cb2909838729bc66c alex <alex@amac.local> 1272710613 +0400 commit: upd
73
73
  3566bd5be950e4b626366b4cb2909838729bc66c a5fe3c8ef2b84dbebb2181ceaebec710f5b163d4 alex <alex@amac.local> 1272739313 +0400 commit: upd language
74
74
  a5fe3c8ef2b84dbebb2181ceaebec710f5b163d4 0573ef490a937cd853c8d8d6affb63851451e0a3 alex <alex@amac.local> 1272795016 +0400 commit: upd
75
+ 0573ef490a937cd853c8d8d6affb63851451e0a3 f3f41f5c38825fcae9dd63fc9f18ce66b9ce08b7 alex <alex@amac.local> 1272795359 +0400 commit: upd
@@ -57,3 +57,4 @@ cda2dd4b5ecbc69fa1b1ebf09c580ba17bf69656 268fe011dd9d01aa6e05c2004280b78e149ea29
57
57
  4001df088dada11d1dc4f0a197f3ee74db62a376 6d8daa98dd7a0922a838ee0d274247693d7d9ac2 alex <alex@amac.local> 1272710105 +0400 update by push
58
58
  6d8daa98dd7a0922a838ee0d274247693d7d9ac2 3566bd5be950e4b626366b4cb2909838729bc66c alex <alex@amac.local> 1272710619 +0400 update by push
59
59
  3566bd5be950e4b626366b4cb2909838729bc66c 0573ef490a937cd853c8d8d6affb63851451e0a3 alex <alex@amac.local> 1272795025 +0400 update by push
60
+ 0573ef490a937cd853c8d8d6affb63851451e0a3 f3f41f5c38825fcae9dd63fc9f18ce66b9ce08b7 alex <alex@amac.local> 1272795370 +0400 update by push
@@ -0,0 +1,2 @@
1
+ x��K
2
+ �@ �a�s���W�E�J&ɠ��R����Ϳ���uY^\M���B��=⮮k�l}L�cÊ>j�ܰp�f�]�,�TK5d����I�{K�����R0t��������ۼ2�wp>�\1`�����}
@@ -1 +1 @@
1
- 0573ef490a937cd853c8d8d6affb63851451e0a3
1
+ f3f41f5c38825fcae9dd63fc9f18ce66b9ce08b7
@@ -1 +1 @@
1
- 0573ef490a937cd853c8d8d6affb63851451e0a3
1
+ f3f41f5c38825fcae9dd63fc9f18ce66b9ce08b7
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ require 'fileutils'
18
18
 
19
19
  spec = Gem::Specification.new do |s|
20
20
  s.name = "rails-ext"
21
- s.version = "0.3.18"
21
+ s.version = "0.3.19"
22
22
  s.summary = "Set of common Ruby on Rails extensions"
23
23
  s.description = "Set of common Ruby on Rails extensions"
24
24
  s.author = "Alexey Petrushin"
@@ -91,11 +91,11 @@ ActionController::Base.class_eval do
91
91
  # enshure domain has www. except if there's custom subdomain
92
92
  #
93
93
  def ensure_www
94
- if request.domain.count('.') < 2 and Rails.production? and request.domain !~ /localhost/
95
- uri = Addressable::URI.parse request.url
96
- uri.host = "www." + uri.host
97
- redirect_to uri.to_s
98
- end
94
+ # if request.domain.count('.') < 2 and Rails.production? and request.domain !~ /localhost/
95
+ # uri = Addressable::URI.parse request.url
96
+ # uri.host = "www." + uri.host
97
+ # redirect_to uri.to_s
98
+ # end
99
99
  end
100
100
 
101
101
  class << self
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 18
9
- version: 0.3.18
8
+ - 19
9
+ version: 0.3.19
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alexey Petrushin
@@ -69,6 +69,7 @@ files:
69
69
  - .git/objects/02/469b717b4bd61ad27a3fe664ce0646a8325399
70
70
  - .git/objects/03/3c38dc100f22a049c8be12ab9209245c9bd91e
71
71
  - .git/objects/03/9e318355ab5ab32c3b6bc634d3d8e64f444ef8
72
+ - .git/objects/04/63ea30a2d07f0934d75e4001c6614a2ee046b3
72
73
  - .git/objects/04/cd62e7f8158fe54d21e6f63617c43b593b8b59
73
74
  - .git/objects/05/0098e3b05f41a672127d5e730d322cec84e21c
74
75
  - .git/objects/05/38f41ddebf7fa8c71ebe99c5288d5e11c3fb86
@@ -176,6 +177,7 @@ files:
176
177
  - .git/objects/2f/af7acb8454f4b248d928b9a92f09571302a174
177
178
  - .git/objects/30/69d4978bbdfacf4402c4339438b29657275f2c
178
179
  - .git/objects/30/e5bf9c61cc450f8024ab7029a490d7fb9f3ff7
180
+ - .git/objects/31/2394103747eda7e407df494c3e5d6263d6f476
179
181
  - .git/objects/31/2f74fcf97e832a3493accaf640f001d6d85170
180
182
  - .git/objects/31/de78f3710d86d0a5f494eb93405f497d8238fe
181
183
  - .git/objects/33/9755448515fb77f691d6197bd65d5b5d53fc24
@@ -186,6 +188,7 @@ files:
186
188
  - .git/objects/35/d78424bc393bb5acc12c52c031129aa3ceb8c5
187
189
  - .git/objects/36/66d56066f3aeb0f9fc342de42f25e298341a61
188
190
  - .git/objects/36/9902ca51d5820a02ccccbf1cac6ed09051941d
191
+ - .git/objects/36/c05d6453dfbf5cdea71c4a40e0e7539eaa669e
189
192
  - .git/objects/36/c16174f65a0fc67c520aa36225d3e8c7a05775
190
193
  - .git/objects/36/c7ec2150ecaa7af94d9556c218f723a2eff0e1
191
194
  - .git/objects/37/8d35c31ccb70ca6bbb2fdc2fd4d4d302ff4f41
@@ -375,6 +378,7 @@ files:
375
378
  - .git/objects/8b/7fd3b87e0f2fce82705c50e7c48f9496b7666e
376
379
  - .git/objects/8c/4648d7c914e9d60dc387ff801c97b2d19c97f7
377
380
  - .git/objects/8c/4e121b4974d4af5345bf2e8f13bff7c7b494a1
381
+ - .git/objects/8c/6052d58764acb01306a844aecafbbe23918682
378
382
  - .git/objects/8c/b356ae2ff8011edfa68c9683ffeca358213d12
379
383
  - .git/objects/8d/4dcde8df4da8f53f5f5313757b907e9aa1af66
380
384
  - .git/objects/8e/3cfb391de711b5fecfbdf2860fa37b019e8036
@@ -429,6 +433,7 @@ files:
429
433
  - .git/objects/a0/d595c78f280787659a2a4400f5d63578b53dce
430
434
  - .git/objects/a1/7da5fcb263b86753b0dddb8f34472e61d25fa1
431
435
  - .git/objects/a2/d43a3a789e655cc306618d480193709d580c30
436
+ - .git/objects/a3/0214c65a5d57093bc30e762af137dcd797939e
432
437
  - .git/objects/a3/4e4e8572d323de26965619321576f903fa7935
433
438
  - .git/objects/a3/5c311b625d863b50d51e2385259d487e277c90
434
439
  - .git/objects/a3/60b657edb2a9f463aec3df1fb8e0674c67311f
@@ -613,6 +618,7 @@ files:
613
618
  - .git/objects/f3/3573a82a9e7dbf9bc7f5b3feded4c223701d1f
614
619
  - .git/objects/f3/695926e6f2e6409080b838ac0ceee37b76dafe
615
620
  - .git/objects/f3/7784042bc99c16c02fd104dda82aafa42d4c9c
621
+ - .git/objects/f3/f41f5c38825fcae9dd63fc9f18ce66b9ce08b7
616
622
  - .git/objects/f4/0f07e77ddaea3f97b82650633f361af19afdca
617
623
  - .git/objects/f4/2863a866b6cd3bb09d0482052cbf2da7fb4e5a
618
624
  - .git/objects/f4/2bc1aaa21ccdaa1bc0cfa8efb982b09b7eebb1
@@ -639,6 +645,7 @@ files:
639
645
  - .git/objects/fc/bf66b949d823f884d1aff2f3e192943cb195a2
640
646
  - .git/objects/fd/066ab33785d26d7c6728d2651bfd560da5bdd1
641
647
  - .git/objects/fd/25e0c8e44fb97a7c7d76280cec51886b51abf6
648
+ - .git/objects/fd/3ef43acfe1fe6d70246df4b59524ebd7b58c49
642
649
  - .git/objects/fe/c19d13244f6b439e234e1af2e2e6d1f886b2fb
643
650
  - .git/objects/fe/ce95626cedcc0682e6fcc20fe019aab60938f2
644
651
  - .git/objects/ff/b170e96b4d79ff011c6aa5de53b588ebbab0fa