fanforce-plugin-factory 2.0.0.rc25 → 2.0.0.rc26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 735b4d48ba128b25fb16e4d7093203b0caacdd2e
|
|
4
|
+
data.tar.gz: f8676f8de8ac8fbebca9437271d6fd3bbfb2827d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c593420c9b09775afad4ff725064662acb34b1146d73fc7a5bf6831a294640e9e9e181e0d57b83cff2ba57f74b1fef176c873f63ac83ab70d26f566ef9bea368
|
|
7
|
+
data.tar.gz: e917849f2859734c97e71ea921c5c22af77898a987f3ef3b2625ad22aab33ccbea2be349472a8d86592a1578fbe983f9b09f5317bc9481250a4c09beba735f85
|
|
@@ -37,12 +37,11 @@ class Plugin::Sinatra
|
|
|
37
37
|
######################################################################################################################
|
|
38
38
|
# INITIATIVE
|
|
39
39
|
|
|
40
|
-
#static '/:
|
|
41
|
-
#static '/:
|
|
40
|
+
#static '/:com_shortid/add_edit_initiative.html', [] do route_ui(:add_edit_initiative, params[:com_shortid]) end
|
|
41
|
+
#static '/:com_shortid/initiative_overview.html', [] do route_ui(:initiative_overview, params[:com_shortid]) end
|
|
42
42
|
|
|
43
|
-
#post '/:
|
|
44
|
-
#post '/:
|
|
45
|
-
#post '/:com_initiative_shortid/destroy_initiative' do route_destroy_initiative_callback end
|
|
43
|
+
#post '/:com_shortid/archive_initiative' do route_archive_initiative_callback end
|
|
44
|
+
#post '/:com_shortid/destroy_initiative' do route_destroy_initiative_callback end
|
|
46
45
|
|
|
47
46
|
######################################################################################################################
|
|
48
47
|
# JS ENGAGER
|
|
@@ -60,7 +59,7 @@ class Plugin::Sinatra
|
|
|
60
59
|
######################################################################################################################
|
|
61
60
|
# VISITOR
|
|
62
61
|
|
|
63
|
-
#static '/:organization_slug/:
|
|
62
|
+
#static '/:organization_slug/:com_shortid/:initiative_id', [] do route_visitor_ui(:visitor, params[:com_shortid]) end
|
|
64
63
|
|
|
65
64
|
######################################################################################################################
|
|
66
65
|
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
class Fanforce::Plugin::Sinatra
|
|
2
2
|
|
|
3
|
-
def route_add_initiative_ui
|
|
4
|
-
route_ui(:add_initiative, params[:com_shortid])
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
def route_edit_initiative_ui
|
|
8
|
-
route_ui(:edit_initiative, params[:com_shortid])
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
def route_initiative_overview_ui
|
|
12
|
-
route_ui(:initiative_overview, params[:com_shortid])
|
|
13
|
-
end
|
|
14
|
-
|
|
15
3
|
def route_archive_initiative_callback
|
|
16
4
|
json status: 'finished'
|
|
17
5
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fanforce-plugin-factory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.rc26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Caleb Clark
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|