mock_search 1.0.6 → 1.0.7

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: 860c5f91133000cd2e92c0c4b073f538360c23b9
4
- data.tar.gz: 7391daceaf3b2dfa073a6bcf4956bcf0c2c64a8b
3
+ metadata.gz: b2741393b24d8760ddefc405393912a3fdeea963
4
+ data.tar.gz: 8f494cd8d5d380c7f330a6ae1b1ff33272e5824b
5
5
  SHA512:
6
- metadata.gz: c823bfb0077ab2bd435d7e01cf111d941b0b613858799f1dfdc7ee0a2fb70a00546afc13c9aad70e84d0ebb00e349ba6673c25dccdea8c93c02531e2fb50d371
7
- data.tar.gz: c1eeefa83c476dc74e5c54a7cc6aa76db0416cc33a78b00ccc9746df678f2f705c064aa985f5be86d088dae8faa96565e99b662936edf4b3865b0364803c2228
6
+ metadata.gz: 27ba582a970412698dc901521bb8cc0adb98e33c6b8d89ad3e1c53cd1d3867f2bc3bc095f8d7213d5e1fc5b8b651dbcbf249c1bd66124d868b220da2a33b9cc1
7
+ data.tar.gz: b326f4de58dbb4545a29c35d6dae78fe0ac0262023280f7b52f2a3baf47f882691e245250d883f78779af7f917b47eafa96fa670419f712af515d352ee56418e
data/lib/mock_city.rb CHANGED
@@ -4,12 +4,15 @@ class MockCity
4
4
 
5
5
  CITIES = YAML.load(File.open("features/data/sites.yml"))
6
6
 
7
+ attr_reader :name_lang
8
+
7
9
  def initialize(*args)#site,code=nil)
8
10
  @site = args[0]
9
11
  city = args[1] ? self.find_city(args[1]) : CITIES[@site][0]
10
12
  @code = city["code"]
11
13
  @airports = city["airports"]
12
14
  @name = city["name"]
15
+ @name_lang = city["name_lang"]
13
16
  end
14
17
 
15
18
  def code()
data/mock_search.gemspec CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
17
17
 
18
- gem.version = '1.0.6' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
18
+ gem.version = '1.0.7' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
19
19
 
20
20
  gem.add_dependency('httparty')
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mock_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty