randomuser-local-rails 0.4.0.0 → 0.4.0.1

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: bd15e60d4b510c161a4690414f8efb16b5c4c577
4
- data.tar.gz: 26e087d83a6b150bf0f8fee5c19811af07d98666
3
+ metadata.gz: 3cad2b4220b38f2399b2ebe922e602fa8696450a
4
+ data.tar.gz: 870b1f87db88f1bd08bce2edfc6af3a133e0e494
5
5
  SHA512:
6
- metadata.gz: 45a232429730977ff06ea0dd0369e85a9f5b6db3e646b8bee57e9ab9bb68e577ea3841b1515ccce0ece5363a1533e1ee28123a6c28b2110effbd9e374f6e2349
7
- data.tar.gz: b21c4e4accbb75fb9376396e7c16f4a009789c11fe504b55cea34ce9993d10a784f9225038fa52ec6eaa2f3877c6189cd419af13fc79c14b3ef086ea9961afab
6
+ metadata.gz: 93ea77d49045ed9ba264d6a89bb9abe3b11ddfa714bb5898527063b4179e6fafe880ffeb97add8864ece75f8ee24579bec4c87056dd97a20e9f47ab260159cef
7
+ data.tar.gz: b294e8b182e56a426f1823c1e6c6636c43db74902e4abb0d70efa11339ce66b8eecda7dc6b96c25257548aa7ec8a93c41b6e12b619e22e1ecec33efe6b91279d
Binary file
@@ -1,3 +1,3 @@
1
1
  module RandomuserLocal
2
- VERSION = "0.4.0.0"
2
+ VERSION = "0.4.0.1"
3
3
  end
@@ -28,7 +28,7 @@ private
28
28
  gender = %w(female male).shuffle.first if gender.nil?
29
29
  user[:gender] = gender
30
30
  if gender == 'female'
31
- user[:picture] = "/assets/randomuser_local/portraits/women/#{rand(0..95)}.jpg"
31
+ user[:picture] = asset_path "/assets/portraits/women/#{rand(0..95)}.jpg"
32
32
  user[:name][:first] = random_user_element('female_first_names')
33
33
  user[:name][:title] = %w(ms mrs).shuffle.first
34
34
  else
@@ -560,3 +560,15 @@ NavigationTest: test_male_headshots_are_served_with_the_asset_pipeline
560
560
  ----------------------------------------------------------------------
561
561
  Started GET "/assets/randomuser_local/portraits/men/9.jpg" for 127.0.0.1 at 2014-07-28 18:09:16 -0400
562
562
   (0.1ms) rollback transaction
563
+  (0.1ms) begin transaction
564
+ ------------------------------------------------------------------------
565
+ NavigationTest: test_female_headshots_are_served_with_the_asset_pipeline
566
+ ------------------------------------------------------------------------
567
+ Started GET "/assets/randomuser_local/portraits/women/9.jpg" for 127.0.0.1 at 2014-07-28 19:40:39 -0400
568
+  (0.1ms) rollback transaction
569
+  (0.0ms) begin transaction
570
+ ----------------------------------------------------------------------
571
+ NavigationTest: test_male_headshots_are_served_with_the_asset_pipeline
572
+ ----------------------------------------------------------------------
573
+ Started GET "/assets/randomuser_local/portraits/men/9.jpg" for 127.0.0.1 at 2014-07-28 19:40:39 -0400
574
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: randomuser-local-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.0
4
+ version: 0.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Poydar
@@ -47,6 +47,7 @@ extra_rdoc_files: []
47
47
  files:
48
48
  - MIT-LICENSE
49
49
  - Rakefile
50
+ - app/assets/images/74.jpg
50
51
  - app/assets/images/randomuser_local/portraits/men/0.jpg
51
52
  - app/assets/images/randomuser_local/portraits/men/1.jpg
52
53
  - app/assets/images/randomuser_local/portraits/men/10.jpg