haveapi-fs 0.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.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +1 -0
  3. data/CHANGELOG +2 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +338 -0
  7. data/Rakefile +1 -0
  8. data/assets/css/bootstrap.min.css +6 -0
  9. data/assets/css/local.css +11 -0
  10. data/bin/haveapi-fs +5 -0
  11. data/haveapi-fs.gemspec +30 -0
  12. data/lib/core_ext/string.rb +9 -0
  13. data/lib/haveapi/fs/auth/base.rb +56 -0
  14. data/lib/haveapi/fs/auth/basic.rb +29 -0
  15. data/lib/haveapi/fs/auth/noauth.rb +9 -0
  16. data/lib/haveapi/fs/auth/token.rb +39 -0
  17. data/lib/haveapi/fs/cache.rb +71 -0
  18. data/lib/haveapi/fs/cleaner.rb +56 -0
  19. data/lib/haveapi/fs/component.rb +237 -0
  20. data/lib/haveapi/fs/components/action_dir.rb +106 -0
  21. data/lib/haveapi/fs/components/action_errors.rb +49 -0
  22. data/lib/haveapi/fs/components/action_exec.rb +12 -0
  23. data/lib/haveapi/fs/components/action_exec_edit.rb +90 -0
  24. data/lib/haveapi/fs/components/action_input.rb +40 -0
  25. data/lib/haveapi/fs/components/action_message.rb +19 -0
  26. data/lib/haveapi/fs/components/action_output.rb +79 -0
  27. data/lib/haveapi/fs/components/action_status.rb +32 -0
  28. data/lib/haveapi/fs/components/cache_stats.rb +19 -0
  29. data/lib/haveapi/fs/components/component_list.rb +24 -0
  30. data/lib/haveapi/fs/components/create_action_dir.rb +15 -0
  31. data/lib/haveapi/fs/components/delete_action_dir.rb +22 -0
  32. data/lib/haveapi/fs/components/directory.rb +45 -0
  33. data/lib/haveapi/fs/components/directory_reset.rb +8 -0
  34. data/lib/haveapi/fs/components/executable.rb +75 -0
  35. data/lib/haveapi/fs/components/file.rb +43 -0
  36. data/lib/haveapi/fs/components/groff_help_file.rb +9 -0
  37. data/lib/haveapi/fs/components/help_file.rb +28 -0
  38. data/lib/haveapi/fs/components/html_help_file.rb +24 -0
  39. data/lib/haveapi/fs/components/index_filter.rb +63 -0
  40. data/lib/haveapi/fs/components/info_files.rb +19 -0
  41. data/lib/haveapi/fs/components/instance_create.rb +20 -0
  42. data/lib/haveapi/fs/components/instance_edit.rb +49 -0
  43. data/lib/haveapi/fs/components/list_item.rb +28 -0
  44. data/lib/haveapi/fs/components/md_help_file.rb +24 -0
  45. data/lib/haveapi/fs/components/meta_dir.rb +42 -0
  46. data/lib/haveapi/fs/components/meta_file.rb +21 -0
  47. data/lib/haveapi/fs/components/parameter.rb +132 -0
  48. data/lib/haveapi/fs/components/pry.rb +9 -0
  49. data/lib/haveapi/fs/components/remote_control_file.rb +92 -0
  50. data/lib/haveapi/fs/components/resource_action_dir.rb +72 -0
  51. data/lib/haveapi/fs/components/resource_dir.rb +161 -0
  52. data/lib/haveapi/fs/components/resource_id.rb +15 -0
  53. data/lib/haveapi/fs/components/resource_instance_dir.rb +146 -0
  54. data/lib/haveapi/fs/components/rfuse_check.rb +3 -0
  55. data/lib/haveapi/fs/components/root.rb +75 -0
  56. data/lib/haveapi/fs/components/save_instance.rb +11 -0
  57. data/lib/haveapi/fs/components/unsaved_list.rb +24 -0
  58. data/lib/haveapi/fs/components/update_action_dir.rb +31 -0
  59. data/lib/haveapi/fs/context.rb +43 -0
  60. data/lib/haveapi/fs/exceptions.rb +0 -0
  61. data/lib/haveapi/fs/factory.rb +59 -0
  62. data/lib/haveapi/fs/fs.rb +198 -0
  63. data/lib/haveapi/fs/help.rb +91 -0
  64. data/lib/haveapi/fs/main.rb +134 -0
  65. data/lib/haveapi/fs/remote_control.rb +29 -0
  66. data/lib/haveapi/fs/version.rb +5 -0
  67. data/lib/haveapi/fs/worker.rb +77 -0
  68. data/lib/haveapi/fs.rb +65 -0
  69. data/templates/help/html/action_dir.erb +33 -0
  70. data/templates/help/html/action_errors.erb +4 -0
  71. data/templates/help/html/action_input.erb +40 -0
  72. data/templates/help/html/action_output.erb +21 -0
  73. data/templates/help/html/index_filter.erb +16 -0
  74. data/templates/help/html/layout.erb +45 -0
  75. data/templates/help/html/resource_action_dir.erb +18 -0
  76. data/templates/help/html/resource_dir.erb +18 -0
  77. data/templates/help/html/resource_instance_dir.erb +64 -0
  78. data/templates/help/html/root.erb +42 -0
  79. data/templates/help/md/action_dir.erb +29 -0
  80. data/templates/help/md/action_errors.erb +2 -0
  81. data/templates/help/md/action_input.erb +23 -0
  82. data/templates/help/md/action_output.erb +11 -0
  83. data/templates/help/md/index_filter.erb +11 -0
  84. data/templates/help/md/layout.erb +14 -0
  85. data/templates/help/md/resource_action_dir.erb +10 -0
  86. data/templates/help/md/resource_dir.erb +15 -0
  87. data/templates/help/md/resource_instance_dir.erb +42 -0
  88. data/templates/help/md/root.erb +34 -0
  89. metadata +231 -0
metadata ADDED
@@ -0,0 +1,231 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: haveapi-fs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jakub Skokan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
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: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.10.3
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.10.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: rfusefs
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.3
69
+ - !ruby/object:Gem::Dependency
70
+ name: haveapi-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 0.5.4
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 0.5.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: md2man
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 5.1.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 5.1.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: highline
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 1.7.8
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 1.7.8
111
+ description: Mount any HaveAPI based API as a filesystem based on FUSE
112
+ email:
113
+ - jakub.skokan@vpsfree.cz
114
+ executables:
115
+ - haveapi-fs
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - .yardopts
120
+ - CHANGELOG
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - assets/css/bootstrap.min.css
126
+ - assets/css/local.css
127
+ - bin/haveapi-fs
128
+ - haveapi-fs.gemspec
129
+ - lib/core_ext/string.rb
130
+ - lib/haveapi/fs.rb
131
+ - lib/haveapi/fs/auth/base.rb
132
+ - lib/haveapi/fs/auth/basic.rb
133
+ - lib/haveapi/fs/auth/noauth.rb
134
+ - lib/haveapi/fs/auth/token.rb
135
+ - lib/haveapi/fs/cache.rb
136
+ - lib/haveapi/fs/cleaner.rb
137
+ - lib/haveapi/fs/component.rb
138
+ - lib/haveapi/fs/components/action_dir.rb
139
+ - lib/haveapi/fs/components/action_errors.rb
140
+ - lib/haveapi/fs/components/action_exec.rb
141
+ - lib/haveapi/fs/components/action_exec_edit.rb
142
+ - lib/haveapi/fs/components/action_input.rb
143
+ - lib/haveapi/fs/components/action_message.rb
144
+ - lib/haveapi/fs/components/action_output.rb
145
+ - lib/haveapi/fs/components/action_status.rb
146
+ - lib/haveapi/fs/components/cache_stats.rb
147
+ - lib/haveapi/fs/components/component_list.rb
148
+ - lib/haveapi/fs/components/create_action_dir.rb
149
+ - lib/haveapi/fs/components/delete_action_dir.rb
150
+ - lib/haveapi/fs/components/directory.rb
151
+ - lib/haveapi/fs/components/directory_reset.rb
152
+ - lib/haveapi/fs/components/executable.rb
153
+ - lib/haveapi/fs/components/file.rb
154
+ - lib/haveapi/fs/components/groff_help_file.rb
155
+ - lib/haveapi/fs/components/help_file.rb
156
+ - lib/haveapi/fs/components/html_help_file.rb
157
+ - lib/haveapi/fs/components/index_filter.rb
158
+ - lib/haveapi/fs/components/info_files.rb
159
+ - lib/haveapi/fs/components/instance_create.rb
160
+ - lib/haveapi/fs/components/instance_edit.rb
161
+ - lib/haveapi/fs/components/list_item.rb
162
+ - lib/haveapi/fs/components/md_help_file.rb
163
+ - lib/haveapi/fs/components/meta_dir.rb
164
+ - lib/haveapi/fs/components/meta_file.rb
165
+ - lib/haveapi/fs/components/parameter.rb
166
+ - lib/haveapi/fs/components/pry.rb
167
+ - lib/haveapi/fs/components/remote_control_file.rb
168
+ - lib/haveapi/fs/components/resource_action_dir.rb
169
+ - lib/haveapi/fs/components/resource_dir.rb
170
+ - lib/haveapi/fs/components/resource_id.rb
171
+ - lib/haveapi/fs/components/resource_instance_dir.rb
172
+ - lib/haveapi/fs/components/rfuse_check.rb
173
+ - lib/haveapi/fs/components/root.rb
174
+ - lib/haveapi/fs/components/save_instance.rb
175
+ - lib/haveapi/fs/components/unsaved_list.rb
176
+ - lib/haveapi/fs/components/update_action_dir.rb
177
+ - lib/haveapi/fs/context.rb
178
+ - lib/haveapi/fs/exceptions.rb
179
+ - lib/haveapi/fs/factory.rb
180
+ - lib/haveapi/fs/fs.rb
181
+ - lib/haveapi/fs/help.rb
182
+ - lib/haveapi/fs/main.rb
183
+ - lib/haveapi/fs/remote_control.rb
184
+ - lib/haveapi/fs/version.rb
185
+ - lib/haveapi/fs/worker.rb
186
+ - templates/help/html/action_dir.erb
187
+ - templates/help/html/action_errors.erb
188
+ - templates/help/html/action_input.erb
189
+ - templates/help/html/action_output.erb
190
+ - templates/help/html/index_filter.erb
191
+ - templates/help/html/layout.erb
192
+ - templates/help/html/resource_action_dir.erb
193
+ - templates/help/html/resource_dir.erb
194
+ - templates/help/html/resource_instance_dir.erb
195
+ - templates/help/html/root.erb
196
+ - templates/help/md/action_dir.erb
197
+ - templates/help/md/action_errors.erb
198
+ - templates/help/md/action_input.erb
199
+ - templates/help/md/action_output.erb
200
+ - templates/help/md/index_filter.erb
201
+ - templates/help/md/layout.erb
202
+ - templates/help/md/resource_action_dir.erb
203
+ - templates/help/md/resource_dir.erb
204
+ - templates/help/md/resource_instance_dir.erb
205
+ - templates/help/md/root.erb
206
+ homepage: ''
207
+ licenses:
208
+ - MIT
209
+ metadata: {}
210
+ post_install_message:
211
+ rdoc_options: []
212
+ require_paths:
213
+ - lib
214
+ required_ruby_version: !ruby/object:Gem::Requirement
215
+ requirements:
216
+ - - '>='
217
+ - !ruby/object:Gem::Version
218
+ version: '0'
219
+ required_rubygems_version: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - '>='
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ requirements: []
225
+ rubyforge_project:
226
+ rubygems_version: 2.2.5
227
+ signing_key:
228
+ specification_version: 4
229
+ summary: Mount any HaveAPI based API as a filesystem based on FUSE
230
+ test_files: []
231
+ has_rdoc: