openlab_ruby 0.0.4 → 0.0.5
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 +5 -5
- data/README.md +14 -0
- data/lib/openlab/version.rb +1 -1
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/config/application.rb +4 -4
- data/test/dummy/config/environments/development.rb +0 -3
- data/test/dummy/config/environments/production.rb +0 -2
- data/test/dummy/log/test.log +3 -0
- data/test/test_helper.rb +0 -1
- metadata +75 -33
- data/README.rdoc +0 -1
- data/test/dummy/config/database.yml +0 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d61e1594b769bbf0a623cdceb44a4578453f8f1e9a0baab1cc10991760337896
|
|
4
|
+
data.tar.gz: 53d6c3999cf4e70b833efcb47e5b4a73b1df822446ce0f5f0ccf77f4f47b230e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39721a80b79c4197bd29ef757208bf869ef0d3720c105237834e96db54207e2c3ec0e45e1fb14280d434ac284e5133a54f898ac2d0c41b4d48625a538e8708a7
|
|
7
|
+
data.tar.gz: 3fd2b3039f275325c9e17ff5e106ae711d7a3b66fac17c312e8611f7c3c5fc28c083869735b71a565a32b5c70ea4164fe6318bfad2580deede86390d0036696f
|
data/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
This is a ruby gem wrapping around the [OpenLab-Projects](https://github.com/sleede/openlab-projects/) API.
|
|
2
|
+
|
|
3
|
+
To use OpenLab-Projects for your Fab-manager, please refer to the [Fab-manager documentation](https://github.com/sleede/fab-manager/blob/master/README.md#open-projects).
|
|
4
|
+
|
|
5
|
+
To use this gem in your ruby project, run `gem install openlab_ruby`, or add the following line in your `Gemfile`:
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
gem 'openlab_ruby'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
To run the tests :
|
|
12
|
+
```
|
|
13
|
+
rake
|
|
14
|
+
```
|
data/lib/openlab/version.rb
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
|
2
2
|
|
|
3
|
-
require '
|
|
3
|
+
require 'action_controller/railtie'
|
|
4
|
+
require 'action_mailer/railtie'
|
|
5
|
+
require 'sprockets/railtie'
|
|
6
|
+
require 'rails/test_unit/railtie'
|
|
4
7
|
|
|
5
8
|
Bundler.require(*Rails.groups)
|
|
6
9
|
require "openlab_ruby"
|
|
@@ -18,9 +21,6 @@ module Dummy
|
|
|
18
21
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
19
22
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
20
23
|
# config.i18n.default_locale = :de
|
|
21
|
-
|
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
|
|
@@ -19,9 +19,6 @@ Rails.application.configure do
|
|
|
19
19
|
# Print deprecation notices to the Rails logger.
|
|
20
20
|
config.active_support.deprecation = :log
|
|
21
21
|
|
|
22
|
-
# Raise an error on page load if there are pending migrations.
|
|
23
|
-
config.active_record.migration_error = :page_load
|
|
24
|
-
|
|
25
22
|
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
23
|
# This option may cause significant delays in view rendering with a large
|
|
27
24
|
# number of complex assets.
|
|
@@ -74,6 +74,4 @@ Rails.application.configure do
|
|
|
74
74
|
# Use default logging formatter so that PID and timestamp are not suppressed.
|
|
75
75
|
config.log_formatter = ::Logger::Formatter.new
|
|
76
76
|
|
|
77
|
-
# Do not dump schema after migrations.
|
|
78
|
-
config.active_record.dump_schema_after_migration = false
|
|
79
77
|
end
|
data/test/test_helper.rb
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
|
3
3
|
|
|
4
4
|
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
|
5
|
-
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
|
6
5
|
require "rails/test_help"
|
|
7
6
|
|
|
8
7
|
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openlab_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicolas Florentin
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -24,6 +24,48 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0.13'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rails
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '5'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '5'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rdoc
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '5'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '5'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rake
|
|
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'
|
|
27
69
|
description: Openlab is an api wrapper for Openlab api
|
|
28
70
|
email:
|
|
29
71
|
- nicolas@sleede.com
|
|
@@ -32,7 +74,7 @@ extensions: []
|
|
|
32
74
|
extra_rdoc_files: []
|
|
33
75
|
files:
|
|
34
76
|
- MIT-LICENSE
|
|
35
|
-
- README.
|
|
77
|
+
- README.md
|
|
36
78
|
- Rakefile
|
|
37
79
|
- lib/openlab/client.rb
|
|
38
80
|
- lib/openlab/projects.rb
|
|
@@ -41,6 +83,7 @@ files:
|
|
|
41
83
|
- lib/tasks/openlab_ruby_tasks.rake
|
|
42
84
|
- test/dummy/README.rdoc
|
|
43
85
|
- test/dummy/Rakefile
|
|
86
|
+
- test/dummy/app/assets/config/manifest.js
|
|
44
87
|
- test/dummy/app/assets/javascripts/application.js
|
|
45
88
|
- test/dummy/app/assets/stylesheets/application.css
|
|
46
89
|
- test/dummy/app/controllers/application_controller.rb
|
|
@@ -53,7 +96,6 @@ files:
|
|
|
53
96
|
- test/dummy/config.ru
|
|
54
97
|
- test/dummy/config/application.rb
|
|
55
98
|
- test/dummy/config/boot.rb
|
|
56
|
-
- test/dummy/config/database.yml
|
|
57
99
|
- test/dummy/config/environment.rb
|
|
58
100
|
- test/dummy/config/environments/development.rb
|
|
59
101
|
- test/dummy/config/environments/production.rb
|
|
@@ -69,6 +111,7 @@ files:
|
|
|
69
111
|
- test/dummy/config/locales/en.yml
|
|
70
112
|
- test/dummy/config/routes.rb
|
|
71
113
|
- test/dummy/config/secrets.yml
|
|
114
|
+
- test/dummy/log/test.log
|
|
72
115
|
- test/dummy/public/404.html
|
|
73
116
|
- test/dummy/public/422.html
|
|
74
117
|
- test/dummy/public/500.html
|
|
@@ -79,7 +122,7 @@ homepage: ''
|
|
|
79
122
|
licenses:
|
|
80
123
|
- MIT
|
|
81
124
|
metadata: {}
|
|
82
|
-
post_install_message:
|
|
125
|
+
post_install_message:
|
|
83
126
|
rdoc_options: []
|
|
84
127
|
require_paths:
|
|
85
128
|
- lib
|
|
@@ -94,46 +137,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
137
|
- !ruby/object:Gem::Version
|
|
95
138
|
version: '0'
|
|
96
139
|
requirements: []
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
signing_key:
|
|
140
|
+
rubygems_version: 3.0.8
|
|
141
|
+
signing_key:
|
|
100
142
|
specification_version: 4
|
|
101
143
|
summary: Openlab is an api wrapper for Openlab api
|
|
102
144
|
test_files:
|
|
103
|
-
- test/
|
|
104
|
-
- test/dummy/
|
|
105
|
-
- test/dummy/
|
|
106
|
-
- test/dummy/app/helpers/application_helper.rb
|
|
107
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
145
|
+
- test/openlab_ruby_test.rb
|
|
146
|
+
- test/dummy/config.ru
|
|
147
|
+
- test/dummy/log/test.log
|
|
108
148
|
- test/dummy/bin/bundle
|
|
149
|
+
- test/dummy/bin/setup
|
|
109
150
|
- test/dummy/bin/rails
|
|
110
151
|
- test/dummy/bin/rake
|
|
111
|
-
- test/dummy/
|
|
112
|
-
- test/dummy/
|
|
113
|
-
- test/dummy/
|
|
114
|
-
- test/dummy/
|
|
152
|
+
- test/dummy/public/404.html
|
|
153
|
+
- test/dummy/public/500.html
|
|
154
|
+
- test/dummy/public/favicon.ico
|
|
155
|
+
- test/dummy/public/422.html
|
|
156
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
157
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
158
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
159
|
+
- test/dummy/app/assets/config/manifest.js
|
|
160
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
161
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
162
|
+
- test/dummy/Rakefile
|
|
163
|
+
- test/dummy/README.rdoc
|
|
115
164
|
- test/dummy/config/environment.rb
|
|
165
|
+
- test/dummy/config/boot.rb
|
|
166
|
+
- test/dummy/config/locales/en.yml
|
|
116
167
|
- test/dummy/config/environments/development.rb
|
|
117
168
|
- test/dummy/config/environments/production.rb
|
|
118
169
|
- test/dummy/config/environments/test.rb
|
|
119
|
-
- test/dummy/config/
|
|
170
|
+
- test/dummy/config/application.rb
|
|
120
171
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
121
|
-
- test/dummy/config/initializers/
|
|
172
|
+
- test/dummy/config/initializers/session_store.rb
|
|
122
173
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
123
|
-
- test/dummy/config/initializers/
|
|
174
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
124
175
|
- test/dummy/config/initializers/mime_types.rb
|
|
125
|
-
- test/dummy/config/initializers/
|
|
176
|
+
- test/dummy/config/initializers/inflections.rb
|
|
177
|
+
- test/dummy/config/initializers/assets.rb
|
|
126
178
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
127
|
-
- test/dummy/config/locales/en.yml
|
|
128
|
-
- test/dummy/config/routes.rb
|
|
129
179
|
- test/dummy/config/secrets.yml
|
|
130
|
-
- test/dummy/config.
|
|
131
|
-
- test/dummy/public/404.html
|
|
132
|
-
- test/dummy/public/422.html
|
|
133
|
-
- test/dummy/public/500.html
|
|
134
|
-
- test/dummy/public/favicon.ico
|
|
135
|
-
- test/dummy/Rakefile
|
|
136
|
-
- test/dummy/README.rdoc
|
|
137
|
-
- test/openlab_ruby_test.rb
|
|
180
|
+
- test/dummy/config/routes.rb
|
|
138
181
|
- test/test_helper.rb
|
|
139
|
-
has_rdoc:
|
data/README.rdoc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
This project rocks and uses MIT-LICENSE.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# SQLite version 3.x
|
|
2
|
-
# gem install sqlite3
|
|
3
|
-
#
|
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
5
|
-
# gem 'sqlite3'
|
|
6
|
-
#
|
|
7
|
-
default: &default
|
|
8
|
-
adapter: sqlite3
|
|
9
|
-
pool: 5
|
|
10
|
-
timeout: 5000
|
|
11
|
-
|
|
12
|
-
development:
|
|
13
|
-
<<: *default
|
|
14
|
-
database: db/development.sqlite3
|
|
15
|
-
|
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
|
17
|
-
# re-generated from your development database when you run "rake".
|
|
18
|
-
# Do not set this db to the same as development or production.
|
|
19
|
-
test:
|
|
20
|
-
<<: *default
|
|
21
|
-
database: db/test.sqlite3
|
|
22
|
-
|
|
23
|
-
production:
|
|
24
|
-
<<: *default
|
|
25
|
-
database: db/production.sqlite3
|