myobie-turbine-core 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/{ext.rb → turbine-core/ext.rb} +0 -0
- data/lib/{importers → turbine-core/importers}/json_importer.rb +0 -0
- data/lib/{importers → turbine-core/importers}/text_importer.rb +0 -0
- data/lib/{post_type.rb → turbine-core/post_type.rb} +0 -0
- data/lib/{types → turbine-core/types}/article.rb +0 -0
- data/lib/{types → turbine-core/types}/audio.rb +0 -0
- data/lib/{types → turbine-core/types}/chat.rb +0 -0
- data/lib/{types → turbine-core/types}/link.rb +0 -0
- data/lib/{types → turbine-core/types}/photo.rb +0 -0
- data/lib/{types → turbine-core/types}/quote.rb +0 -0
- data/lib/{types → turbine-core/types}/review.rb +0 -0
- data/lib/{types → turbine-core/types}/video.rb +0 -0
- data/lib/turbine-core.rb +8 -0
- data/spec/spec_helper.rb +1 -1
- metadata +14 -13
data/VERSION.yml
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/turbine-core.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'extlib'
|
3
|
+
|
4
|
+
include FileUtils
|
5
|
+
|
6
|
+
%w( ext importers/json_importer importers/text_importer post_type types/article types/audio types/chat types/link types/photo types/quote types/review types/video ).each do |file|
|
7
|
+
require "#{File.dirname(__FILE__)}/turbine-core/#{file}.rb"
|
8
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
require 'bacon'
|
3
3
|
require 'mocha'
|
4
4
|
|
5
|
-
require File.expand_path(File.join(__FILE__.split('/spec').first, 'turbine-core.rb'))
|
5
|
+
require File.expand_path(File.join(__FILE__.split('/spec').first, 'lib/turbine-core.rb'))
|
6
6
|
|
7
7
|
PostType.preferred_order = [Video, Audio, Photo, Chat, Review, Link, Quote, Article]
|
8
8
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myobie-turbine-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Herald
|
@@ -24,18 +24,19 @@ extra_rdoc_files:
|
|
24
24
|
files:
|
25
25
|
- Rakefile
|
26
26
|
- VERSION.yml
|
27
|
-
- lib/
|
28
|
-
- lib/
|
29
|
-
- lib/importers/
|
30
|
-
- lib/
|
31
|
-
- lib/
|
32
|
-
- lib/types/
|
33
|
-
- lib/types/
|
34
|
-
- lib/types/
|
35
|
-
- lib/types/
|
36
|
-
- lib/types/
|
37
|
-
- lib/types/
|
38
|
-
- lib/types/
|
27
|
+
- lib/turbine-core.rb
|
28
|
+
- lib/turbine-core/ext.rb
|
29
|
+
- lib/turbine-core/importers/json_importer.rb
|
30
|
+
- lib/turbine-core/importers/text_importer.rb
|
31
|
+
- lib/turbine-core/post_type.rb
|
32
|
+
- lib/turbine-core/types/article.rb
|
33
|
+
- lib/turbine-core/types/audio.rb
|
34
|
+
- lib/turbine-core/types/chat.rb
|
35
|
+
- lib/turbine-core/types/link.rb
|
36
|
+
- lib/turbine-core/types/photo.rb
|
37
|
+
- lib/turbine-core/types/quote.rb
|
38
|
+
- lib/turbine-core/types/review.rb
|
39
|
+
- lib/turbine-core/types/video.rb
|
39
40
|
- spec/post_type_spec.rb
|
40
41
|
- spec/post_types/chat_spec.rb
|
41
42
|
- spec/post_types/link_spec.rb
|