Skip to content

Commit

Permalink
Add the faker gem
Browse files Browse the repository at this point in the history
  • Loading branch information
adomokos committed May 27, 2016
1 parent 7bf6c4e commit a0ca3be
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ hello-1.0.0-osx/
hello-1.0.0-linux-x86_64/ hello-1.0.0-linux-x86_64/
deploy/ deploy/
tmp/ tmp/
hello_ruby/vendor/
3 changes: 3 additions & 0 deletions hello_ruby/.bundle/config
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
---
BUNDLE_PATH: vendor
BUNDLE_DISABLE_SHARED_GEMS: true
3 changes: 3 additions & 0 deletions hello_ruby/Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'faker'
12 changes: 12 additions & 0 deletions hello_ruby/Gemfile.lock
Original file line number Original file line Diff line number Diff line change
@@ -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
6 changes: 5 additions & 1 deletion hello_ruby/lib/hello.rb
Original file line number Original file line Diff line number Diff line change
@@ -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.