unlock_gateway 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unlock_gateway/controller.rb +1 -1
- data/lib/unlock_gateway/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc542b63bbc559561f557f16c6ce77c81e9b2201
|
4
|
+
data.tar.gz: e65cbdf279ae58177d48b4527fe9038ed69587b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a16e043d5e91ab42c185da50ea73c640c15a5cb6f6854b4aa0bf445e96dfde179fd442ef1f31fd13bf9fc709ea26aa4339cdfcb924b902ace697e2a60d28b6
|
7
|
+
data.tar.gz: 4667c50601690767c4b6b87f04d342a02093b35c36c242259209617c9d07339796a5c04a8636747065c321344eddeb492cdb69dab4bba4bc5c4142d66b4494e7
|
@@ -48,7 +48,7 @@ module UnlockGateway
|
|
48
48
|
def create_contribution
|
49
49
|
|
50
50
|
@initiative = Initiative.find(contribution_params[:initiative_id])
|
51
|
-
@gateways = @initiative.gateways.without_state(:draft).
|
51
|
+
@gateways = @initiative.gateways.without_state(:draft).ordered
|
52
52
|
@contribution = @initiative.contributions.new(contribution_params)
|
53
53
|
@contribution.gateway_state = @contribution.gateway.state
|
54
54
|
current_user.update module_name: @contribution.gateway.module_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unlock_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Weinmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|