Skip to content
Browse files

add docs and gemspec

  • Loading branch information...
1 parent 915278b commit 584c7763fbcf7633545cf7ee735e7bebc3e3b538 @siuying committed May 24, 2012
Showing with 364 additions and 287 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 Gemfile
  3. +48 −1 README.md
  4. +8 −2 Rakefile
  5. +12 −11 lib/wakizashi.rb
  6. +273 −273 vendor/Pods/Pods.xcodeproj/project.pbxproj
  7. +18 −0 wakizashi.gemspec
View
1 .gitignore
@@ -1,4 +1,5 @@
.repl_history
+Gemfile.lock
build
resources/*.nib
resources/*.momd
View
4 Gemfile
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+# Specify your gem's dependencies in gemspec
+gemspec
View
49 README.md
@@ -4,4 +4,51 @@ HTML/XML parser for RubyMotion, based on [GDataXML-HTML](https://github.com/grae
Goal: Nokogiri style interface HTML parsing and building for RubyMotion.
-Status: bootstraping
+Status: basic search, read and write working
+
+## Install
+
+Install the gem
+
+``` ruby
+gem install wakizashi
+```
+
+Add the gem to your RubyMotion Rakefile
+
+``` ruby
+$:.unshift("/Library/RubyMotion/lib")
+require 'motion/project'
+require 'motion-cocoapods'
+require 'wakizashi'
+
+Motion::Project::App.setup do |app|
+ app.name = 'myapp'
+
+ # Only needed if you have not already specifying a pods dependency
+ app.pods do
+ dependency 'GDataXML-HTML'
+ end
+end
+```
+
+## Usage
+
+### Parsing
+
+Search nodes with XPath
+
+```ruby
+doc = Wakizashi::HTML("<html><body><h1>Hello World</h1><p>Welcome</p><p>Foo</p><a href='http://www.google.com'>Google</a></body></html>")
+doc.xpath("//p")
+```
+
+Modify nodes
+
+```ruby
+link = doc.xpath("//a").first
+link["href"] # => "http://www.google.com"
+link["href"] = "http://wikipedia.org"
+link.stringValue = "Wiki"
+link.to_html => # "<html><body><h1>Hello World</h1><p>Welcome</p><p>Foo</p><a href='http://wikipedia.org'>Wiki</a></body></html>"
+```
View
10 Rakefile
@@ -1,5 +1,4 @@
-# http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml
-
+require "bundler/gem_tasks"
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'motion-redgreen'
@@ -18,3 +17,10 @@ Motion::Project::App.setup do |app|
dependency 'GDataXML-HTML'
end
end
+
+desc "Build the gem"
+task :gem do
+ sh "bundle exec gem build wakizashi.gemspec"
+ sh "mkdir -p pkg"
+ sh "mv *.gem pkg/"
+end
View
23 lib/wakizashi.rb
@@ -1,13 +1,14 @@
-module Wakizashi
- class ParseError < StandardError; end
-
- module_function
-
- def XML(xml, *options)
- ::GDataXMLDocument.with_xml(xml, *options)
- end
-
- def HTML(html, *options)
- ::GDataXMLDocument.with_html(html, *options)
+require "wakizashi/version"
+
+unless defined?(Motion::Project::Config)
+ raise "This file must be required within a RubyMotion project Rakefile."
+end
+
+Motion::Project::App.setup do |app|
+ Dir.glob(File.join(File.dirname(__FILE__), 'wakizashi/*.rb')).each do |file|
+ app.files.unshift(file)
end
+
+ app.pods ||= Motion::Project::CocoaPods.new(app)
+ app.pods.dependency 'GDataXML-HTML'
end
View
546 vendor/Pods/Pods.xcodeproj/project.pbxproj
@@ -10,11 +10,62 @@
<string>46</string>
<key>objects</key>
<dict>
- <key>0A51102765A94598B8FDCB27</key>
+ <key>05245198193D4E60A1E28B9D</key>
+ <dict>
+ <key>explicitFileType</key>
+ <string>archive.ar</string>
+ <key>includeInIndex</key>
+ <string>0</string>
+ <key>isa</key>
+ <string>PBXFileReference</string>
+ <key>name</key>
+ <string>libPods.a</string>
+ <key>path</key>
+ <string>libPods.a</string>
+ <key>sourceTree</key>
+ <string>BUILT_PRODUCTS_DIR</string>
+ </dict>
+ <key>0B52E9A3DF03465689D0E842</key>
+ <dict>
+ <key>isa</key>
+ <string>PBXFileReference</string>
+ <key>name</key>
+ <string>GDataXMLNode.m</string>
+ <key>path</key>
+ <string>GDataXML-HTML/GDataXML-HTML/lib/GDataXMLNode.m</string>
+ <key>sourceTree</key>
+ <string>SOURCE_ROOT</string>
+ </dict>
+ <key>183465E6C72F44A1BEC5A771</key>
+ <dict>
+ <key>fileRef</key>
+ <string>0B52E9A3DF03465689D0E842</string>
+ <key>isa</key>
+ <string>PBXBuildFile</string>
+ <key>settings</key>
+ <dict>
+ <key>COMPILER_FLAGS</key>
+ <string> </string>
+ </dict>
+ </dict>
+ <key>251E184E986D40D7AE84E2E8</key>
+ <dict>
+ <key>isa</key>
+ <string>PBXFileReference</string>
+ <key>lastKnownFileType</key>
+ <string>text.xcconfig</string>
+ <key>name</key>
+ <string>Pods.xcconfig</string>
+ <key>path</key>
+ <string>Pods.xcconfig</string>
+ <key>sourceTree</key>
+ <string>SOURCE_ROOT</string>
+ </dict>
+ <key>29E08C2627A94604A308B8B8</key>
<dict>
<key>children</key>
<array>
- <string>67D8539072014BF5A866A217</string>
+ <string>05245198193D4E60A1E28B9D</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
@@ -23,7 +74,18 @@
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
- <key>0AD9AE244FC1422A8B0F22B2</key>
+ <key>39AEAEEE952B49ACA5005895</key>
+ <dict>
+ <key>isa</key>
+ <string>PBXFileReference</string>
+ <key>name</key>
+ <string>GDataXMLNode.h</string>
+ <key>path</key>
+ <string>GDataXML-HTML/GDataXML-HTML/lib/GDataXMLNode.h</string>
+ <key>sourceTree</key>
+ <string>SOURCE_ROOT</string>
+ </dict>
+ <key>3F50CF0F4BD646E58D6FA7C9</key>
<dict>
<key>buildSettings</key>
<dict>
@@ -32,13 +94,24 @@
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
- <string>YES</string>
+ <string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
+ <key>GCC_DYNAMIC_NO_PIC</key>
+ <string>NO</string>
+ <key>GCC_OPTIMIZATION_LEVEL</key>
+ <string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
+ <key>GCC_PREPROCESSOR_DEFINITIONS</key>
+ <array>
+ <string>DEBUG=1</string>
+ <string>$(inherited)</string>
+ </array>
+ <key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
+ <string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvmgcc42</string>
<key>GCC_WARN_ABOUT_MISSING_PROTOTYPES</key>
@@ -61,70 +134,23 @@
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
- <key>VALIDATE_PRODUCT</key>
- <string>YES</string>
- </dict>
- <key>isa</key>
- <string>XCBuildConfiguration</string>
- <key>name</key>
- <string>Release</string>
- </dict>
- <key>0B34EF64E67640B0ABC60287</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>name</key>
- <string>Pods-prefix.pch</string>
- <key>path</key>
- <string>Pods-prefix.pch</string>
- <key>sourceTree</key>
- <string>SOURCE_ROOT</string>
- </dict>
- <key>0F37126C27154298A192B7F7</key>
- <dict>
- <key>baseConfigurationReference</key>
- <string>10B152722072402DBC854CE9</string>
- <key>buildSettings</key>
- <dict>
- <key>DSTROOT</key>
- <string>/tmp/xcodeproj.dst</string>
- <key>GCC_PRECOMPILE_PREFIX_HEADER</key>
- <string>YES</string>
- <key>GCC_PREFIX_HEADER</key>
- <string>Pods-prefix.pch</string>
- <key>GCC_VERSION</key>
- <string>com.apple.compilers.llvm.clang.1_0</string>
- <key>OTHER_LDFLAGS</key>
- <string></string>
- <key>PODS_ROOT</key>
- <string>$(SRCROOT)</string>
- <key>PRODUCT_NAME</key>
- <string>$(TARGET_NAME)</string>
- <key>SKIP_INSTALL</key>
- <string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
- <key>10B152722072402DBC854CE9</key>
+ <key>3FDD0A7CCA004B4BA1651535</key>
<dict>
+ <key>fileRef</key>
+ <string>91C0A3C2848E43A39EFE7273</string>
<key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>text.xcconfig</string>
- <key>name</key>
- <string>Pods.xcconfig</string>
- <key>path</key>
- <string>Pods.xcconfig</string>
- <key>sourceTree</key>
- <string>SOURCE_ROOT</string>
+ <string>PBXBuildFile</string>
</dict>
- <key>261F33649FF44AD2B843FC8C</key>
+ <key>41F5A3C4AC8741268542D2C8</key>
<dict>
<key>baseConfigurationReference</key>
- <string>10B152722072402DBC854CE9</string>
+ <string>251E184E986D40D7AE84E2E8</string>
<key>buildSettings</key>
<dict>
<key>DSTROOT</key>
@@ -149,153 +175,85 @@
<key>name</key>
<string>Release</string>
</dict>
- <key>2C488BF205714E0EACC49505</key>
+ <key>468A3478C03441FB8B268F1C</key>
<dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>wrapper.framework</string>
- <key>name</key>
- <string>Foundation.framework</string>
- <key>path</key>
- <string>System/Library/Frameworks/Foundation.framework</string>
- <key>sourceTree</key>
- <string>SDKROOT</string>
- </dict>
- <key>3B88CEA87C5747B6AA0EFBA2</key>
- <dict>
- <key>children</key>
+ <key>buildActionMask</key>
+ <string>2147483647</string>
+ <key>files</key>
<array>
- <string>6A14F13D2E284493B906C824</string>
- <string>9EAFBB72FFF94AF0B9E4D1F3</string>
- <string>0A51102765A94598B8FDCB27</string>
- <string>AC665F8C56EA4546BC5D13DD</string>
+ <string>183465E6C72F44A1BEC5A771</string>
</array>
<key>isa</key>
- <string>PBXGroup</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>47841D3BBA164FE1A96134D0</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>name</key>
- <string>GDataXMLNode.m</string>
- <key>path</key>
- <string>GDataXML-HTML/GDataXML-HTML/lib/GDataXMLNode.m</string>
- <key>sourceTree</key>
- <string>SOURCE_ROOT</string>
- </dict>
- <key>501EDF40E830451296C67B7E</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>name</key>
- <string>GDataXMLNode.h</string>
- <key>path</key>
- <string>GDataXML-HTML/GDataXML-HTML/lib/GDataXMLNode.h</string>
- <key>sourceTree</key>
- <string>SOURCE_ROOT</string>
- </dict>
- <key>67D8539072014BF5A866A217</key>
- <dict>
- <key>explicitFileType</key>
- <string>archive.ar</string>
- <key>includeInIndex</key>
+ <string>PBXSourcesBuildPhase</string>
+ <key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>name</key>
- <string>libPods.a</string>
- <key>path</key>
- <string>libPods.a</string>
- <key>sourceTree</key>
- <string>BUILT_PRODUCTS_DIR</string>
</dict>
- <key>6A14F13D2E284493B906C824</key>
+ <key>47CAC2BEB7AE4D6EA383AB8A</key>
<dict>
<key>children</key>
<array>
- <string>C8A27ADC5AAE468DA91F9BEA</string>
+ <string>39AEAEEE952B49ACA5005895</string>
+ <string>0B52E9A3DF03465689D0E842</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
- <string>Pods</string>
+ <string>GDataXML-HTML</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
- <key>8D3E033F712D4511BD0F34A0</key>
- <dict>
- <key>buildConfigurations</key>
- <array>
- <string>E1877444443A49B6AFFFCBF7</string>
- <string>0AD9AE244FC1422A8B0F22B2</string>
- </array>
- <key>defaultConfigurationIsVisible</key>
- <string>0</string>
- <key>defaultConfigurationName</key>
- <string>Release</string>
- <key>isa</key>
- <string>XCConfigurationList</string>
- </dict>
- <key>9DD2AF7DE3D64FA7BF4A03F6</key>
+ <key>55D0866E858A4234B2876D7A</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
- <key>dstPath</key>
- <string>$(PRODUCT_NAME)</string>
- <key>dstSubfolderSpec</key>
- <string>16</string>
<key>files</key>
- <array/>
+ <array>
+ <string>3FDD0A7CCA004B4BA1651535</string>
+ </array>
<key>isa</key>
- <string>PBXCopyFilesBuildPhase</string>
+ <string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
- <key>9EAFBB72FFF94AF0B9E4D1F3</key>
+ <key>5E981B87A0044D7C8FF6DB5B</key>
<dict>
- <key>children</key>
- <array>
- <string>2C488BF205714E0EACC49505</string>
- </array>
+ <key>attributes</key>
+ <dict>
+ <key>LastUpgradeCheck</key>
+ <string>0420</string>
+ </dict>
+ <key>buildConfigurationList</key>
+ <string>C441224558E64F949274DF58</string>
+ <key>compatibilityVersion</key>
+ <string>Xcode 3.2</string>
+ <key>developmentRegion</key>
+ <string>English</string>
+ <key>hasScannedForEncodings</key>
+ <string>0</string>
<key>isa</key>
- <string>PBXGroup</string>
- <key>name</key>
- <string>Frameworks</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>A163C97679344141A907B277</key>
- <dict>
- <key>buildConfigurations</key>
+ <string>PBXProject</string>
+ <key>knownRegions</key>
<array>
- <string>0F37126C27154298A192B7F7</string>
- <string>261F33649FF44AD2B843FC8C</string>
+ <string>en</string>
</array>
- <key>isa</key>
- <string>XCConfigurationList</string>
- </dict>
- <key>A4532BB3432B4DC4BF6BEA2A</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
+ <key>mainGroup</key>
+ <string>9062F19CBD474699AE63C371</string>
+ <key>productRefGroup</key>
+ <string>29E08C2627A94604A308B8B8</string>
+ <key>projectDirPath</key>
+ <string></string>
+ <key>projectRoot</key>
+ <string></string>
+ <key>targets</key>
<array>
- <string>D1F32758EC264F76A81D3051</string>
+ <string>9F4E30EEC2AB47938A2F0D96</string>
</array>
- <key>isa</key>
- <string>PBXFrameworksBuildPhase</string>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
</dict>
- <key>AC665F8C56EA4546BC5D13DD</key>
+ <key>75C4572FABC34222B0FC2B53</key>
<dict>
<key>children</key>
<array>
- <string>E7A3E34B381C42CAAE5F130D</string>
+ <string>83A584912E214982863AF8C7</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
@@ -304,111 +262,60 @@
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
- <key>B914FA520D634ABC9CDDDFB2</key>
+ <key>83A584912E214982863AF8C7</key>
<dict>
- <key>buildConfigurationList</key>
- <string>A163C97679344141A907B277</string>
- <key>buildPhases</key>
+ <key>children</key>
<array>
- <string>C52F715BDED24602AF81B946</string>
- <string>A4532BB3432B4DC4BF6BEA2A</string>
- <string>9DD2AF7DE3D64FA7BF4A03F6</string>
+ <string>AA049A962A1F461196FE007B</string>
+ <string>8550325A05324D90BD14EB6F</string>
+ <string>251E184E986D40D7AE84E2E8</string>
</array>
- <key>buildRules</key>
- <array/>
- <key>dependencies</key>
- <array/>
<key>isa</key>
- <string>PBXNativeTarget</string>
+ <string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
- <key>productName</key>
- <string>Pods</string>
- <key>productReference</key>
- <string>67D8539072014BF5A866A217</string>
- <key>productType</key>
- <string>com.apple.product-type.library.static</string>
+ <key>sourceTree</key>
+ <string>&lt;group&gt;</string>
</dict>
- <key>BD9B8C6FED6A4A87BF6DF242</key>
+ <key>8550325A05324D90BD14EB6F</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
- <string>Pods-resources.sh</string>
+ <string>Pods-prefix.pch</string>
<key>path</key>
- <string>Pods-resources.sh</string>
+ <string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
- <key>C52F715BDED24602AF81B946</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
- <array>
- <string>F495091EC116410482F0978E</string>
- </array>
- <key>isa</key>
- <string>PBXSourcesBuildPhase</string>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
- </dict>
- <key>C8A27ADC5AAE468DA91F9BEA</key>
+ <key>9062F19CBD474699AE63C371</key>
<dict>
<key>children</key>
<array>
- <string>501EDF40E830451296C67B7E</string>
- <string>47841D3BBA164FE1A96134D0</string>
+ <string>A4B911CFCA764538B2DB0BD4</string>
+ <string>BC64E4F537064DABB8950AC6</string>
+ <string>29E08C2627A94604A308B8B8</string>
+ <string>75C4572FABC34222B0FC2B53</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
- <key>name</key>
- <string>GDataXML-HTML</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
- <key>CA8A855BC4914DD39E4AFF88</key>
+ <key>91C0A3C2848E43A39EFE7273</key>
<dict>
- <key>attributes</key>
- <dict>
- <key>LastUpgradeCheck</key>
- <string>0420</string>
- </dict>
- <key>buildConfigurationList</key>
- <string>8D3E033F712D4511BD0F34A0</string>
- <key>compatibilityVersion</key>
- <string>Xcode 3.2</string>
- <key>developmentRegion</key>
- <string>English</string>
- <key>hasScannedForEncodings</key>
- <string>0</string>
<key>isa</key>
- <string>PBXProject</string>
- <key>knownRegions</key>
- <array>
- <string>en</string>
- </array>
- <key>mainGroup</key>
- <string>3B88CEA87C5747B6AA0EFBA2</string>
- <key>productRefGroup</key>
- <string>0A51102765A94598B8FDCB27</string>
- <key>projectDirPath</key>
- <string></string>
- <key>projectRoot</key>
- <string></string>
- <key>targets</key>
- <array>
- <string>B914FA520D634ABC9CDDDFB2</string>
- </array>
- </dict>
- <key>D1F32758EC264F76A81D3051</key>
- <dict>
- <key>fileRef</key>
- <string>2C488BF205714E0EACC49505</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
+ <string>PBXFileReference</string>
+ <key>lastKnownFileType</key>
+ <string>wrapper.framework</string>
+ <key>name</key>
+ <string>Foundation.framework</string>
+ <key>path</key>
+ <string>System/Library/Frameworks/Foundation.framework</string>
+ <key>sourceTree</key>
+ <string>SDKROOT</string>
</dict>
- <key>E1877444443A49B6AFFFCBF7</key>
+ <key>955A54A8214840D7916177B9</key>
<dict>
<key>buildSettings</key>
<dict>
@@ -417,24 +324,13 @@
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
- <string>NO</string>
+ <string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
- <key>GCC_DYNAMIC_NO_PIC</key>
- <string>NO</string>
- <key>GCC_OPTIMIZATION_LEVEL</key>
- <string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
- <key>GCC_PREPROCESSOR_DEFINITIONS</key>
- <array>
- <string>DEBUG=1</string>
- <string>$(inherited)</string>
- </array>
- <key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
- <string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvmgcc42</string>
<key>GCC_WARN_ABOUT_MISSING_PROTOTYPES</key>
@@ -457,19 +353,44 @@
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
+ <key>VALIDATE_PRODUCT</key>
+ <string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
- <string>Debug</string>
+ <string>Release</string>
+ </dict>
+ <key>9F4E30EEC2AB47938A2F0D96</key>
+ <dict>
+ <key>buildConfigurationList</key>
+ <string>ACB72F5175FD40239F7942AD</string>
+ <key>buildPhases</key>
+ <array>
+ <string>468A3478C03441FB8B268F1C</string>
+ <string>55D0866E858A4234B2876D7A</string>
+ <string>F453D302DA9940C5A5EFC0FD</string>
+ </array>
+ <key>buildRules</key>
+ <array/>
+ <key>dependencies</key>
+ <array/>
+ <key>isa</key>
+ <string>PBXNativeTarget</string>
+ <key>name</key>
+ <string>Pods</string>
+ <key>productName</key>
+ <string>Pods</string>
+ <key>productReference</key>
+ <string>05245198193D4E60A1E28B9D</string>
+ <key>productType</key>
+ <string>com.apple.product-type.library.static</string>
</dict>
- <key>E7A3E34B381C42CAAE5F130D</key>
+ <key>A4B911CFCA764538B2DB0BD4</key>
<dict>
<key>children</key>
<array>
- <string>BD9B8C6FED6A4A87BF6DF242</string>
- <string>0B34EF64E67640B0ABC60287</string>
- <string>10B152722072402DBC854CE9</string>
+ <string>47CAC2BEB7AE4D6EA383AB8A</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
@@ -478,20 +399,99 @@
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
- <key>F495091EC116410482F0978E</key>
+ <key>AA049A962A1F461196FE007B</key>
<dict>
- <key>fileRef</key>
- <string>47841D3BBA164FE1A96134D0</string>
<key>isa</key>
- <string>PBXBuildFile</string>
- <key>settings</key>
+ <string>PBXFileReference</string>
+ <key>name</key>
+ <string>Pods-resources.sh</string>
+ <key>path</key>
+ <string>Pods-resources.sh</string>
+ <key>sourceTree</key>
+ <string>SOURCE_ROOT</string>
+ </dict>
+ <key>ACB72F5175FD40239F7942AD</key>
+ <dict>
+ <key>buildConfigurations</key>
+ <array>
+ <string>F01408A637C84ADDB61B55E6</string>
+ <string>41F5A3C4AC8741268542D2C8</string>
+ </array>
+ <key>isa</key>
+ <string>XCConfigurationList</string>
+ </dict>
+ <key>BC64E4F537064DABB8950AC6</key>
+ <dict>
+ <key>children</key>
+ <array>
+ <string>91C0A3C2848E43A39EFE7273</string>
+ </array>
+ <key>isa</key>
+ <string>PBXGroup</string>
+ <key>name</key>
+ <string>Frameworks</string>
+ <key>sourceTree</key>
+ <string>&lt;group&gt;</string>
+ </dict>
+ <key>C441224558E64F949274DF58</key>
+ <dict>
+ <key>buildConfigurations</key>
+ <array>
+ <string>3F50CF0F4BD646E58D6FA7C9</string>
+ <string>955A54A8214840D7916177B9</string>
+ </array>
+ <key>defaultConfigurationIsVisible</key>
+ <string>0</string>
+ <key>defaultConfigurationName</key>
+ <string>Release</string>
+ <key>isa</key>
+ <string>XCConfigurationList</string>
+ </dict>
+ <key>F01408A637C84ADDB61B55E6</key>
+ <dict>
+ <key>baseConfigurationReference</key>
+ <string>251E184E986D40D7AE84E2E8</string>
+ <key>buildSettings</key>
<dict>
- <key>COMPILER_FLAGS</key>
- <string> </string>
+ <key>DSTROOT</key>
+ <string>/tmp/xcodeproj.dst</string>
+ <key>GCC_PRECOMPILE_PREFIX_HEADER</key>
+ <string>YES</string>
+ <key>GCC_PREFIX_HEADER</key>
+ <string>Pods-prefix.pch</string>
+ <key>GCC_VERSION</key>
+ <string>com.apple.compilers.llvm.clang.1_0</string>
+ <key>OTHER_LDFLAGS</key>
+ <string></string>
+ <key>PODS_ROOT</key>
+ <string>$(SRCROOT)</string>
+ <key>PRODUCT_NAME</key>
+ <string>$(TARGET_NAME)</string>
+ <key>SKIP_INSTALL</key>
+ <string>YES</string>
</dict>
+ <key>isa</key>
+ <string>XCBuildConfiguration</string>
+ <key>name</key>
+ <string>Debug</string>
+ </dict>
+ <key>F453D302DA9940C5A5EFC0FD</key>
+ <dict>
+ <key>buildActionMask</key>
+ <string>2147483647</string>
+ <key>dstPath</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>dstSubfolderSpec</key>
+ <string>16</string>
+ <key>files</key>
+ <array/>
+ <key>isa</key>
+ <string>PBXCopyFilesBuildPhase</string>
+ <key>runOnlyForDeploymentPostprocessing</key>
+ <string>0</string>
</dict>
</dict>
<key>rootObject</key>
- <string>CA8A855BC4914DD39E4AFF88</string>
+ <string>5E981B87A0044D7C8FF6DB5B</string>
</dict>
</plist>
View
18 wakizashi.gemspec
@@ -0,0 +1,18 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/wakizashi/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.authors = ["Francis Chong"]
+ gem.email = ["francis@ignition.hk"]
+ gem.description = "HTML/XML parser for RubyMotion, based on GDataXML-HTML."
+ gem.summary = "HTML/XML parser for RubyMotion, based on GDataXML-HTML, which is based on GDataXML and HTMLparser module of libxml2. It allows you to deal with non validating XML or HTML."
+ gem.homepage = "https://github.com/siuying/wakizashi"
+
+ gem.files = `git ls-files`.split($\)
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "nano-store"
+ gem.require_paths = ["lib"]
+ gem.version = Wakizashi::VERSION
+ gem.add_dependency 'motion-cocoapods', '>= 1.0.1'
+ gem.add_development_dependency 'motion-redgreen'
+end

0 comments on commit 584c776

Please sign in to comment.
Something went wrong with that request. Please try again.