Skip to content

Commit

Permalink
Changes all none-filename mentions of SwiftSuspenders to `Swiftsusp…
Browse files Browse the repository at this point in the history
…enders`, without the camel bump
  • Loading branch information
tschneidereit committed Dec 23, 2011
1 parent adbd3d9 commit 595c845
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build.properties
Expand Up @@ -6,9 +6,9 @@
#

#Properties file for build.xml
project.name=SwiftSuspenders
project.name=Swiftsuspenders

#Version number for current Robotlegs and SwiftSuspenders releases
#Version number for current Robotlegs and Swiftsuspenders releases
swift.suspenders.version=v2.0.0b1
project.name.versioned=${project.name}-${swift.suspenders.version}

Expand Down
2 changes: 1 addition & 1 deletion build/templates/README.tmpl
Expand Up @@ -9,7 +9,7 @@ external libraries) and you will have access to the fully functioning framework.

BUILDING
In addition to the SWC file in this distribution package, the Robotlegs AS3 Micro-Architecture v@rlversion@ source code
is also provided. This source code is dependent on the SwiftSuspenders @ssversion@ library to function properly.
is also provided. This source code is dependent on the Swiftsuspenders @ssversion@ library to function properly.
This library can be found at: @sslink@

If you would prefer to build from the source, it is highly recommended that you download the Robotlegs AS3 Micro-Architecture
Expand Down
2 changes: 1 addition & 1 deletion buildfile
Expand Up @@ -14,7 +14,7 @@ layout[:source, :test, :as3] = "test"

THIS_VERSION = "2.0.0b1-SNAPSHOT"

define "SwiftSuspenders", :layout => layout do
define "Swiftsuspenders", :layout => layout do

project.group = "org.swiftsuspenders"
project.version = THIS_VERSION
Expand Down
13 changes: 10 additions & 3 deletions pom.xml
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2011 the original author or authors
~
~ Permission is hereby granted to use, modify, and distribute this file
~ in accordance with the terms of the license agreement accompanying it.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Expand All @@ -11,22 +18,22 @@

<modelVersion>4.0.0</modelVersion>
<groupId>org.swiftsuspenders</groupId>
<artifactId>SwiftSuspenders</artifactId>
<artifactId>swiftsuspenders</artifactId>

<version>2.0.0-b1-SNAPSHOT</version>

<packaging>swc</packaging>

<name>Swift Suspenders</name>
<description>
SwiftSuspenders is a basic metadata driven IOC (Inversion Of Control) solution for AS3. In its basic approach, it is similar to the SmartyPants IOC framework by Josh McDonald, but it differs from SmartyPants in two respects: It is inferior in capabilities and it is quite somewhat faster.
Swiftsuspenders is a fast and light-weight IoC container for AS3

Its main Raison d’être is supporting the very nice Robotlegs AS3 MCVS framework by Shaun Smith – hence the name.
</description>
<url>https://github.com/tschneidereit/SwiftSuspenders</url>
<licenses>
<license>
<name>SwiftSuspenders Custom License</name>
<name>Swiftsuspenders Custom License</name>
<url>https://github.com/tschneidereit/SwiftSuspenders/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
Expand Down
2 changes: 1 addition & 1 deletion src/org/swiftsuspenders/DescribeTypeReflector.as
Expand Up @@ -225,7 +225,7 @@ package org.swiftsuspenders
trace('Exception caught while trying to create dummy instance for constructor ' +
'injection. It\'s almost certainly ok to ignore this exception, but you ' +
'might want to restructure your constructor to prevent errors from ' +
'happening. See the SwiftSuspenders documentation for more details. ' +
'happening. See the Swiftsuspenders documentation for more details. ' +
'The caught exception was:\n' + error);
}
constructorNode.setChildren(describeType(clazz).factory.constructor[0].children());
Expand Down
7 changes: 4 additions & 3 deletions src/org/swiftsuspenders/utils/getConstructor.as
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2011 the original author or authors
* Copyright (c) 2011 the original author or authors
*
* Permission is hereby granted to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
Expand All @@ -20,9 +20,10 @@ package org.swiftsuspenders.utils
For these, we have to fall back to more verbose ways of getting the constructor.
Additionally, Vector instances always return Vector.<*> when queried for their constructor.
Ideally, that would also be resolved, but the SwiftSuspenders wouldn't be compatible with
Flash Player < 10, anymore.
Ideally, that would also be resolved, but then Swiftsuspenders wouldn't be compatible
with Flash Player < 10, anymore.
*/
//TODO: enable Vector type checking, we don't support FP 9, anymore
if (value is Proxy || value is Number || value is XML || value is XMLList)
{
return Class(getDefinitionByName(getQualifiedClassName(value)));
Expand Down

0 comments on commit 595c845

Please sign in to comment.