daisybill_api_internal 0.1.7
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 +7 -0
- data/.gitignore +9 -0
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/README.md +15 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/daisybill_api_internal.gemspec +25 -0
- data/lib/daisybill_api/models/clearinghouse.rb +38 -0
- data/lib/daisybill_api_internal.rb +5 -0
- data/lib/daisybill_api_internal/version.rb +3 -0
- metadata +97 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5c4cc6c91e3a8e4ba0a2610548276fc38fa0f2b040c0c79c6b3acb9c40d5f0bb
|
4
|
+
data.tar.gz: 47970836842bd4cf7b313c687f8c18798b5a43f4e1cc119590a99bcfbc4670f1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1db585e65653fe5c7c896339e8ce9cf29dd4e4b8401bce801eb2b74716caf6c60b53f257eb2b3e35158d012d4fc8b37beb7dc25541bfd3cbe59d03f4dc2ff04c
|
7
|
+
data.tar.gz: a64aa62dd6a297f70e49d6961b93c7be2527324f2b1cd5a4a62e00967ebe21b312cd8b28426b7e64aa0aaeeed4306fc780f9a893dcde52178965d3fd79258dc8
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.5.3
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# DaisybillApiInternal
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this line to your application's Gemfile:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem "daisybill_api_internal"
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
This gem extends the DaisybillApi to provide access to admin endpoints.
|
13
|
+
|
14
|
+
## Development
|
15
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "daisybill_api_internal"
|
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,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'daisybill_api_internal/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "daisybill_api_internal"
|
8
|
+
spec.version = DaisybillApiInternal::VERSION
|
9
|
+
spec.authors = ["Ben Liscio"]
|
10
|
+
spec.email = ["bliscio@daisybill.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Access to internal DaisybillApi endpoints}
|
13
|
+
spec.description = %q{Access to internal DaisybillApi endpoints}
|
14
|
+
spec.homepage = "https://github.com/daisybill/daisybill_api_internal"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency "daisybill_api", "~> 0.1"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module DaisybillApi
|
2
|
+
module Models
|
3
|
+
class Clearinghouse < DaisybillApi::Models::Base
|
4
|
+
class << self
|
5
|
+
def show_path(id)
|
6
|
+
"/admin/#{path}/#{id}"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
rest_actions :index, :show
|
11
|
+
path_prefix '/admin', :admin
|
12
|
+
|
13
|
+
attributes(
|
14
|
+
id: :integer,
|
15
|
+
identifier: :string,
|
16
|
+
long_name: :string,
|
17
|
+
short_name: :string,
|
18
|
+
standards_identifier: :string,
|
19
|
+
composite_separator: :string,
|
20
|
+
disabled: :boolean,
|
21
|
+
port: :integer,
|
22
|
+
host: :string,
|
23
|
+
globs: :string,
|
24
|
+
attachments_path: :string,
|
25
|
+
uploads_path: :string,
|
26
|
+
downloads_path: :string,
|
27
|
+
ftp_user: :string,
|
28
|
+
ftp_scheme: :string,
|
29
|
+
use_proxy: :boolean,
|
30
|
+
institutional_uploads_path: :string,
|
31
|
+
institutional_downloads_path: :string,
|
32
|
+
download_patterns: [:hash],
|
33
|
+
password: :string,
|
34
|
+
readonly: true
|
35
|
+
)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: daisybill_api_internal
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.7
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Liscio
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: daisybill_api
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description: Access to internal DaisybillApi endpoints
|
56
|
+
email:
|
57
|
+
- bliscio@daisybill.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".ruby-version"
|
64
|
+
- ".travis.yml"
|
65
|
+
- Gemfile
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bin/console
|
69
|
+
- bin/setup
|
70
|
+
- daisybill_api_internal.gemspec
|
71
|
+
- lib/daisybill_api/models/clearinghouse.rb
|
72
|
+
- lib/daisybill_api_internal.rb
|
73
|
+
- lib/daisybill_api_internal/version.rb
|
74
|
+
homepage: https://github.com/daisybill/daisybill_api_internal
|
75
|
+
licenses: []
|
76
|
+
metadata: {}
|
77
|
+
post_install_message:
|
78
|
+
rdoc_options: []
|
79
|
+
require_paths:
|
80
|
+
- lib
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
requirements: []
|
92
|
+
rubyforge_project:
|
93
|
+
rubygems_version: 2.7.6
|
94
|
+
signing_key:
|
95
|
+
specification_version: 4
|
96
|
+
summary: Access to internal DaisybillApi endpoints
|
97
|
+
test_files: []
|