jdx-sinatra-param 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ unless ENV['CI']
2
+ require 'simplecov'
3
+ SimpleCov.start do
4
+ add_filter 'spec'
5
+ add_filter '.bundle'
6
+ end
7
+ end
8
+
9
+ require 'sinatra/param'
10
+
11
+ require 'rspec'
12
+ require 'rack/test'
13
+
14
+ require 'dummy/app'
15
+
16
+ def app
17
+ App
18
+ end
19
+
20
+ include Rack::Test::Methods
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdx-sinatra-param
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Mattt
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sinatra
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rack-test
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: sinatra-param allows you to declare, validate, and transform endpoint
84
+ parameters as you would in frameworks like ActiveModel or DataMapper.
85
+ email: mattt@me.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - "./Gemfile"
91
+ - "./LICENSE"
92
+ - "./README.md"
93
+ - "./Rakefile"
94
+ - "./example/Gemfile"
95
+ - "./example/Procfile"
96
+ - "./example/app.rb"
97
+ - "./example/config.ru"
98
+ - "./lib/sinatra/param.rb"
99
+ - "./lib/sinatra/param/version.rb"
100
+ - "./sinatra-param.gemspec"
101
+ - spec/dummy/app.rb
102
+ - spec/parameter_conjunctivity_spec.rb
103
+ - spec/parameter_exclusivity_spec.rb
104
+ - spec/parameter_inclusivity_spec.rb
105
+ - spec/parameter_raise_spec.rb
106
+ - spec/parameter_spec.rb
107
+ - spec/parameter_transformations_spec.rb
108
+ - spec/parameter_type_coercion_spec.rb
109
+ - spec/parameter_validations_spec.rb
110
+ - spec/spec_helper.rb
111
+ homepage: https://github.com/mattt/sinatra-param
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
115
+ post_install_message:
116
+ rdoc_options: []
117
+ require_paths:
118
+ - lib
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubygems_version: 3.0.4
131
+ signing_key:
132
+ specification_version: 4
133
+ summary: Parameter Validation & Type Coercion for Sinatra.
134
+ test_files:
135
+ - spec/dummy/app.rb
136
+ - spec/parameter_conjunctivity_spec.rb
137
+ - spec/parameter_exclusivity_spec.rb
138
+ - spec/parameter_inclusivity_spec.rb
139
+ - spec/parameter_raise_spec.rb
140
+ - spec/parameter_spec.rb
141
+ - spec/parameter_transformations_spec.rb
142
+ - spec/parameter_type_coercion_spec.rb
143
+ - spec/parameter_validations_spec.rb
144
+ - spec/spec_helper.rb