flex-sdk 0.3.5 → 0.4.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.
- data/README.markdown +9 -3
- data/VERSION +1 -1
- data/bin/flex-sdk-copylocale +9 -0
- data/flex-sdk.gemspec +3 -2
- data/lib/flex-sdk.rb +1 -1
- metadata +6 -4
data/README.markdown
CHANGED
@@ -43,11 +43,11 @@ It could also probably be put in a "build" group. This would mean that Rails won
|
|
43
43
|
|
44
44
|
To download and unzip the Flex SDK from Adobe site, into vendor/ in this Gem
|
45
45
|
|
46
|
-
|
46
|
+
bundle exec flex-sdk-prime
|
47
47
|
|
48
48
|
Report the installation path of the Flex SDK
|
49
49
|
|
50
|
-
|
50
|
+
bundle exec flex-sdk-path
|
51
51
|
|
52
52
|
|
53
53
|
## Upgrading the SDK version used in this Gem
|
@@ -66,10 +66,16 @@ Release
|
|
66
66
|
|
67
67
|
## Copylocale
|
68
68
|
|
69
|
-
Once the SDK is downloaded, unzipped and copied in, this project (flex-sdk) has a method to do the copylocale thing
|
69
|
+
Once the SDK is downloaded, unzipped and copied in, this project (flex-sdk) has a method to do the copylocale thing.
|
70
|
+
|
71
|
+
In Ruby:
|
70
72
|
|
71
73
|
flexsdk.copylocale(config)
|
72
74
|
|
75
|
+
In Bash:
|
76
|
+
|
77
|
+
bundle exec flex-sdk-copylocale
|
78
|
+
|
73
79
|
In the old money, this is the same as doing:
|
74
80
|
|
75
81
|
(Old way) bin/copylocale en_US en_NZ
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib')) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__) + '/../lib'))
|
4
|
+
require 'flex-sdk'
|
5
|
+
|
6
|
+
flexsdk = FlexSDK.new
|
7
|
+
config = flexsdk.config
|
8
|
+
|
9
|
+
flexsdk.copylocale(config)
|
data/flex-sdk.gemspec
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{flex-sdk}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jonathan Hoskin"]
|
12
12
|
s.date = %q{2010-11-03}
|
13
13
|
s.description = %q{Flex SDK Gem for redistribution to build servers and developers}
|
14
14
|
s.email = %q{jonathan.hoskin@visfleet.com}
|
15
|
-
s.executables = ["flex-sdk-path", "flex-sdk-prime"]
|
15
|
+
s.executables = ["flex-sdk-copylocale", "flex-sdk-path", "flex-sdk-prime"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
18
18
|
"README.markdown"
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
"README.markdown",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
+
"bin/flex-sdk-copylocale",
|
27
28
|
"bin/flex-sdk-path",
|
28
29
|
"bin/flex-sdk-prime",
|
29
30
|
"config.yml",
|
data/lib/flex-sdk.rb
CHANGED
@@ -71,7 +71,7 @@ class FlexSDK
|
|
71
71
|
# Perform the copylocale step
|
72
72
|
def copylocale(config)
|
73
73
|
sdk_name = config["sdk_dir"]
|
74
|
-
|
74
|
+
`#{sdk_dir}/bin/copylocale en_US en_NZ`
|
75
75
|
unless $?.to_i != 0
|
76
76
|
puts "INFO: Process copylocale completed successfully"
|
77
77
|
else
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Hoskin
|
@@ -35,6 +35,7 @@ dependencies:
|
|
35
35
|
description: Flex SDK Gem for redistribution to build servers and developers
|
36
36
|
email: jonathan.hoskin@visfleet.com
|
37
37
|
executables:
|
38
|
+
- flex-sdk-copylocale
|
38
39
|
- flex-sdk-path
|
39
40
|
- flex-sdk-prime
|
40
41
|
extensions: []
|
@@ -49,6 +50,7 @@ files:
|
|
49
50
|
- README.markdown
|
50
51
|
- Rakefile
|
51
52
|
- VERSION
|
53
|
+
- bin/flex-sdk-copylocale
|
52
54
|
- bin/flex-sdk-path
|
53
55
|
- bin/flex-sdk-prime
|
54
56
|
- config.yml
|