rollout_ui2 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/example_rack/.bundle/config +2 -0
- data/example_rack/Gemfile +6 -0
- data/example_rack/Gemfile.lock +30 -0
- data/example_rack/README.md +6 -0
- data/example_rack/config.ru +13 -0
- data/lib/public/vendor/bootstrap/css/bootstrap-theme.css +587 -0
- data/lib/public/vendor/bootstrap/css/bootstrap-theme.css.map +1 -0
- data/lib/public/vendor/bootstrap/css/bootstrap-theme.min.css +6 -0
- data/lib/public/vendor/bootstrap/css/bootstrap-theme.min.css.map +1 -0
- data/lib/public/vendor/bootstrap/css/bootstrap.css +6757 -0
- data/lib/public/vendor/bootstrap/css/bootstrap.css.map +1 -0
- data/lib/public/vendor/bootstrap/css/bootstrap.min.css +6 -0
- data/lib/public/vendor/bootstrap/css/bootstrap.min.css.map +1 -0
- data/lib/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- data/lib/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/public/vendor/bootstrap/js/bootstrap.js +2377 -0
- data/lib/public/vendor/bootstrap/js/bootstrap.min.js +7 -0
- data/lib/public/vendor/jq-debounce.min.js +9 -0
- data/lib/public/vendor/jquery-1.9.1.min.js +5 -0
- data/lib/public/vendor/select2/css/select2.css +484 -0
- data/lib/public/vendor/select2/css/select2.min.css +1 -0
- data/lib/public/vendor/select2/js/select2.js +5725 -0
- data/lib/public/vendor/select2/js/select2.min.js +3 -0
- data/lib/rollout_ui2/version.rb +3 -0
- data/lib/rollout_ui2.rb +104 -0
- data/lib/views/index.erb +84 -0
- data/lib/views/layout.erb +50 -0
- data/rollout_ui2.gemspec +27 -0
- metadata +146 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7613d47131069f9c31404661107125662d274d96
|
4
|
+
data.tar.gz: 51ddaa17859e48aaf12a33a5daf1c9a60b3db3d7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8f80ab0326ac3b5102f4740bdee0ca04c18a0b95eb809c4f9914974eac5bda3f068a93a13d9fc42e9452a48fc77b847051152d56e705e1050fda5f76d929137d
|
7
|
+
data.tar.gz: 812d909e617e38cb97589c7ad3bace1e2511bddd9b1c1de72314143581631adeb92bd74fa6759b57a76de037013d3eb27d0023ef797089d4a7dabbbdc39a4e34
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Manuel
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# RolloutUi2
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rollout_ui2`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'rollout_ui2'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install rollout_ui2
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rollout_ui2.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "rollout_ui2"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rollout_ui2 (0.1.0)
|
5
|
+
sinatra (~> 1.4.7)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
rack (1.6.5)
|
11
|
+
rack-protection (1.5.3)
|
12
|
+
rack
|
13
|
+
redis (3.3.2)
|
14
|
+
rollout (2.4.0)
|
15
|
+
sinatra (1.4.7)
|
16
|
+
rack (~> 1.5)
|
17
|
+
rack-protection (~> 1.4)
|
18
|
+
tilt (>= 1.3, < 3)
|
19
|
+
tilt (2.0.5)
|
20
|
+
|
21
|
+
PLATFORMS
|
22
|
+
ruby
|
23
|
+
|
24
|
+
DEPENDENCIES
|
25
|
+
redis
|
26
|
+
rollout
|
27
|
+
rollout_ui2!
|
28
|
+
|
29
|
+
BUNDLED WITH
|
30
|
+
1.13.6
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rollout_ui2'
|
2
|
+
|
3
|
+
require 'redis'
|
4
|
+
RolloutUi2.wrap(Rollout.new(Redis.new))
|
5
|
+
|
6
|
+
RolloutUi2::Server.use Rack::Auth::Basic do |user, pass|
|
7
|
+
user == pass
|
8
|
+
end
|
9
|
+
|
10
|
+
run Rack::URLMap.new(
|
11
|
+
# "/" => Your::App.new,
|
12
|
+
"/rollout" => RolloutUi2::Server
|
13
|
+
)
|