Permalink
Browse files

Add the faker gem

  • Loading branch information...
1 parent 7bf6c4e commit a0ca3becd83e3a2c6c87f627114f20dfdcbffd5f @adomokos committed May 27, 2016
Showing with 24 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −0 hello_ruby/.bundle/config
  3. +3 −0 hello_ruby/Gemfile
  4. +12 −0 hello_ruby/Gemfile.lock
  5. +5 −1 hello_ruby/lib/hello.rb
View
@@ -2,3 +2,4 @@ hello-1.0.0-osx/
hello-1.0.0-linux-x86_64/
deploy/
tmp/
+hello_ruby/vendor/
@@ -0,0 +1,3 @@
+---
+BUNDLE_PATH: vendor
+BUNDLE_DISABLE_SHARED_GEMS: true
View
@@ -0,0 +1,3 @@
+source 'https://rubygems.org'
+
+gem 'faker'
@@ -0,0 +1,12 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ faker (1.6.3)
+ i18n (~> 0.5)
+ i18n (0.7.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ faker
@@ -1 +1,5 @@
-puts 'Hello from Ruby!'
+#!/usr/bin/env ruby
+
+require 'faker'
+
+puts "Hello - '#{Faker::Name.name}' from Ruby!"

0 comments on commit a0ca3be

Please sign in to comment.