front_end_builds 0.0.1 → 0.0.2
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: 604bf9e0a83fad3c0c624698c52ec16bf00908a1
|
4
|
+
data.tar.gz: f9255252feb4be6a07fa6c145e731f68d17d577a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90a49d26638821a8a73055387eb7c35aa6a00c52a0164fbcfbcf5cbbf6566e08adf88dcedf325da54e5d4281fc7f515c6740fb79fb3a5cc30a777821ba0cbdb9
|
7
|
+
data.tar.gz: a6a76c787601104f793b6124565b1d1119ea94219b845dcebe20315121508c63c375e9b6efc6cc5d9d6d26ef8745d7c4dbf98ffce0adc63bd8a432e9ca4f1f96
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'front_end_builds/routing_constraints/html_routing_constraint'
|
2
|
+
|
1
3
|
module ActionDispatch::Routing
|
2
4
|
class Mapper
|
3
5
|
|
@@ -19,14 +21,16 @@ module ActionDispatch::Routing
|
|
19
21
|
}
|
20
22
|
)
|
21
23
|
|
22
|
-
#
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
# Get a build for this app.
|
25
|
+
constraints FrontEndBuilds::HtmlRoutingConstraint.new do
|
26
|
+
get(
|
27
|
+
"/#{path}/(*path)" => "front_end_builds/builds#index",
|
28
|
+
defaults: {
|
29
|
+
branch: :master,
|
30
|
+
app_name: name
|
31
|
+
}.merge(options)
|
32
|
+
)
|
33
|
+
end
|
30
34
|
end
|
31
35
|
|
32
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: front_end_builds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 'Ryan Toronto '
|
@@ -145,6 +145,7 @@ files:
|
|
145
145
|
- lib/front_end_builds.rb
|
146
146
|
- lib/front_end_builds/engine.rb
|
147
147
|
- lib/front_end_builds/ext/routes.rb
|
148
|
+
- lib/front_end_builds/routing_constraints/html_routing_constraint.rb
|
148
149
|
- lib/front_end_builds/version.rb
|
149
150
|
- lib/tasks/front_end_builds_tasks.rake
|
150
151
|
homepage: http://github.com/tedconf/front_end_builds
|