better_rest 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.travis.yml +5 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +30 -0
- data/README.md +16 -23
- data/Rakefile +6 -0
- data/better_rest.gemspec +5 -5
- data/config.ru +2 -0
- data/lib/better_rest.rb +189 -86
- data/public/bootstrap.min.css +5 -0
- data/public/main.css +390 -0
- data/views/index.erb +1002 -455
- metadata +12 -6
- data/better_rest-0.0.11.gem +0 -0
- data/public/mainCSS.css +0 -194
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: better_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Willems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: A Configurable REST API test client accessible via your browser
|
14
14
|
email:
|
15
15
|
- jason@willems.ca
|
16
16
|
executables:
|
@@ -18,14 +18,20 @@ executables:
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
+
- ".gitignore"
|
22
|
+
- ".travis.yml"
|
23
|
+
- Gemfile
|
24
|
+
- Gemfile.lock
|
21
25
|
- LICENSE
|
22
26
|
- README.md
|
23
|
-
-
|
27
|
+
- Rakefile
|
24
28
|
- better_rest.gemspec
|
25
29
|
- bin/better_rest
|
30
|
+
- config.ru
|
26
31
|
- lib/better_rest.rb
|
32
|
+
- public/bootstrap.min.css
|
27
33
|
- public/favicon.ico
|
28
|
-
- public/
|
34
|
+
- public/main.css
|
29
35
|
- views/index.erb
|
30
36
|
homepage: https://github.com/at1as/BetteR
|
31
37
|
licenses:
|
@@ -50,5 +56,5 @@ rubyforge_project:
|
|
50
56
|
rubygems_version: 2.2.2
|
51
57
|
signing_key:
|
52
58
|
specification_version: 4
|
53
|
-
summary: REST
|
59
|
+
summary: REST Test Client
|
54
60
|
test_files: []
|
data/better_rest-0.0.11.gem
DELETED
Binary file
|
data/public/mainCSS.css
DELETED
@@ -1,194 +0,0 @@
|
|
1
|
-
/*Defaults*/
|
2
|
-
body {
|
3
|
-
font-family:"Gill Sans", "Gill Sans MT", Sans-Serif;
|
4
|
-
background-color: #FDFDFD;
|
5
|
-
padding-bottom: 20px;
|
6
|
-
margin: 0px;
|
7
|
-
}
|
8
|
-
h1 {
|
9
|
-
font-size: 14px;
|
10
|
-
color: #999999;
|
11
|
-
font-style: normal;
|
12
|
-
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
13
|
-
}
|
14
|
-
h2 {
|
15
|
-
font-size: 15px;
|
16
|
-
color: red;
|
17
|
-
display: inline-block;
|
18
|
-
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
19
|
-
}
|
20
|
-
h2:hover{
|
21
|
-
color:black;
|
22
|
-
}
|
23
|
-
input{
|
24
|
-
width:46%;
|
25
|
-
border-radius: 2px;
|
26
|
-
background-color:#FEFEFE;
|
27
|
-
border-color: transparent;
|
28
|
-
box-shadow: 2px 1px 1px #DDDDDD;
|
29
|
-
font-family: Arial;
|
30
|
-
font-size: 13px;
|
31
|
-
}
|
32
|
-
textarea{
|
33
|
-
border-radius: 4px;
|
34
|
-
border-color: transparent;
|
35
|
-
background-color: #FDFDFD;
|
36
|
-
overflow:hidden;
|
37
|
-
min-height: 100px;
|
38
|
-
max-width: 98%;
|
39
|
-
min-width: 98%;
|
40
|
-
box-shadow: 2px 1px 1px #DDDDDD;
|
41
|
-
font-family: arial;
|
42
|
-
font-size: 13px;
|
43
|
-
}
|
44
|
-
li{
|
45
|
-
margin-left:20px;
|
46
|
-
margin-right:20px;
|
47
|
-
}
|
48
|
-
li a{
|
49
|
-
text-decoration: none;
|
50
|
-
padding-right: 20px;
|
51
|
-
padding-top: 6px;
|
52
|
-
padding-bottom: 6px;
|
53
|
-
padding-left: 20px;
|
54
|
-
border-radius: 3px;
|
55
|
-
background-color: #B9B9B9;
|
56
|
-
font-size: 12px;
|
57
|
-
color: #FFFFFF;
|
58
|
-
font-weight: normal;
|
59
|
-
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
60
|
-
}
|
61
|
-
li a:hover{
|
62
|
-
color:black;
|
63
|
-
}
|
64
|
-
|
65
|
-
/*Classes*/
|
66
|
-
.container{
|
67
|
-
max-width:700px;
|
68
|
-
margin:10px auto 0px auto;
|
69
|
-
}
|
70
|
-
.forceInline{
|
71
|
-
display:inline;
|
72
|
-
}
|
73
|
-
.width25{
|
74
|
-
width:13%;
|
75
|
-
padding:0px;
|
76
|
-
}
|
77
|
-
.widthRemainder{
|
78
|
-
display: inline;
|
79
|
-
width: 70%;
|
80
|
-
border: 2px 2px 2px 2px;
|
81
|
-
border-radius: 2px;
|
82
|
-
background-color:#FDFDFD;
|
83
|
-
}
|
84
|
-
.close {
|
85
|
-
display: inline;
|
86
|
-
font-size: 12px;
|
87
|
-
font-weight: bold;
|
88
|
-
color: #555555;
|
89
|
-
margin-left: 4px;
|
90
|
-
padding-left: 2px;
|
91
|
-
padding-right: 2px;
|
92
|
-
vertical-align: center;
|
93
|
-
}
|
94
|
-
.close:hover{
|
95
|
-
color:red;
|
96
|
-
border-radius: 7px;
|
97
|
-
background-color: #CCCCCC;
|
98
|
-
}
|
99
|
-
/*minimal isn't used yet*/
|
100
|
-
.minimal{
|
101
|
-
padding:0px;
|
102
|
-
}
|
103
|
-
.box{
|
104
|
-
padding:5px 5px 5px 5px;
|
105
|
-
background: linear-gradient(to bottom right, #F7F7F7, #F5F5F5, #F3F3F3);
|
106
|
-
border-radius: 4px;
|
107
|
-
border-style: solid;
|
108
|
-
border-color: #CFCFCF;
|
109
|
-
border-width: 1px;
|
110
|
-
transition: 90s;
|
111
|
-
box-shadow: 2px 1px 1px #CCCCCC;
|
112
|
-
}
|
113
|
-
.modal{
|
114
|
-
background-color: #CCCCCC;
|
115
|
-
opacity:1.0;
|
116
|
-
position: fixed;
|
117
|
-
top: 25%;
|
118
|
-
left: 50% ;
|
119
|
-
width:280px;
|
120
|
-
margin-left:-140px;
|
121
|
-
padding:20px;
|
122
|
-
box-shadow: 2px 1px 1px #DDDDDD;
|
123
|
-
z-index:11;
|
124
|
-
}
|
125
|
-
.header-button {
|
126
|
-
color:#FFFFFF;
|
127
|
-
background-color: #000000;
|
128
|
-
}
|
129
|
-
|
130
|
-
.header-button:hover {
|
131
|
-
color:#999999;
|
132
|
-
background-color: #000000;
|
133
|
-
}
|
134
|
-
.submit {
|
135
|
-
border:none;
|
136
|
-
background:#888888;
|
137
|
-
margin-top: 8px;
|
138
|
-
padding: 4px 12px 4px 12px;
|
139
|
-
border-radius: 3px;
|
140
|
-
color: white;
|
141
|
-
float: right;
|
142
|
-
margin-left: 10px;
|
143
|
-
box-shadow: 2px 2px 1px #DDDDDD;
|
144
|
-
}
|
145
|
-
.submit:hover{
|
146
|
-
color:black;
|
147
|
-
}
|
148
|
-
.checkbox{
|
149
|
-
width:45px;
|
150
|
-
border:none;
|
151
|
-
box-shadow: none;
|
152
|
-
}
|
153
|
-
|
154
|
-
/*By ID*/
|
155
|
-
#add{
|
156
|
-
color:white;
|
157
|
-
background-color: #B9B9B9;
|
158
|
-
margin-top: 3px;
|
159
|
-
width:90px;
|
160
|
-
}
|
161
|
-
#add:hover{
|
162
|
-
color:black;
|
163
|
-
}
|
164
|
-
#add:active{
|
165
|
-
color: red;
|
166
|
-
}
|
167
|
-
#dialog-modal{
|
168
|
-
visibility: none;
|
169
|
-
}
|
170
|
-
#dialog-background-blur{
|
171
|
-
background-color: #EEEEEE;
|
172
|
-
opacity: 0.85;
|
173
|
-
position: fixed;
|
174
|
-
left:0;
|
175
|
-
top:0;
|
176
|
-
width:100%;
|
177
|
-
height:100%;
|
178
|
-
z-index: 10;
|
179
|
-
}
|
180
|
-
#header{
|
181
|
-
background-color:black;
|
182
|
-
color:white;
|
183
|
-
padding-top:5px;
|
184
|
-
padding-bottom:5px;
|
185
|
-
}
|
186
|
-
#quit-button {
|
187
|
-
box-shadow: none;
|
188
|
-
font-weight: bold;
|
189
|
-
}
|
190
|
-
#datafile{
|
191
|
-
width:100%;
|
192
|
-
background-color:#CCCCCC;
|
193
|
-
box-shadow:none;
|
194
|
-
}
|