semilla 0.0.5 → 0.0.6
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/lib/semilla/flash_player.rb +11 -0
- data/lib/semilla/test.rb +1 -1
- data/lib/semilla/version.rb +1 -1
- metadata +3 -3
data/lib/semilla/flash_player.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require_relative "platform"
|
2
|
+
require 'flashsdk'
|
2
3
|
|
3
4
|
module Semilla
|
4
5
|
|
@@ -17,5 +18,15 @@ module Semilla
|
|
17
18
|
return %x[#{command}]
|
18
19
|
|
19
20
|
end
|
21
|
+
|
22
|
+
def self.get_player
|
23
|
+
#Use the flash player info found in the Environment Variable if defined.
|
24
|
+
return ENV['FLASH_PLAYER'] unless ENV['FLASH_PLAYER'].nil?
|
25
|
+
|
26
|
+
#Else use the flash player provided byu Sprout
|
27
|
+
return Sprout::Executable.load(:flashplayer,
|
28
|
+
FlashPlayer::NAME,
|
29
|
+
FlashPlayer::VERSION).path
|
30
|
+
end
|
20
31
|
|
21
32
|
end
|
data/lib/semilla/test.rb
CHANGED
data/lib/semilla/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semilla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: flashsdk
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156286760 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.1.0.pre
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156286760
|
25
25
|
description: ! 'Rake tasks for executing flex unit 4 tests.
|
26
26
|
|
27
27
|
It should be used in addition to the sprout gem.
|