fastlane-plugin-sharethemeal 0.1.6.pre.alpha.pre.24 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTI1MGI0ZDFiMDk4ZDI2ZjYyYzc5NTM2Yzg0ZDU3ZjAzMTY4Nzc3Zg==
5
- data.tar.gz: !binary |-
6
- OTM0MmYyYTVmYzFiOTM4YzUzZGNlNzk1MjFlZDAyOWEyODJjY2VhMw==
2
+ SHA1:
3
+ metadata.gz: d366699fbb985892ee915f36e7da0eb1145a45ba
4
+ data.tar.gz: dc1e8af3f1abfc3e9ce370c7cbfbdfd3ccdca4e2
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NWFhNTEyYTdhNzUwZDA2NWE3MjBmNWI4N2E3Mjg3OWM0ZWE0NzNmODVmYjAy
10
- MzFmZTIwZmM5YTg1ODBkNTRjYWNmMmM1NTI2ODUyNzEwZTU5M2M2ZWNkM2Yy
11
- ZDIwYjYxM2NmZWRiOTg5MjQwZTY1ODk1M2IzMjBiNGYyNmVlMzk=
12
- data.tar.gz: !binary |-
13
- ZmM2NjI0N2EyNzU0ZGM3MzUzNTYyMzRjYTlkZDAzYzU2YzUzMDAwMTE3ZjNh
14
- ZmVlZWFkZWM0OGY1YmNmYjdmYTBlZDI5ODYwZWU1MjE0NGZkNTAzZmU3N2E4
15
- ZmNlN2M1MTkxYjU2OTFjYTFkYjRiODNhZjFkOTJlNDI0MDdkODM=
6
+ metadata.gz: fd3505abc2cad322213a7a96565b60b339621b0821b294b0bc2f16b4fcf2ceb237666293b56509a6021f4b82ea73d5ab9035999e80770f71361c4425b4c85666
7
+ data.tar.gz: f1136b303a54034d08f38a711231a8c08bd0d518523d4e82a76d05e57c1b9549b25c4a9b8a257496a93b5eb02e7518bcdb63ccc5df67c0dadf6807e558308919
data/README.md CHANGED
@@ -3,49 +3,42 @@
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-sharethemeal)
4
4
 
5
5
  <img src='https://sharethemeal.org/assets/img/apps-de@2x-c5fe00ca10.png' height=250>
6
- ![Screenshot](assets/screen1.png)
6
+ ![Screenshot](assets/screen.png)
7
7
 
8
8
  ## About
9
+ > This Plugin Enables unattended automated Donations of any size to the ShareTheMeal Inititative from the World-Food-Program
9
10
 
10
- > Using this _fastlane_ plugin you can automatically donate food on [ShareTheMeal](https://sharethemeal.org) using _fastlane_.
11
-
12
- [fastlane](https://fastlane.tools) saves us hours of work, which eventually saves us a lot of money. This is my way of reminding myself to give, on every deploy using [fastlane](https://fastlane.tools).
11
+ [fastlane](https://fastlane.tools) saves us hours of work, which eventually saves us a lot of money.
12
+ This is my way of reminding myself to give, on every deploy using [fastlane](https://fastlane.tools).
13
13
 
14
14
 
15
15
  ## ShareTheMeal
16
16
 
17
- [ShareTheMeal](https://sharethemeal.org) is a crowdfunding application to fight global hunger launched by the United Nations World Food Programme (WFP) in 2015. It enables users to make small donations to specific WFP projects and to track its progress. As of August 2016, ShareTheMeal has over 600,000 downloads and 7 million meals shared.
17
+ ShareTheMeal is a crowdfunding application to fight global hunger launched by the United Nations World Food Programme (WFP) in 2015. It enables users to make small donations to specific WFP projects and to track its progress. As of August 2016, ShareTheMeal has over 600,000 downloads and 7 million meals shared.
18
18
 
19
19
 
20
20
  ## Setup
21
-
22
21
  ### Add Plugin
23
22
  ```
24
23
  fastlane add_plugin sharethemeal
25
24
  ```
26
25
 
27
26
  ### Get your UserHash
28
-
29
- To get started, you have to provide the payment information on your account
27
+ In Order to automate donation you require to store your payment method (preffered PayPal)
28
+ Download The App to your Mobile, and configure it.
30
29
 
31
30
  | | Step |
32
31
  |----------|:-------------|
33
- | 💾 | Download the ShareTheMeal app ([Appstore](https://itunes.apple.com/us/app/sharethemeal/id977130010), [Google Play](https://play.google.com/store/apps/details?id=org.sharethemeal.app) |
34
- | 🚀 | Open the app |
35
- | 🍕 | Do a single donation manually to enter your credit card information |
32
+ | 💾 | Download [Appstore](https://click.google-analytics.com/redirect?tid=UA-58737077-1&url=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fsharethemeal%2Fid977130010&aid=org.sharethemeal.app&idfa=%{idfa}&cs=stmwebsite&cm=website&cn=permanent),[PlayStore](https://play.google.com/store/apps/details?id=org.sharethemeal.app&referrer=utm_source%3Dstmwebsite%26utm_medium%3Dwebsite%26utm_campaign%3Dpermanent) |
33
+ | 🚀 | Launch the App |
34
+ | 🍕 | Do a Single Donation |
36
35
  | 📱 | Login and go to your profile |
37
- | 🛠 | Open the setting screen |
38
- | 👊 | Tap the version label at the bottom a few times |
39
-
36
+ | 🛠 | go to settings |
37
+ | 👊 | tap a few times (~10) on the Version label (e.g: **3.0.2(184) Production**) |
40
38
 
41
- | Setup | &nbsp; |
42
- |---|---|
43
- | **Step 1** | **Step 2** |
44
- | <img src='assets/setup1.png' height=500> | <img src='assets/setup2.png' height=500> |
45
- | **Step 3** | **Step 4** |
46
- | <img src='assets/setup3.png' height=500> | <img src='assets/setup4.png' height=500> |
47
39
 
48
- After this you have your `userhash` in the clipboard.
40
+
41
+ For a detailed step by step guide on how to obtain your user hash you can see [Step by Step Guide](STEP_BY_STEP.md)
49
42
 
50
43
 
51
44
  ## Example
@@ -55,23 +48,17 @@ lane :donate do
55
48
  sharethemeal(
56
49
  amount: "0.4",
57
50
  userhash: "XXX",
58
- currency: "EUR"
51
+ currency: "EUR",
52
+ team_id: "fastlane"
59
53
  )
60
54
  end
61
-
62
- lane :deployment do
63
- gym # Build your app
64
- deliver # Submit your app
65
- donate # Call the `donate` lane
66
- end
67
55
  ```
68
56
 
69
- You can also pass the userhash in your `SHARETHEMEAL_USERHASH` environment variable.
70
-
71
57
  ## Troubleshooting
72
58
 
73
59
  If you have trouble using plugins, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
74
60
 
61
+
75
62
  ## About `fastlane`
76
63
 
77
- `fastlane` is the easiest way to automate building and releasing your iOS and Android apps. Check out [fastlane.tools](https://fastlane.tools).
64
+ `fastlane` is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
@@ -9,7 +9,6 @@ module Fastlane
9
9
  def self.run(params)
10
10
  FastlaneCore::PrintTable.print_values(config: params, hide_keys: [:userhash], title: "Summary for ShareTheMeal")
11
11
  api = StmApi::Donation.new(params)
12
- UI.user_error!("Please use a . to provide decimales (e.g. 0.5 for 50 cents)") if params[:amount].include?(",")
13
12
  result = api.donate(amount: params[:amount])
14
13
 
15
14
  if result == true
@@ -36,7 +35,7 @@ module Fastlane
36
35
  end
37
36
 
38
37
  def self.description
39
- 'Donate food via ShareTheMeal'
38
+ 'Donate ShareTheMeal'
40
39
  end
41
40
 
42
41
  def self.authors
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sharethemeal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6.pre.alpha.pre.24
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: stm_api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: fastlane
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: 1.104.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.104.0
125
125
  description:
@@ -134,7 +134,7 @@ files:
134
134
  - lib/fastlane/plugin/sharethemeal/actions/sharethemeal_action.rb
135
135
  - lib/fastlane/plugin/sharethemeal/helper/sharethemeal_helper.rb
136
136
  - lib/fastlane/plugin/sharethemeal/version.rb
137
- homepage: https://github.com/hjanuschka/fastlane-plugin-sharethemeal
137
+ homepage:
138
138
  licenses:
139
139
  - MIT
140
140
  metadata: {}
@@ -144,17 +144,17 @@ require_paths:
144
144
  - lib
145
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - ! '>='
147
+ - - ">="
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ! '>'
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 1.3.1
154
+ version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.4.5
157
+ rubygems_version: 2.4.8
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: ShareTheMeal