DV_RUBY_SDK 1.0.1 → 1.1.0
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 +4 -4
- data/README.md +206 -18
- data/examples/rails/devless/.gitignore +21 -0
- data/examples/rails/devless/Gemfile +55 -0
- data/examples/rails/devless/Gemfile.lock +176 -0
- data/examples/rails/devless/README.md +73 -0
- data/examples/rails/devless/Rakefile +6 -0
- data/examples/rails/devless/app/assets/config/manifest.js +3 -0
- data/examples/rails/devless/app/assets/images/.keep +0 -0
- data/examples/rails/devless/app/assets/javascripts/application.js +16 -0
- data/examples/rails/devless/app/assets/javascripts/cable.js +13 -0
- data/examples/rails/devless/app/assets/javascripts/channels/.keep +0 -0
- data/examples/rails/devless/app/assets/javascripts/devless.coffee +3 -0
- data/examples/rails/devless/app/assets/stylesheets/application.css +15 -0
- data/examples/rails/devless/app/assets/stylesheets/devless.scss +3 -0
- data/examples/rails/devless/app/channels/application_cable/channel.rb +4 -0
- data/examples/rails/devless/app/channels/application_cable/connection.rb +4 -0
- data/examples/rails/devless/app/controllers/application_controller.rb +3 -0
- data/examples/rails/devless/app/controllers/concerns/.keep +0 -0
- data/examples/rails/devless/app/controllers/devless_controller.rb +19 -0
- data/examples/rails/devless/app/helpers/application_helper.rb +2 -0
- data/examples/rails/devless/app/helpers/devless_helper.rb +2 -0
- data/examples/rails/devless/app/jobs/application_job.rb +2 -0
- data/examples/rails/devless/app/mailers/application_mailer.rb +4 -0
- data/examples/rails/devless/app/models/application_record.rb +3 -0
- data/examples/rails/devless/app/models/concerns/.keep +0 -0
- data/examples/rails/devless/app/views/devless/index.html.erb +4 -0
- data/examples/rails/devless/app/views/layouts/application.html.erb +14 -0
- data/examples/rails/devless/app/views/layouts/mailer.html.erb +13 -0
- data/examples/rails/devless/app/views/layouts/mailer.text.erb +1 -0
- data/examples/rails/devless/bin/bundle +3 -0
- data/examples/rails/devless/bin/rails +9 -0
- data/examples/rails/devless/bin/rake +9 -0
- data/examples/rails/devless/bin/setup +34 -0
- data/examples/rails/devless/bin/spring +17 -0
- data/examples/rails/devless/bin/update +29 -0
- data/examples/rails/devless/config.ru +5 -0
- data/examples/rails/devless/config/application.rb +15 -0
- data/examples/rails/devless/config/boot.rb +3 -0
- data/examples/rails/devless/config/cable.yml +9 -0
- data/examples/rails/devless/config/database.yml +25 -0
- data/examples/rails/devless/config/environment.rb +5 -0
- data/examples/rails/devless/config/environments/development.rb +54 -0
- data/examples/rails/devless/config/environments/production.rb +86 -0
- data/examples/rails/devless/config/environments/test.rb +42 -0
- data/examples/rails/devless/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/rails/devless/config/initializers/assets.rb +11 -0
- data/examples/rails/devless/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails/devless/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails/devless/config/initializers/devless.rb +2 -0
- data/examples/rails/devless/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails/devless/config/initializers/inflections.rb +16 -0
- data/examples/rails/devless/config/initializers/mime_types.rb +4 -0
- data/examples/rails/devless/config/initializers/new_framework_defaults.rb +24 -0
- data/examples/rails/devless/config/initializers/session_store.rb +3 -0
- data/examples/rails/devless/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails/devless/config/locales/en.yml +23 -0
- data/examples/rails/devless/config/puma.rb +47 -0
- data/examples/rails/devless/config/routes.rb +5 -0
- data/examples/rails/devless/config/secrets.yml +22 -0
- data/examples/rails/devless/config/spring.rb +6 -0
- data/examples/rails/devless/db/seeds.rb +7 -0
- data/examples/rails/devless/lib/assets/.keep +0 -0
- data/examples/rails/devless/lib/tasks/.keep +0 -0
- data/examples/rails/devless/log/.keep +0 -0
- data/examples/rails/devless/public/404.html +67 -0
- data/examples/rails/devless/public/422.html +67 -0
- data/examples/rails/devless/public/500.html +66 -0
- data/examples/rails/devless/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails/devless/public/apple-touch-icon.png +0 -0
- data/examples/rails/devless/public/favicon.ico +0 -0
- data/examples/rails/devless/public/robots.txt +5 -0
- data/examples/rails/devless/test/controllers/.keep +0 -0
- data/examples/rails/devless/test/controllers/devless_controller_test.rb +9 -0
- data/examples/rails/devless/test/fixtures/.keep +0 -0
- data/examples/rails/devless/test/fixtures/files/.keep +0 -0
- data/examples/rails/devless/test/helpers/.keep +0 -0
- data/examples/rails/devless/test/integration/.keep +0 -0
- data/examples/rails/devless/test/mailers/.keep +0 -0
- data/examples/rails/devless/test/models/.keep +0 -0
- data/examples/rails/devless/test/test_helper.rb +10 -0
- data/examples/rails/devless/tmp/.keep +0 -0
- data/examples/rails/devless/vendor/assets/javascripts/.keep +0 -0
- data/examples/rails/devless/vendor/assets/stylesheets/.keep +0 -0
- data/examples/ruby_script/devless.rb +65 -0
- data/lib/DV_RUBY_SDK.rb +5 -2
- data/lib/DV_RUBY_SDK/version.rb +1 -1
- metadata +93 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18ff3ef0499f06ade6e8cae10341accc4ac5c5c9
|
4
|
+
data.tar.gz: b7c799f1df0614c4ebe97e3de1f98c630cbe85bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47320728839008cdda71d8b5ecfb34ce7c952c96ebca831a742ea78b9c5daa14fb705058778cf83b7d336e67f56f13eb128b421a69e3f984078532d4d6b53512
|
7
|
+
data.tar.gz: 4b202ffcb0696d5aeeea58cc12793a67e329cb4612ca839536dddac4215839f56833699b18987490327ec9e97f66e7fb399a5bb86071e1e775645da7bfa16997
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Official Devless Ruby SDK
|
4
4
|
|
5
|
-
##Official Documentation
|
5
|
+
## Official Documentation
|
6
6
|
|
7
7
|
Refer to https://docs.devless.io for a detailed documentation.
|
8
8
|
|
@@ -24,29 +24,27 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
27
|
-
|
28
|
-
If you are using rails you may create
|
27
|
+
### Setup your DevLess credentials
|
28
|
+
If you are using rails you may create a new file called devless.rb in the config/initializers folder and set it up with your credentials this way
|
29
29
|
|
30
30
|
```ruby
|
31
31
|
DVRUBYSDK.token = "52babb518f716ea9014baeb42926b9f9"
|
32
|
-
DVRUBYSDK.url = "http://
|
33
|
-
DVRUBYSDK.port = "8000"
|
32
|
+
DVRUBYSDK.url = "http://myapp.herokuapp.com"
|
34
33
|
```
|
35
34
|
|
36
|
-
For Ruby
|
35
|
+
For a normal Ruby script just follow this procedure
|
37
36
|
|
38
37
|
```ruby
|
39
38
|
require "DV_RUBY_SDK"
|
40
39
|
DVRUBYSDK.token = "52babb518f716ea9014baeb42926b9f9"
|
41
|
-
DVRUBYSDK.url = "http://
|
42
|
-
DVRUBYSDK.port = "8000"
|
40
|
+
DVRUBYSDK.url = "http://myapp.herokuapp.com"
|
43
41
|
```
|
44
|
-
|
42
|
+
### Create an instance of the DevLess class to have access to the methods
|
45
43
|
|
46
44
|
```ruby
|
47
45
|
@devless = DVRUBYSDK::Devless.new
|
48
46
|
```
|
49
|
-
|
47
|
+
### To add data to table
|
50
48
|
|
51
49
|
```ruby
|
52
50
|
data = {:name => "Tsatsu"}
|
@@ -54,14 +52,14 @@ results = @devless.add_data("service_name", "service_table", data)
|
|
54
52
|
puts results
|
55
53
|
```
|
56
54
|
|
57
|
-
|
55
|
+
### To query data from table
|
58
56
|
|
59
57
|
```ruby
|
60
58
|
results = @devless.query_data("service_name", "service_table")
|
61
59
|
puts results
|
62
60
|
```
|
63
61
|
|
64
|
-
|
62
|
+
### Also you may filter your query with:
|
65
63
|
|
66
64
|
``size:`` determine the number of results to return
|
67
65
|
|
@@ -92,7 +90,7 @@ results = @devless.orderBy("name").query_data("service_name", "service_table")
|
|
92
90
|
puts results
|
93
91
|
```
|
94
92
|
|
95
|
-
|
93
|
+
### To update data in table
|
96
94
|
|
97
95
|
```ruby
|
98
96
|
data = {:name => "Edwin"}
|
@@ -100,27 +98,217 @@ results = @devless.where("id", 1).update_data("service_name", "service_table", d
|
|
100
98
|
puts results
|
101
99
|
```
|
102
100
|
|
103
|
-
|
101
|
+
### To delete data from table
|
104
102
|
|
105
103
|
```ruby
|
106
104
|
results = @devless.where("id", 1).delete_data("service_name", "service_table")
|
107
105
|
puts results
|
108
106
|
```
|
109
107
|
|
110
|
-
|
108
|
+
### Make a call to an Action Class in the DevLess instance
|
111
109
|
|
112
110
|
```ruby
|
113
111
|
results = @devless.method_call("service_name", "method_name", {})
|
114
112
|
puts results
|
115
113
|
```
|
116
114
|
|
117
|
-
|
115
|
+
### Authentication! DevLess comes with authentication baked in. You can access the authentication methods using the DevLess SDK
|
116
|
+
#### NB: The five methods below require a user token to be set on the header for successful communicatiion with the DevLess backend.
|
118
117
|
|
118
|
+
#### Sign In
|
119
|
+
|
120
|
+
```ruby
|
121
|
+
results = @devless.method_call("devless", "login", {:email => "k@gmail.com", :password => "password"})
|
122
|
+
user_token = JSON.parse(results)['payload']['result']['token']
|
123
|
+
@devless.set_user_token(user_token);
|
124
|
+
```
|
125
|
+
Options available are 'username', 'email' & 'phone_number'.
|
126
|
+
|
127
|
+
#### Sign Up
|
119
128
|
```ruby
|
120
|
-
|
121
|
-
|
129
|
+
results = @devless.method_call("devless", "signUp", {
|
130
|
+
:email => "k@gmail.com",
|
131
|
+
:password => "password",
|
132
|
+
:username => "ironman",
|
133
|
+
:phone_number => "+233245632353",
|
134
|
+
:first_name => "Tony",
|
135
|
+
:last_name => "Stark",
|
136
|
+
})
|
137
|
+
user_token = JSON.parse(results)['payload']['result']['token']
|
122
138
|
@devless.set_user_token(user_token);
|
123
139
|
```
|
140
|
+
Options available to set the status & role of accounts.
|
141
|
+
|
142
|
+
#### Updating Profile
|
143
|
+
```ruby
|
144
|
+
results = @devless.method_call("devless", "updateProfile", {
|
145
|
+
:email => "avenger@gmail.com",
|
146
|
+
:password => "dontangryme",
|
147
|
+
:username => "hulk",
|
148
|
+
:phone_number => "+233204432432",
|
149
|
+
:first_name => "Bruce",
|
150
|
+
:last_name => "Banner",
|
151
|
+
})
|
152
|
+
puts results
|
153
|
+
```
|
154
|
+
|
155
|
+
#### Retrieving Profile
|
156
|
+
```ruby
|
157
|
+
results = @devless.method_call("devless", "profile", {})
|
158
|
+
puts results
|
159
|
+
```
|
160
|
+
|
161
|
+
#### Log Out
|
162
|
+
```ruby
|
163
|
+
results = @devless.method_call("devless", "logout", {})
|
164
|
+
puts results
|
165
|
+
```
|
166
|
+
|
167
|
+
## Full Rails Example
|
168
|
+
### DEVLESS RAILS EXAMPLE (THE WHOLE PROCESS)
|
169
|
+
|
170
|
+
## Step One
|
171
|
+
Create a rails app from your terminal and name it anything I will call mine "devless"
|
172
|
+
```
|
173
|
+
$ rails new devless
|
174
|
+
```
|
175
|
+
Navigate into the folder from terminal and run bundle
|
176
|
+
```
|
177
|
+
$ bundle
|
178
|
+
```
|
179
|
+
|
180
|
+
## Step Two
|
181
|
+
Add The 'DV_RUBY_SDK' gem by going into your gem file and pasting this code
|
182
|
+
```Ruby
|
183
|
+
gem 'DV_RUBY_SDK'
|
184
|
+
```
|
185
|
+
|
186
|
+
Go back to your console and run bundle install
|
187
|
+
```
|
188
|
+
$ bundle install
|
189
|
+
```
|
190
|
+
|
191
|
+
Create a controller with an action in my case I will create a controller called devless with an index action. This is how I will do it.
|
192
|
+
|
193
|
+
```
|
194
|
+
$ rails g controller devless index
|
195
|
+
```
|
196
|
+
|
197
|
+
## Step Three
|
198
|
+
#### Navigate to your config folder in the root and look for a folder called initializers. Create a file called devless.rb to configure devless. This the src config/initializers/devless.rb. You will need a token and a url to configure
|
199
|
+
|
200
|
+
##### You will see your {token} and the app {url} in the app section of the devless app you created on hosted on heroku. Click on the app tab and on your left and just scroll down on your right you will see the token copy it.
|
201
|
+
##### Url: Just copy the root of the devless app you created and hosted on heroku
|
202
|
+
|
203
|
+
In my case my token is "7740b4b2303e32957a3215c344b8c21c" and my url is "http://newerapper.herokuapp.com" so since i have these can configure.
|
204
|
+
|
205
|
+
|
206
|
+
#### Go to config/initializers/devless.rb and paste this code (Use your token and url not this)
|
207
|
+
```Ruby
|
208
|
+
DVRUBYSDK.token = "7740b4b2303e32957a3215c344b8c21c"
|
209
|
+
DVRUBYSDK.url = "http://newerapper.herokuapp.com"
|
210
|
+
```
|
211
|
+
|
212
|
+
## Step Four
|
213
|
+
Navigate to app/controller and let's write some logic in the controller we created so we can post and query data on our devless backend. Copy and paste this code in the index action of your controller or you can also paste it in any action in your controller. Please read the comments to see what you have to do to customize it well.
|
214
|
+
|
215
|
+
```Ruby
|
216
|
+
#create an instance of the devless class and assign it to a varibale.
|
217
|
+
# I will call mine *@devless* but you could call yours anything.
|
218
|
+
|
219
|
+
@devless = DVRUBYSDK::Devless.new
|
220
|
+
|
221
|
+
#At this stage we can query data, post data, patch and do what ever we want to our table from here
|
222
|
+
#Lets first query data
|
223
|
+
service_name = "names"
|
224
|
+
table_name = "eit_names"
|
225
|
+
@query_response = @devless.query_data(service_name, table_name)
|
226
|
+
|
227
|
+
#lets post data to that same table called "eit_names" which require one field ie "name"
|
228
|
+
@data_we_want_to_post = {name: "Charles"}
|
229
|
+
@post_data_response = devless.add_data(service_name, table_name, data_we_want_to_post)
|
230
|
+
```
|
231
|
+
## Step Five
|
232
|
+
Access your data from the view or wherever you want to use it. So lets go to our view for the controller ie views/devless/index.html.erb in our case and paste this code and that is it!! Easy!
|
233
|
+
```Rails
|
234
|
+
<%= @query_response %>
|
235
|
+
<%= @post_data_response %>
|
236
|
+
```
|
237
|
+
|
238
|
+
This is It you can do whatever you want with it read more methods in the sdk documentation. It is super easy, fast and efficient. Tell your friends about devless.
|
239
|
+
|
240
|
+
If you already have this just download this project from the eamples folder and run bundle install on your local change the config/initializers/devless.rb and start using it. happy coding!!. Welcome to Devless
|
241
|
+
|
242
|
+
|
243
|
+
## Full ruby example
|
244
|
+
```Ruby
|
245
|
+
=begin
|
246
|
+
step One Run gem install DV_RUBY_SDK
|
247
|
+
step two create a .rb file and call it anything. I have called mine devless.rb in this instance
|
248
|
+
|
249
|
+
Agenda
|
250
|
+
-------
|
251
|
+
|
252
|
+
We want to do a simple post and query from one of the tables in my service on my devless
|
253
|
+
panel(the one I am hosting on heroku)
|
254
|
+
The service name is called "names" and under this service I have a table called eit_names
|
255
|
+
with one field called "name" which is a string
|
256
|
+
|
257
|
+
service name = "names"
|
258
|
+
table_name = "eit_names"
|
259
|
+
let's do this!
|
260
|
+
=end
|
261
|
+
|
262
|
+
#require the gem
|
263
|
+
require "DV_RUBY_SDK"
|
264
|
+
|
265
|
+
=begin
|
266
|
+
set it up with your credentials. you will need these two credentials {token}
|
267
|
+
token can be found in the app tab on your devless panel where you created your services
|
268
|
+
copy the token.
|
269
|
+
my token = "7740b4b2303e32957a3215c344b8c21c"
|
270
|
+
You will also need the {url} ie the url of the devless app you created
|
271
|
+
(in my case the one I created and hosted on heroku)
|
272
|
+
my_app_url = "http://newerapper.herokuapp.com"
|
273
|
+
If you have these two you can set up
|
274
|
+
set it up this way
|
275
|
+
=end
|
276
|
+
|
277
|
+
my_token = "7740b4b2303e32957a3215c344b8c21c"
|
278
|
+
my_app_url = "http://newerapper.herokuapp.com"
|
279
|
+
|
280
|
+
DVRUBYSDK.token = my_token
|
281
|
+
DVRUBYSDK.url = my_app_url
|
282
|
+
|
283
|
+
#create an intance of the devless class and assign it to a varibale.
|
284
|
+
# I will call mine *devless* you could call yours anything.
|
285
|
+
|
286
|
+
devless = DVRUBYSDK::Devless.new
|
287
|
+
|
288
|
+
#at this stage we can query data, post data, patch and do what ever we want to our table from here
|
289
|
+
#lets first query data
|
290
|
+
|
291
|
+
service_name = "names"
|
292
|
+
table_name = "eit_names"
|
293
|
+
|
294
|
+
query_response = devless.query_data(service_name, table_name)
|
295
|
+
puts query_response
|
296
|
+
|
297
|
+
|
298
|
+
#lets post data to that same table called "eit_names" which require one field ie "name"
|
299
|
+
data_we_want_to_post = {name: "Charles"}
|
300
|
+
post_data_response = devless.add_data(service_name, table_name, data_we_want_to_post)
|
301
|
+
puts post_data_response
|
302
|
+
|
303
|
+
=begin
|
304
|
+
Run it by pressing command b on your sublime if youre on a mac or run the script in your terminal if otherwise.
|
305
|
+
You should see data returned without any errors and when you check back in your table
|
306
|
+
you will see a new entry in your database.
|
307
|
+
Thats how fast, poowerful; and easy devless has made things
|
308
|
+
Tell your friends about devless. Thanks
|
309
|
+
=end
|
310
|
+
|
311
|
+
```
|
124
312
|
|
125
313
|
## Contributing
|
126
314
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
+
|
7
|
+
# Ignore bundler config.
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*
|
16
|
+
/tmp/*
|
17
|
+
!/log/.keep
|
18
|
+
!/tmp/.keep
|
19
|
+
|
20
|
+
# Ignore Byebug command history file.
|
21
|
+
.byebug_history
|
@@ -0,0 +1,55 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
git_source(:github) do |repo_name|
|
4
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
5
|
+
"https://github.com/#{repo_name}.git"
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
10
|
+
gem 'rails', '~> 5.0.2'
|
11
|
+
# Use sqlite3 as the database for Active Record
|
12
|
+
gem 'sqlite3'
|
13
|
+
# Use Puma as the app server
|
14
|
+
gem 'puma', '~> 3.0'
|
15
|
+
# Use SCSS for stylesheets
|
16
|
+
gem 'sass-rails', '~> 5.0'
|
17
|
+
# Use Uglifier as compressor for JavaScript assets
|
18
|
+
gem 'uglifier', '>= 1.3.0'
|
19
|
+
# Use CoffeeScript for .coffee assets and views
|
20
|
+
gem 'coffee-rails', '~> 4.2'
|
21
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
22
|
+
# gem 'therubyracer', platforms: :ruby
|
23
|
+
|
24
|
+
# Use jquery as the JavaScript library
|
25
|
+
gem 'jquery-rails'
|
26
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
27
|
+
gem 'turbolinks', '~> 5'
|
28
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
29
|
+
gem 'jbuilder', '~> 2.5'
|
30
|
+
# Use Redis adapter to run Action Cable in production
|
31
|
+
# gem 'redis', '~> 3.0'
|
32
|
+
# Use ActiveModel has_secure_password
|
33
|
+
# gem 'bcrypt', '~> 3.1.7'
|
34
|
+
|
35
|
+
gem 'DV_RUBY_SDK'
|
36
|
+
|
37
|
+
# Use Capistrano for deployment
|
38
|
+
# gem 'capistrano-rails', group: :development
|
39
|
+
|
40
|
+
group :development, :test do
|
41
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
42
|
+
gem 'byebug', platform: :mri
|
43
|
+
end
|
44
|
+
|
45
|
+
group :development do
|
46
|
+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
|
47
|
+
gem 'web-console', '>= 3.3.0'
|
48
|
+
gem 'listen', '~> 3.0.5'
|
49
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
50
|
+
gem 'spring'
|
51
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
52
|
+
end
|
53
|
+
|
54
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
55
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
@@ -0,0 +1,176 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
DV_RUBY_SDK (1.0.1)
|
5
|
+
actioncable (5.0.2)
|
6
|
+
actionpack (= 5.0.2)
|
7
|
+
nio4r (>= 1.2, < 3.0)
|
8
|
+
websocket-driver (~> 0.6.1)
|
9
|
+
actionmailer (5.0.2)
|
10
|
+
actionpack (= 5.0.2)
|
11
|
+
actionview (= 5.0.2)
|
12
|
+
activejob (= 5.0.2)
|
13
|
+
mail (~> 2.5, >= 2.5.4)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
actionpack (5.0.2)
|
16
|
+
actionview (= 5.0.2)
|
17
|
+
activesupport (= 5.0.2)
|
18
|
+
rack (~> 2.0)
|
19
|
+
rack-test (~> 0.6.3)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
22
|
+
actionview (5.0.2)
|
23
|
+
activesupport (= 5.0.2)
|
24
|
+
builder (~> 3.1)
|
25
|
+
erubis (~> 2.7.0)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
28
|
+
activejob (5.0.2)
|
29
|
+
activesupport (= 5.0.2)
|
30
|
+
globalid (>= 0.3.6)
|
31
|
+
activemodel (5.0.2)
|
32
|
+
activesupport (= 5.0.2)
|
33
|
+
activerecord (5.0.2)
|
34
|
+
activemodel (= 5.0.2)
|
35
|
+
activesupport (= 5.0.2)
|
36
|
+
arel (~> 7.0)
|
37
|
+
activesupport (5.0.2)
|
38
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
39
|
+
i18n (~> 0.7)
|
40
|
+
minitest (~> 5.1)
|
41
|
+
tzinfo (~> 1.1)
|
42
|
+
arel (7.1.4)
|
43
|
+
bindex (0.5.0)
|
44
|
+
builder (3.2.3)
|
45
|
+
byebug (9.0.6)
|
46
|
+
coffee-rails (4.2.1)
|
47
|
+
coffee-script (>= 2.2.0)
|
48
|
+
railties (>= 4.0.0, < 5.2.x)
|
49
|
+
coffee-script (2.4.1)
|
50
|
+
coffee-script-source
|
51
|
+
execjs
|
52
|
+
coffee-script-source (1.12.2)
|
53
|
+
concurrent-ruby (1.0.5)
|
54
|
+
erubis (2.7.0)
|
55
|
+
execjs (2.7.0)
|
56
|
+
ffi (1.9.18)
|
57
|
+
globalid (0.3.7)
|
58
|
+
activesupport (>= 4.1.0)
|
59
|
+
i18n (0.8.1)
|
60
|
+
jbuilder (2.6.3)
|
61
|
+
activesupport (>= 3.0.0, < 5.2)
|
62
|
+
multi_json (~> 1.2)
|
63
|
+
jquery-rails (4.3.1)
|
64
|
+
rails-dom-testing (>= 1, < 3)
|
65
|
+
railties (>= 4.2.0)
|
66
|
+
thor (>= 0.14, < 2.0)
|
67
|
+
listen (3.0.8)
|
68
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
69
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
70
|
+
loofah (2.0.3)
|
71
|
+
nokogiri (>= 1.5.9)
|
72
|
+
mail (2.6.4)
|
73
|
+
mime-types (>= 1.16, < 4)
|
74
|
+
method_source (0.8.2)
|
75
|
+
mime-types (3.1)
|
76
|
+
mime-types-data (~> 3.2015)
|
77
|
+
mime-types-data (3.2016.0521)
|
78
|
+
mini_portile2 (2.1.0)
|
79
|
+
minitest (5.10.1)
|
80
|
+
multi_json (1.12.1)
|
81
|
+
nio4r (2.0.0)
|
82
|
+
nokogiri (1.7.1)
|
83
|
+
mini_portile2 (~> 2.1.0)
|
84
|
+
puma (3.8.2)
|
85
|
+
rack (2.0.1)
|
86
|
+
rack-test (0.6.3)
|
87
|
+
rack (>= 1.0)
|
88
|
+
rails (5.0.2)
|
89
|
+
actioncable (= 5.0.2)
|
90
|
+
actionmailer (= 5.0.2)
|
91
|
+
actionpack (= 5.0.2)
|
92
|
+
actionview (= 5.0.2)
|
93
|
+
activejob (= 5.0.2)
|
94
|
+
activemodel (= 5.0.2)
|
95
|
+
activerecord (= 5.0.2)
|
96
|
+
activesupport (= 5.0.2)
|
97
|
+
bundler (>= 1.3.0, < 2.0)
|
98
|
+
railties (= 5.0.2)
|
99
|
+
sprockets-rails (>= 2.0.0)
|
100
|
+
rails-dom-testing (2.0.2)
|
101
|
+
activesupport (>= 4.2.0, < 6.0)
|
102
|
+
nokogiri (~> 1.6)
|
103
|
+
rails-html-sanitizer (1.0.3)
|
104
|
+
loofah (~> 2.0)
|
105
|
+
railties (5.0.2)
|
106
|
+
actionpack (= 5.0.2)
|
107
|
+
activesupport (= 5.0.2)
|
108
|
+
method_source
|
109
|
+
rake (>= 0.8.7)
|
110
|
+
thor (>= 0.18.1, < 2.0)
|
111
|
+
rake (12.0.0)
|
112
|
+
rb-fsevent (0.9.8)
|
113
|
+
rb-inotify (0.9.8)
|
114
|
+
ffi (>= 0.5.0)
|
115
|
+
sass (3.4.23)
|
116
|
+
sass-rails (5.0.6)
|
117
|
+
railties (>= 4.0.0, < 6)
|
118
|
+
sass (~> 3.1)
|
119
|
+
sprockets (>= 2.8, < 4.0)
|
120
|
+
sprockets-rails (>= 2.0, < 4.0)
|
121
|
+
tilt (>= 1.1, < 3)
|
122
|
+
spring (2.0.1)
|
123
|
+
activesupport (>= 4.2)
|
124
|
+
spring-watcher-listen (2.0.1)
|
125
|
+
listen (>= 2.7, < 4.0)
|
126
|
+
spring (>= 1.2, < 3.0)
|
127
|
+
sprockets (3.7.1)
|
128
|
+
concurrent-ruby (~> 1.0)
|
129
|
+
rack (> 1, < 3)
|
130
|
+
sprockets-rails (3.2.0)
|
131
|
+
actionpack (>= 4.0)
|
132
|
+
activesupport (>= 4.0)
|
133
|
+
sprockets (>= 3.0.0)
|
134
|
+
sqlite3 (1.3.13)
|
135
|
+
thor (0.19.4)
|
136
|
+
thread_safe (0.3.6)
|
137
|
+
tilt (2.0.7)
|
138
|
+
turbolinks (5.0.1)
|
139
|
+
turbolinks-source (~> 5)
|
140
|
+
turbolinks-source (5.0.0)
|
141
|
+
tzinfo (1.2.3)
|
142
|
+
thread_safe (~> 0.1)
|
143
|
+
uglifier (3.2.0)
|
144
|
+
execjs (>= 0.3.0, < 3)
|
145
|
+
web-console (3.5.0)
|
146
|
+
actionview (>= 5.0)
|
147
|
+
activemodel (>= 5.0)
|
148
|
+
bindex (>= 0.4.0)
|
149
|
+
railties (>= 5.0)
|
150
|
+
websocket-driver (0.6.5)
|
151
|
+
websocket-extensions (>= 0.1.0)
|
152
|
+
websocket-extensions (0.1.2)
|
153
|
+
|
154
|
+
PLATFORMS
|
155
|
+
ruby
|
156
|
+
|
157
|
+
DEPENDENCIES
|
158
|
+
DV_RUBY_SDK
|
159
|
+
byebug
|
160
|
+
coffee-rails (~> 4.2)
|
161
|
+
jbuilder (~> 2.5)
|
162
|
+
jquery-rails
|
163
|
+
listen (~> 3.0.5)
|
164
|
+
puma (~> 3.0)
|
165
|
+
rails (~> 5.0.2)
|
166
|
+
sass-rails (~> 5.0)
|
167
|
+
spring
|
168
|
+
spring-watcher-listen (~> 2.0.0)
|
169
|
+
sqlite3
|
170
|
+
turbolinks (~> 5)
|
171
|
+
tzinfo-data
|
172
|
+
uglifier (>= 1.3.0)
|
173
|
+
web-console (>= 3.3.0)
|
174
|
+
|
175
|
+
BUNDLED WITH
|
176
|
+
1.14.4
|