daily_menu 0.0.1 → 0.0.2

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: ee0f01493bab7b55c78e5bc956056db33ac63d8a
4
- data.tar.gz: e6a12d8abf89d9696bfbc4dce4ffbfbdcb6ee0f4
3
+ metadata.gz: cef7dd751669f57e38460a64de0bee94f7c19815
4
+ data.tar.gz: f38de692d92aeb5500de2a9fcea44c13a416fced
5
5
  SHA512:
6
- metadata.gz: 5c4b45314212d43d9e028a60955d58e9de1f39229c928523afd79f4c4d91ce2603cbd29b56c675c479383b8ce07979f31fd01b8902a6bfd0067b803c5bfef041
7
- data.tar.gz: 674f17eed0ae2865ecc010cfbe894122cb9627dbb0a7f59970d9bcd09808c6bee952dfe25de2b9e30e3f2f4757d47d6dc876d7652269de2bd08e73bb56788dbb
6
+ metadata.gz: ed00a465a37066ee8aab3a2b3785cc206881a91815018d77fae02f28b306c01047e08da46e84aaa9400e12278dddd21a575cc0adbce84b6ab4195f56e25a5478
7
+ data.tar.gz: 32dfccffc608eeaa416c4e0977cfaa330b4003637030856c192745cf9abec9f4a7f5a9486dcaa794b9baf60c7db5673e4f9e795258fdb90421fdf258daab80eb
@@ -40,3 +40,10 @@
40
40
  - 'CsinaltamNeked'
41
41
  :filter:
42
42
  :class: Hungarian
43
+ - :name: 'Suelto Cafe and Grill'
44
+ :scraper:
45
+ :class: Facebook
46
+ :params:
47
+ - 'sueltomama'
48
+ :filter:
49
+ :class: Hungarian
@@ -32,7 +32,7 @@ module DailyMenu
32
32
  private_class_method :restaurants_for_location
33
33
 
34
34
  def self.configs_for_location(location)
35
- config_file = ROOT.join('configs', "#{location}.yml")
35
+ config_file = CONFIG_DIR.join("#{location}.yml")
36
36
  raise %(No configuration found for: "#{location}") unless file_accessible?(config_file)
37
37
 
38
38
  YAML.load_file(config_file)
@@ -1,3 +1,3 @@
1
1
  module DailyMenu
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
data/lib/daily_menu.rb CHANGED
@@ -3,6 +3,7 @@ require 'daily_menu/version'
3
3
  module DailyMenu
4
4
  OAUTH_TOKEN = ENV['FACEBOOK_OAUTH_TOKEN'].freeze
5
5
  ROOT = Pathname.new(File.expand_path('../..', __FILE__)).freeze
6
+ CONFIG_DIR = ROOT.join('configs').freeze
6
7
  end
7
8
 
8
9
  require 'daily_menu/entry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daily_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KARASZI István
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-13 00:00:00.000000000 Z
11
+ date: 2013-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: koala