frosty_meadow 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/frosty_meadow.rb +4 -2
  2. metadata +2 -2
data/lib/frosty_meadow.rb CHANGED
@@ -3,7 +3,7 @@ require 'json'
3
3
  module FrostyMeadow
4
4
  module Version
5
5
  MAJOR = 2
6
- MINOR = 2
6
+ MINOR = 3
7
7
  PATCH = 0
8
8
 
9
9
  FULL = [MAJOR, MINOR, PATCH].join('.')
@@ -46,7 +46,9 @@ module FrostyMeadow
46
46
 
47
47
  if @@words.empty? || !params[:skip_cache].nil? || params[:from_file] != @@cached_path
48
48
  if params[:from_file].nil?
49
- file_path = File.join(File.dirname(__FILE__), 'data/words.json')
49
+ dictionary_file = params[:metal_mode] ? 'data/metal.json' : 'data/words.json'
50
+
51
+ file_path = File.join(File.dirname(__FILE__), dictionary_file)
50
52
  else
51
53
  file_path = params[:from_file]
52
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frosty_meadow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-14 00:00:00.000000000 Z
12
+ date: 2013-07-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem will generate a random name for your server, much in the way
15
15
  Heroku does.