coral_core 0.1.2
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.
- data/.document +5 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +37 -0
- data/LICENSE.txt +674 -0
- data/README.rdoc +33 -0
- data/Rakefile +77 -0
- data/VERSION +1 -0
- data/lib/coral_core/command.rb +236 -0
- data/lib/coral_core/core.rb +200 -0
- data/lib/coral_core/event/regexp_event.rb +55 -0
- data/lib/coral_core/event.rb +168 -0
- data/lib/coral_core/interface.rb +179 -0
- data/lib/coral_core/memory.rb +222 -0
- data/lib/coral_core/repository.rb +156 -0
- data/lib/coral_core/util/data.rb +59 -0
- data/lib/coral_core/util/disk.rb +82 -0
- data/lib/coral_core/util/git/base.rb +58 -0
- data/lib/coral_core/util/git/lib.rb +82 -0
- data/lib/coral_core/util/git/remote.rb +12 -0
- data/lib/coral_core/util/git.rb +15 -0
- data/lib/coral_core/util/shell.rb +178 -0
- data/lib/coral_core.rb +49 -0
- data/spec/coral_core/interface_spec.rb +489 -0
- data/spec/coral_mock_input.rb +29 -0
- data/spec/coral_test_kernel.rb +22 -0
- data/spec/spec_helper.rb +15 -0
- metadata +251 -0
metadata
ADDED
@@ -0,0 +1,251 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: coral_core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Adrian Webb
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2013-02-07 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: git
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - "="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 21
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 2
|
32
|
+
- 5
|
33
|
+
version: 1.2.5
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: json
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 1
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 7
|
48
|
+
version: "1.7"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: log4r
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 13
|
60
|
+
segments:
|
61
|
+
- 1
|
62
|
+
- 1
|
63
|
+
version: "1.1"
|
64
|
+
type: :runtime
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: bundler
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ~>
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 11
|
75
|
+
segments:
|
76
|
+
- 1
|
77
|
+
- 2
|
78
|
+
version: "1.2"
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: jeweler
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 31
|
90
|
+
segments:
|
91
|
+
- 1
|
92
|
+
- 8
|
93
|
+
version: "1.8"
|
94
|
+
type: :development
|
95
|
+
version_requirements: *id005
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rspec
|
98
|
+
prerelease: false
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 23
|
105
|
+
segments:
|
106
|
+
- 2
|
107
|
+
- 10
|
108
|
+
version: "2.10"
|
109
|
+
type: :development
|
110
|
+
version_requirements: *id006
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rdoc
|
113
|
+
prerelease: false
|
114
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
hash: 31
|
120
|
+
segments:
|
121
|
+
- 3
|
122
|
+
- 12
|
123
|
+
version: "3.12"
|
124
|
+
type: :development
|
125
|
+
version_requirements: *id007
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: yard
|
128
|
+
prerelease: false
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ~>
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
hash: 27
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
- 8
|
138
|
+
version: "0.8"
|
139
|
+
type: :development
|
140
|
+
version_requirements: *id008
|
141
|
+
description: |-
|
142
|
+
= coral_core
|
143
|
+
|
144
|
+
This library provides core data elements and utilities used in other Coral gems.
|
145
|
+
|
146
|
+
The Coral core library contains functionality that is utilized by other
|
147
|
+
Coral gems by providing basic utilities like Git, Shell, Disk, and Data
|
148
|
+
manipulation libraries, a UI system, and a core data model that supports
|
149
|
+
Events, Commands, Repositories, and Memory (version controlled JSON
|
150
|
+
objects). This library is only used as a starting point for other systems.
|
151
|
+
|
152
|
+
Note: This library is still very early in development!
|
153
|
+
|
154
|
+
== Contributing to coral_core
|
155
|
+
|
156
|
+
* Check out the latest master to make sure the feature hasn't been implemented
|
157
|
+
or the bug hasn't been fixed yet.
|
158
|
+
* Check out the issue tracker to make sure someone already hasn't requested
|
159
|
+
it and/or contributed it.
|
160
|
+
* Fork the project.
|
161
|
+
* Start a feature/bugfix branch.
|
162
|
+
* Commit and push until you are happy with your contribution.
|
163
|
+
* Make sure to add tests for it. This is important so I don't break it in a
|
164
|
+
future version unintentionally.
|
165
|
+
* Please try not to mess with the Rakefile, version, or history. If you want
|
166
|
+
to have your own version, or is otherwise necessary, that is fine, but
|
167
|
+
please isolate to its own commit so I can cherry-pick around it.
|
168
|
+
|
169
|
+
== Copyright
|
170
|
+
|
171
|
+
Licensed under GPLv3. See LICENSE.txt for further details.
|
172
|
+
|
173
|
+
Copyright (c) 2013 Adrian Webb <adrian.webb@coraltech.net>
|
174
|
+
Coral Technology Group LLC
|
175
|
+
email: adrian.webb@coraltech.net
|
176
|
+
executables: []
|
177
|
+
|
178
|
+
extensions: []
|
179
|
+
|
180
|
+
extra_rdoc_files:
|
181
|
+
- LICENSE.txt
|
182
|
+
- README.rdoc
|
183
|
+
files:
|
184
|
+
- .document
|
185
|
+
- Gemfile
|
186
|
+
- Gemfile.lock
|
187
|
+
- LICENSE.txt
|
188
|
+
- README.rdoc
|
189
|
+
- Rakefile
|
190
|
+
- VERSION
|
191
|
+
- lib/coral_core.rb
|
192
|
+
- lib/coral_core/command.rb
|
193
|
+
- lib/coral_core/core.rb
|
194
|
+
- lib/coral_core/event.rb
|
195
|
+
- lib/coral_core/event/regexp_event.rb
|
196
|
+
- lib/coral_core/interface.rb
|
197
|
+
- lib/coral_core/memory.rb
|
198
|
+
- lib/coral_core/repository.rb
|
199
|
+
- lib/coral_core/util/data.rb
|
200
|
+
- lib/coral_core/util/disk.rb
|
201
|
+
- lib/coral_core/util/git.rb
|
202
|
+
- lib/coral_core/util/git/base.rb
|
203
|
+
- lib/coral_core/util/git/lib.rb
|
204
|
+
- lib/coral_core/util/git/remote.rb
|
205
|
+
- lib/coral_core/util/shell.rb
|
206
|
+
- spec/coral_core/interface_spec.rb
|
207
|
+
- spec/coral_mock_input.rb
|
208
|
+
- spec/coral_test_kernel.rb
|
209
|
+
- spec/spec_helper.rb
|
210
|
+
homepage: http://github.com/coraltech/ruby-coral_core
|
211
|
+
licenses:
|
212
|
+
- GPLv3
|
213
|
+
post_install_message:
|
214
|
+
rdoc_options:
|
215
|
+
- --title
|
216
|
+
- Coral Core library
|
217
|
+
- --main
|
218
|
+
- README.rdoc
|
219
|
+
- --line-numbers
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
hash: 53
|
228
|
+
segments:
|
229
|
+
- 1
|
230
|
+
- 8
|
231
|
+
- 1
|
232
|
+
version: 1.8.1
|
233
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
|
+
none: false
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
hash: 3
|
239
|
+
segments:
|
240
|
+
- 0
|
241
|
+
version: "0"
|
242
|
+
requirements: []
|
243
|
+
|
244
|
+
rubyforge_project: coral_core
|
245
|
+
rubygems_version: 1.8.15
|
246
|
+
signing_key:
|
247
|
+
specification_version: 3
|
248
|
+
summary: Provides core data elements and utilities used in other Coral gems
|
249
|
+
test_files: []
|
250
|
+
|
251
|
+
has_rdoc:
|