groupevite 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -5,17 +5,17 @@
5
5
  <ignored path="groupevite.iws" />
6
6
  <ignored path=".idea/workspace.xml" />
7
7
  <file path="/groupevite.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362556090917" ignored="false" />
8
- <file path="$PROJECT_DIR$/../../rails/groupevite/.idea/workspace.xml" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362556100827" ignored="false" />
8
+ <file path="$PROJECT_DIR$/../../rails/groupevite/.idea/workspace.xml" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362557302394" ignored="false" />
9
9
  <file path="/groupevite.gemspec" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362269356872" ignored="false" />
10
10
  <file path="/a.dummy" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362271053477" ignored="false" />
11
11
  <file path="/Gemfile" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362307367414" ignored="false" />
12
- <file path="$PROJECT_DIR$/../../rails/groupevite/Gemfile" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362307368746" ignored="false" />
13
- <file path="$PROJECT_DIR$/../../rails/groupevite/config/routes.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362290664698" ignored="false" />
14
- <file path="/routes.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362290664698" ignored="false" />
12
+ <file path="$PROJECT_DIR$/../../rails/groupevite/Gemfile" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362556319894" ignored="false" />
13
+ <file path="$PROJECT_DIR$/../../rails/groupevite/config/routes.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362557054700" ignored="false" />
14
+ <file path="/routes.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362557052405" ignored="false" />
15
15
  <file path="$PROJECT_DIR$/../../rails/groupevite/app/views/getaways/index.html.haml" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362555402824" ignored="false" />
16
16
  <file path="/index.html.haml" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362555272112" ignored="false" />
17
- <file path="$PROJECT_DIR$/../../rails/groupevite/app/controllers/getaways_controller.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362290739177" ignored="false" />
18
- <file path="/getaways_controller.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362290738430" ignored="false" />
17
+ <file path="$PROJECT_DIR$/../../rails/groupevite/app/controllers/getaways_controller.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362557291132" ignored="false" />
18
+ <file path="/getaways_controller.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362557285443" ignored="false" />
19
19
  <file path="$USER_HOME$/Downloads/MAIN_FILE/HTML/self_catering.html" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362291450903" ignored="false" />
20
20
  <file path="/self_catering.html" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362291450903" ignored="false" />
21
21
  <file path="$USER_HOME$/Downloads/MAIN_FILE/HTML/search_results.html" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362295278651" ignored="false" />
@@ -41,7 +41,7 @@
41
41
  <file path="$PROJECT_DIR$/../../rails/groupevite/spec/factories.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362379786994" ignored="false" />
42
42
  <file path="/factories.rb" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362379610900" ignored="false" />
43
43
  <file path="$PROJECT_DIR$/../../rails/groupevite/app/views/layouts/header.html.haml" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362382570049" ignored="false" />
44
- <file path="/Ruby Console" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362552023812" ignored="false" />
44
+ <file path="/Ruby Console" changelist="c9cac5b3-a1aa-4240-9c8d-2857efc35cc0" time="1362556275441" ignored="false" />
45
45
  <option name="TRACKING_ENABLED" value="true" />
46
46
  <option name="SHOW_DIALOG" value="false" />
47
47
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -58,19 +58,19 @@
58
58
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
59
59
  <component name="FileEditorManager">
60
60
  <leaf>
61
- <file leaf-file-name="groupevite.rb" pinned="false" current="false" current-in-tab="false">
61
+ <file leaf-file-name="groupevite.rb" pinned="false" current="true" current-in-tab="true">
62
62
  <entry file="file://$PROJECT_DIR$/lib/groupevite.rb">
63
63
  <provider selected="true" editor-type-id="text-editor">
64
- <state line="18" column="69" selection-start="567" selection-end="567" vertical-scroll-proportion="0.0">
64
+ <state line="6" column="40" selection-start="88" selection-end="112" vertical-scroll-proportion="0.13061224">
65
65
  <folding />
66
66
  </state>
67
67
  </provider>
68
68
  </entry>
69
69
  </file>
70
- <file leaf-file-name="groupevite.gemspec" pinned="false" current="true" current-in-tab="true">
70
+ <file leaf-file-name="groupevite.gemspec" pinned="false" current="false" current-in-tab="false">
71
71
  <entry file="file://$PROJECT_DIR$/groupevite.gemspec">
72
72
  <provider selected="true" editor-type-id="text-editor">
73
- <state line="18" column="3" selection-start="758" selection-end="758" vertical-scroll-proportion="0.39183673">
73
+ <state line="18" column="3" selection-start="758" selection-end="758" vertical-scroll-proportion="0.0">
74
74
  <folding />
75
75
  </state>
76
76
  </provider>
@@ -202,6 +202,7 @@
202
202
  <property name="options.splitter.main.proportions" value="0.3" />
203
203
  <property name="WebServerToolWindowFactoryState" value="false" />
204
204
  <property name="options.lastSelected" value="vcs.Subversion" />
205
+ <property name="FullScreen" value="false" />
205
206
  <property name="options.splitter.details.proportions" value="0.2" />
206
207
  <property name="options.searchVisible" value="true" />
207
208
  </component>
@@ -310,7 +311,7 @@
310
311
  </component>
311
312
  <component name="ToolWindowManager">
312
313
  <frame x="10" y="22" width="1420" height="860" extended-state="0" />
313
- <editor active="true" />
314
+ <editor active="false" />
314
315
  <layout>
315
316
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
316
317
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
@@ -406,23 +407,23 @@
406
407
  </state>
407
408
  </provider>
408
409
  </entry>
409
- <entry file="file://$PROJECT_DIR$/lib/groupevite.rb">
410
+ <entry file="file://$PROJECT_DIR$/lib/groupevite/version.rb">
410
411
  <provider selected="true" editor-type-id="text-editor">
411
- <state line="18" column="69" selection-start="567" selection-end="567" vertical-scroll-proportion="0.0">
412
+ <state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.0">
412
413
  <folding />
413
414
  </state>
414
415
  </provider>
415
416
  </entry>
416
- <entry file="file://$PROJECT_DIR$/lib/groupevite/version.rb">
417
+ <entry file="file://$PROJECT_DIR$/groupevite.gemspec">
417
418
  <provider selected="true" editor-type-id="text-editor">
418
- <state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.0">
419
+ <state line="18" column="3" selection-start="758" selection-end="758" vertical-scroll-proportion="0.0">
419
420
  <folding />
420
421
  </state>
421
422
  </provider>
422
423
  </entry>
423
- <entry file="file://$PROJECT_DIR$/groupevite.gemspec">
424
+ <entry file="file://$PROJECT_DIR$/lib/groupevite.rb">
424
425
  <provider selected="true" editor-type-id="text-editor">
425
- <state line="18" column="3" selection-start="758" selection-end="758" vertical-scroll-proportion="0.39183673">
426
+ <state line="6" column="40" selection-start="88" selection-end="112" vertical-scroll-proportion="0.13061224">
426
427
  <folding />
427
428
  </state>
428
429
  </provider>
@@ -1,3 +1,3 @@
1
1
  module Groupevite
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/groupevite.rb CHANGED
@@ -17,8 +17,8 @@ module Groupevite
17
17
  end
18
18
 
19
19
  # Return the detailed information about a particular Groupon deal
20
- def deal
21
- Hashie::Mash.new(HTTParty.get(BASE_URI + '/' + params[:id] + '?client_id=' + @client_id))
20
+ def deal(deal_id)
21
+ Hashie::Mash.new(HTTParty.get(BASE_URI + '/' + deal_id + '?client_id=' + @client_id))
22
22
  end
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupevite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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-06 00:00:00.000000000 Z
12
+ date: 2013-03-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Groupon API wrapper for Groupevite
15
15
  email: