ask_awesomely 0.2.7 → 0.2.8

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: ee7fd63d90b2d5bbccfc25be484bac67fd4449a5
4
- data.tar.gz: 47d74e6e065c0474dc0aa837673e736e9fa6643f
3
+ metadata.gz: a5c6a59774e5d8c8e3c0f103cb91b371783dc12e
4
+ data.tar.gz: d940aa05806cd2d4996a792659a5c534e31ed6b0
5
5
  SHA512:
6
- metadata.gz: ea32ba1bbfbe857ffdc2e99f1cb416f886c698c93ae3e0c4422c05ac2da31b802dd3527757380ffa4799a9bedb19c25c4c58289db20694766ff962ed1727ba87
7
- data.tar.gz: 40112d3c9b294a1e70f611b36f994e8ed3fbcadfff7533d79fa54373c1e34ea3065f7a8b19146f3f6466617ef50e41bd8c2643986b63c767d6cd86cd56ac52ab
6
+ metadata.gz: 2725c124b0c5bf0ca51afa9e7e7b7e5fafec65c01b75a54a3d6f7497daa0e5bb14eb28b8b35b39b8beb87c468e0048b13f6024d5b5e54613fe90d05a780b1131
7
+ data.tar.gz: 1d6d5230923dd7b2ef820827f2048a341747e746f6142ba72c1a04bd5707c9ce7afb193129bb7f731245bb42caa06080bf35c33d908b35bf9e24a689cde76a84
@@ -39,6 +39,8 @@ module AskAwesomely
39
39
  def ask(question)
40
40
  @state.question = question
41
41
  end
42
+ alias_method :say, :ask
43
+
42
44
 
43
45
  def description(text)
44
46
  @state.description = text
@@ -5,10 +5,6 @@ module AskAwesomely
5
5
  super
6
6
  end
7
7
 
8
- def say(statement)
9
- @state.question = statement
10
- end
11
-
12
8
  def show_quotation_marks
13
9
  @state.has_marks = true
14
10
  end
@@ -16,6 +12,6 @@ module AskAwesomely
16
12
  def button_text(text)
17
13
  @state.button_text = text
18
14
  end
19
-
15
+
20
16
  end
21
17
  end
@@ -24,7 +24,7 @@ module AskAwesomely
24
24
  end
25
25
 
26
26
  def embed_as(type, options = {})
27
- Embeddable.new(type, options).render(self, options)
27
+ Embeddable.new(type).render(self, options)
28
28
  end
29
29
 
30
30
  def update_with_api_response(response)
@@ -1,3 +1,3 @@
1
1
  module AskAwesomely
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask_awesomely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Machin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk