rhodes 2.0.0.beta1 → 2.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/LICENSE +19 -674
- data/Manifest.txt +21 -4
- data/README.textile +5 -36
- data/Rakefile +5 -0
- data/lib/build/jake.rb +3 -1
- data/lib/extensions/rexml/rexml/document.rb +2 -0
- data/lib/extensions/rexml/rexml/parsers/baseparser.rb +0 -6
- data/lib/extensions/rhoxml/rexml/child.rb +96 -0
- data/lib/extensions/rhoxml/rexml/document.rb +527 -0
- data/lib/extensions/rhoxml/rexml/element.rb +987 -0
- data/lib/extensions/rhoxml/rexml/encoding.rb +71 -0
- data/lib/extensions/rhoxml/rexml/encodings/US-ASCII.rb +30 -0
- data/lib/extensions/rhoxml/rexml/encodings/UTF-16.rb +35 -0
- data/lib/extensions/rhoxml/rexml/encodings/UTF-8.rb +18 -0
- data/lib/extensions/rhoxml/rexml/namespace.rb +47 -0
- data/lib/extensions/rhoxml/rexml/node.rb +76 -0
- data/lib/extensions/rhoxml/rexml/parent.rb +166 -0
- data/lib/extensions/rhoxml/rexml/parseexception.rb +51 -0
- data/lib/extensions/rhoxml/rexml/parsers/baseparser.rb +531 -0
- data/lib/extensions/rhoxml/rexml/parsers/treeparser.rb +100 -0
- data/lib/extensions/rhoxml/rexml/parsers/xpathparser.rb +698 -0
- data/lib/extensions/rhoxml/rexml/set.rb +1274 -0
- data/lib/extensions/rhoxml/rexml/source.rb +258 -0
- data/lib/extensions/rhoxml/rexml/xmltokens.rb +18 -0
- data/lib/extensions/rhoxml/rexml/xpath.rb +77 -0
- data/lib/extensions/rhoxml/rexml/xpath_parser.rb +806 -0
- data/lib/framework/builtinME.rb +2 -0
- data/lib/framework/dateME.rb +5 -1
- data/lib/framework/rho/render.rb +10 -2
- data/lib/framework/rhom/rhom_object_factory.rb +2 -1
- data/lib/framework/singleton.rb +1 -1
- data/platform/android/Rhodes/jni/src/rhodes.cpp +2 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/NativeBar.java +23 -18
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/Rhodes.java +42 -69
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SplashScreen.java +59 -7
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/Camera.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Annotation.java +1 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapView.java +97 -85
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/SmsUriHandler.java +52 -0
- data/platform/android/build/RhodesSRC_build.files +1 -0
- data/platform/android/build/android.rake +38 -14
- data/platform/bb/RubyVM/RubyVM.jdp +1 -0
- data/platform/bb/build/RubyVM_build.files +1 -0
- data/platform/bb/build/bb.rake +44 -2
- data/platform/bb/rhodes/platform/5.0/com/rho/BrowserAdapter5.java +1 -1
- data/platform/bb/rhodes/rhodes.jdp +4 -4
- data/platform/bb/rhodes/src/com/rho/BrowserAdapter.java +8 -4
- data/platform/bb/rhodes/src/com/rho/rubyext/Alert.java +149 -17
- data/platform/bb/rhodes/src/rhomobile/PushListeningThread.java +20 -17
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +54 -28
- data/platform/bb/rhodes/src/rhomobile/mapview/Annotation.java +1 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/GoogleMapField.java +37 -11
- data/platform/bb/rhodes/src/rhomobile/mapview/MapView.java +49 -19
- data/platform/bb/rhodes/src/rhomobile/mapview/MapViewScreen.java +6 -0
- data/platform/iphone/Classes/MapView/GoogleGeocoder.h +6 -7
- data/platform/iphone/Classes/MapView/GoogleGeocoder.m +70 -70
- data/platform/iphone/Classes/MapView/MapAnnotation.h +5 -3
- data/platform/iphone/Classes/MapView/MapAnnotation.m +10 -8
- data/platform/iphone/Classes/MapView/MapViewController.h +13 -10
- data/platform/iphone/Classes/MapView/MapViewController.m +131 -72
- data/platform/iphone/Classes/Rhodes.h +2 -0
- data/platform/iphone/Classes/Rhodes.m +13 -1
- data/platform/iphone/Classes/SimpleMainView.m +0 -1
- data/platform/iphone/Classes/TabbedMainView.m +5 -6
- data/platform/shared/common/RhoTime.h +2 -2
- data/platform/shared/common/RhodesApp.cpp +1 -1
- data/platform/shared/db/DBAdapter.cpp +6 -0
- data/platform/shared/net/CURLNetRequest.cpp +23 -1
- data/platform/shared/ruby/thread_win32.c +9 -1
- data/platform/shared/rubyJVM/src/com/rho/Capabilities.java +6 -0
- data/platform/shared/rubyJVM/src/com/rho/RhodesApp.java +1 -1
- data/platform/shared/rubyJVM/src/com/rho/sync/ClientRegister.java +1 -1
- data/platform/shared/rubyJVM/src/com/xruby/GeneratedMethods/RubySymbol_Methods.java +6 -1
- data/platform/shared/rubyJVM/src/com/xruby/GeneratedMethods/RubyTime_Methods.java +3 -3
- data/platform/shared/rubyJVM/src/com/xruby/runtime/builtin/InputStreamExecutor.java +1 -1
- data/platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyArray.java +15 -3
- data/platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyString.java +10 -2
- data/platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyTime.java +12 -1
- data/platform/shared/rubyJVM/src/com/xruby/runtime/lang/RubyKernelModule.java +18 -9
- data/platform/shared/rubyJVM/src/com/xruby/runtime/lang/RubySymbol.java +5 -0
- data/platform/shared/rubyJVM/src/org/json/me/JSONArray.java +2 -1
- data/platform/shared/unzip/unzip.cpp +1 -1
- data/platform/wm/build/wm.rake +27 -6
- data/platform/wm/rhodes/Alert.cpp +335 -5
- data/platform/wm/rhodes/Alert.h +84 -1
- data/platform/wm/rhodes/MainWindow.cpp +28 -6
- data/platform/wm/rhodes/MainWindow.h +7 -2
- data/platform/wm/rhodes/Rhodes.cpp +23 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +2 -1
- data/platform/wm/rhodes/stdafx.h +1 -0
- data/platform/wm/tools/detool/detool.cpp +405 -14
- data/rakefile.rb +5 -0
- data/res/build-tools/detool.exe +0 -0
- data/res/generators/rhogen.rb +2 -0
- data/rhodes.gemspec +1 -1
- data/spec/framework_spec/app/spec/fixtures/object_values.txt +1 -1
- data/spec/framework_spec/app/spec/pagination/fixtures/object_values.txt +1 -1
- data/spec/framework_spec/app/spec/rhom_object_spec.rb +12 -12
- metadata +23 -6
- data/LICENSING_OPTIONS +0 -1
- data/platform/bb/build/rhodesApp.rapc +0 -9
- data/res/generators/templates/source/source_adapter.rb +0 -48
- data/rhobuild.yml +0 -37
data/rakefile.rb
CHANGED
@@ -275,6 +275,11 @@ def common_bundle_start(startdir, dest)
|
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
278
|
+
if $excludeextlib
|
279
|
+
chdir dest
|
280
|
+
$excludeextlib.each {|e| Dir.glob(e).each {|f| rm f}}
|
281
|
+
end
|
282
|
+
|
278
283
|
chdir startdir
|
279
284
|
#throw "ME"
|
280
285
|
cp_r app + '/app',File.join($srcdir,'apps')
|
data/res/build-tools/detool.exe
CHANGED
Binary file
|
data/res/generators/rhogen.rb
CHANGED
data/rhodes.gemspec
CHANGED
@@ -3,7 +3,7 @@ require "lib/rhodes.rb"
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{rhodes}
|
6
|
-
s.version = '2.0.0.
|
6
|
+
s.version = '2.0.0.beta2'
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Rhomobile"]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
source_name|attrib|object|value
|
1
|
+
source_name|attrib|object|value
|
2
2
|
Case|status|41a4e1f1-2c0c-7e51-0495-4900dc4c072c|New|
|
3
3
|
Case|assigned_user_id|41a4e1f1-2c0c-7e51-0495-4900dc4c072c|d64e9409-6445-db6f-e9eb-48fce5e9fb16|
|
4
4
|
Case|created_by_name|41a4e1f1-2c0c-7e51-0495-4900dc4c072c|adam|
|
@@ -144,7 +144,7 @@ describe "Rhom::RhomObject" do
|
|
144
144
|
new_id = @account1.object
|
145
145
|
@account1.save
|
146
146
|
@account2 = Account.find(new_id)
|
147
|
-
@account2.object.should =="
|
147
|
+
@account2.object.should =="#{@account1.object}"
|
148
148
|
@account2.name.should == vars['name']
|
149
149
|
@account2.industry.should == vars['industry']
|
150
150
|
end
|
@@ -155,7 +155,7 @@ describe "Rhom::RhomObject" do
|
|
155
155
|
new_id = @account1.object
|
156
156
|
@account1.save
|
157
157
|
@account2 = Account.find(new_id)
|
158
|
-
@account2.object.should =="
|
158
|
+
@account2.object.should =="#{@account1.object}"
|
159
159
|
@account2.name.should == vars['name']
|
160
160
|
@account2.industry.should == vars['industry']
|
161
161
|
end
|
@@ -166,7 +166,7 @@ describe "Rhom::RhomObject" do
|
|
166
166
|
new_id = @account1.object
|
167
167
|
@account1.save
|
168
168
|
@account2 = Account.find(new_id)
|
169
|
-
@account2.object.should =="
|
169
|
+
@account2.object.should =="#{@account1.object}"
|
170
170
|
@account2.name.should == vars['name']
|
171
171
|
@account2.industry.should == vars['industry']
|
172
172
|
end
|
@@ -191,7 +191,7 @@ describe "Rhom::RhomObject" do
|
|
191
191
|
new_id = @account1.object
|
192
192
|
@account1.save
|
193
193
|
@account2 = Account.find(new_id)
|
194
|
-
@account2.object.should =="
|
194
|
+
@account2.object.should =="#{@account1.object}"
|
195
195
|
@account2.name.should == vars['name']
|
196
196
|
@account2.industry.should == vars['industry']
|
197
197
|
|
@@ -199,7 +199,7 @@ describe "Rhom::RhomObject" do
|
|
199
199
|
@account2.update_attributes(update_attributes)
|
200
200
|
|
201
201
|
@account3 = Account.find(new_id)
|
202
|
-
@account3.object.should =="
|
202
|
+
@account3.object.should =="#{@account1.object}"
|
203
203
|
@account3.name.should == vars['name']
|
204
204
|
@account3.industry.should == update_attributes['industry']
|
205
205
|
|
@@ -217,7 +217,7 @@ describe "Rhom::RhomObject" do
|
|
217
217
|
@account1.save
|
218
218
|
|
219
219
|
@account2 = Account.find(new_id)
|
220
|
-
@account2.object.should =="
|
220
|
+
@account2.object.should =="#{@account1.object}"
|
221
221
|
@account2.name.should == vars['name']
|
222
222
|
|
223
223
|
update_attributes = {"industry"=>"electronics2"}
|
@@ -225,7 +225,7 @@ describe "Rhom::RhomObject" do
|
|
225
225
|
@account2.save
|
226
226
|
|
227
227
|
@account3 = Account.find(new_id)
|
228
|
-
@account3.object.should =="
|
228
|
+
@account3.object.should =="#{@account1.object}"
|
229
229
|
@account3.name.should == vars['name']
|
230
230
|
@account3.industry.should == update_attributes['industry']
|
231
231
|
|
@@ -507,7 +507,7 @@ describe "Rhom::RhomObject" do
|
|
507
507
|
|
508
508
|
@accts.length.should == 0
|
509
509
|
end
|
510
|
-
|
510
|
+
=begin
|
511
511
|
it "should support blob file type" do
|
512
512
|
@acct = Account.new({'image_uri'=>"/db/images/mynewimage.png"})
|
513
513
|
@acct.name = "my new acct"
|
@@ -515,7 +515,7 @@ describe "Rhom::RhomObject" do
|
|
515
515
|
@res = ::Rho::RHO.get_user_db().select_from_table('object_values','*', 'attrib_type' => "blob.file")
|
516
516
|
@res.length.should == 1
|
517
517
|
end
|
518
|
-
|
518
|
+
=end
|
519
519
|
it "should include only selected column" do
|
520
520
|
@accts = Account.find(:all, :select => ['name'])
|
521
521
|
|
@@ -601,7 +601,7 @@ describe "Rhom::RhomObject" do
|
|
601
601
|
3.times do |x|
|
602
602
|
@accts = Account.paginate(:page => x)
|
603
603
|
@accts.length.should == 10
|
604
|
-
@accts[9].object.should == "
|
604
|
+
@accts[9].object.should == "#{@expected[x][:object]}"
|
605
605
|
@accts[9].name.should == @expected[x][:name]
|
606
606
|
@accts[9].address.should == @expected[x][:address]
|
607
607
|
@accts[9].industry.should == @expected[x][:industry]
|
@@ -613,7 +613,7 @@ describe "Rhom::RhomObject" do
|
|
613
613
|
it "should support paginate with options" do
|
614
614
|
@accts = Account.paginate(:page => 0, :per_page => 20)
|
615
615
|
@accts.length.should == 20
|
616
|
-
@accts[9].object.should == "
|
616
|
+
@accts[9].object.should == "#{@expected[0][:object]}"
|
617
617
|
@accts[9].name.should == @expected[0][:name]
|
618
618
|
@accts[9].address.should == @expected[0][:address]
|
619
619
|
@accts[9].industry.should == @expected[0][:industry]
|
@@ -624,7 +624,7 @@ describe "Rhom::RhomObject" do
|
|
624
624
|
it "should support paginate with options and conditions" do
|
625
625
|
@accts = Account.paginate(:page => 0, :per_page => 20, :conditions => {'name' => 'c2z5izd8w9'})
|
626
626
|
@accts.length.should == 1
|
627
|
-
@accts[0].object.should == "
|
627
|
+
@accts[0].object.should == "#{@expected[0][:object]}"
|
628
628
|
@accts[0].name.should == @expected[0][:name]
|
629
629
|
@accts[0].address.should == @expected[0][:address]
|
630
630
|
@accts[0].industry.should == @expected[0][:industry]
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 2
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.0.
|
9
|
+
- beta2
|
10
|
+
version: 2.0.0.beta2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rhomobile
|
@@ -267,6 +267,25 @@ files:
|
|
267
267
|
- lib/extensions/rholang/lang_sr.rb
|
268
268
|
- lib/extensions/rholang/rhoerror_ru.rb
|
269
269
|
- lib/extensions/rholang/rhomsg_ru.rb
|
270
|
+
- lib/extensions/rhoxml/rexml/child.rb
|
271
|
+
- lib/extensions/rhoxml/rexml/document.rb
|
272
|
+
- lib/extensions/rhoxml/rexml/element.rb
|
273
|
+
- lib/extensions/rhoxml/rexml/encoding.rb
|
274
|
+
- lib/extensions/rhoxml/rexml/encodings/US-ASCII.rb
|
275
|
+
- lib/extensions/rhoxml/rexml/encodings/UTF-16.rb
|
276
|
+
- lib/extensions/rhoxml/rexml/encodings/UTF-8.rb
|
277
|
+
- lib/extensions/rhoxml/rexml/namespace.rb
|
278
|
+
- lib/extensions/rhoxml/rexml/node.rb
|
279
|
+
- lib/extensions/rhoxml/rexml/parent.rb
|
280
|
+
- lib/extensions/rhoxml/rexml/parseexception.rb
|
281
|
+
- lib/extensions/rhoxml/rexml/parsers/baseparser.rb
|
282
|
+
- lib/extensions/rhoxml/rexml/parsers/treeparser.rb
|
283
|
+
- lib/extensions/rhoxml/rexml/parsers/xpathparser.rb
|
284
|
+
- lib/extensions/rhoxml/rexml/set.rb
|
285
|
+
- lib/extensions/rhoxml/rexml/source.rb
|
286
|
+
- lib/extensions/rhoxml/rexml/xmltokens.rb
|
287
|
+
- lib/extensions/rhoxml/rexml/xpath.rb
|
288
|
+
- lib/extensions/rhoxml/rexml/xpath_parser.rb
|
270
289
|
- lib/extensions/set/set.rb
|
271
290
|
- lib/extensions/uri/uri/common.rb
|
272
291
|
- lib/extensions/uri/uri/ftp.rb
|
@@ -324,7 +343,6 @@ files:
|
|
324
343
|
- lib/test/rho_stubs.rb
|
325
344
|
- lib/test/syncdb.sqlite
|
326
345
|
- LICENSE
|
327
|
-
- LICENSING_OPTIONS
|
328
346
|
- Manifest.txt
|
329
347
|
- platform/android/build/android.rake
|
330
348
|
- platform/android/build/androidcommon.rb
|
@@ -444,6 +462,7 @@ files:
|
|
444
462
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/ui/LogOptionsDialog.java
|
445
463
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/ui/LogViewDialog.java
|
446
464
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/uri/MailUriHandler.java
|
465
|
+
- platform/android/Rhodes/src/com/rhomobile/rhodes/uri/SmsUriHandler.java
|
447
466
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/uri/TelUriHandler.java
|
448
467
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/uri/UriHandler.java
|
449
468
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/uri/VideoUriHandler.java
|
@@ -455,7 +474,6 @@ files:
|
|
455
474
|
- platform/bb/build/RhoBundleAlx.erb
|
456
475
|
- platform/bb/build/rhodes_build.files
|
457
476
|
- platform/bb/build/rhodesApp.csl
|
458
|
-
- platform/bb/build/rhodesApp.rapc
|
459
477
|
- platform/bb/build/rhodesAppAlx.erb
|
460
478
|
- platform/bb/build/RubyVM_build.files
|
461
479
|
- platform/bb/build/RubyVM_MANIFEST.MF
|
@@ -1515,6 +1533,7 @@ files:
|
|
1515
1533
|
- platform/shared/rubyext/RhoRuby.h
|
1516
1534
|
- platform/shared/rubyext/System.cpp
|
1517
1535
|
- platform/shared/rubyext/WebView.h
|
1536
|
+
- platform/shared/rubyJVM/src/com/rho/Capabilities.java
|
1518
1537
|
- platform/shared/rubyJVM/src/com/rho/Convert.java
|
1519
1538
|
- platform/shared/rubyJVM/src/com/rho/DateTimeTokenizer.java
|
1520
1539
|
- platform/shared/rubyJVM/src/com/rho/db/DBAdapter.java
|
@@ -3625,7 +3644,6 @@ files:
|
|
3625
3644
|
- res/generators/templates/model/show.bb.erb
|
3626
3645
|
- res/generators/templates/model/show.erb
|
3627
3646
|
- res/generators/templates/model/spec.rb
|
3628
|
-
- res/generators/templates/source/source_adapter.rb
|
3629
3647
|
- res/generators/templates/spec/app/fileutils.rb
|
3630
3648
|
- res/generators/templates/spec/app/mspec/expectations/expectations.rb
|
3631
3649
|
- res/generators/templates/spec/app/mspec/expectations/should.rb
|
@@ -3744,7 +3762,6 @@ files:
|
|
3744
3762
|
- res/generators/templates/spec/app/spec_runner.rb
|
3745
3763
|
- res/generators/templates/spec/app/SpecRunner/controller.rb
|
3746
3764
|
- res/generators/templates/spec/app/SpecRunner/index.erb
|
3747
|
-
- rhobuild.yml
|
3748
3765
|
- rhobuild.yml.example
|
3749
3766
|
- rhodes.gemspec
|
3750
3767
|
- spec/framework_spec/app/Account/config.rb
|
data/LICENSING_OPTIONS
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
If you can comply with the terms of the GPLv3 license (in this distributable as the file LICENSE), then you canuse that license. This includes being willing to open source your application. We also make a commercial license available. Write to sales@rhomobile.com for details
|
@@ -1,9 +0,0 @@
|
|
1
|
-
MIDlet-Name: rhodesApp
|
2
|
-
MIDlet-Version: 0.2.0
|
3
|
-
MIDlet-Vendor: rhomobile
|
4
|
-
MIDlet-Jar-URL: rhodesApp.jar
|
5
|
-
MIDlet-Jar-Size: 0
|
6
|
-
MicroEdition-Profile: MIDP-2.0
|
7
|
-
MicroEdition-Configuration: CLDC-1.1
|
8
|
-
MIDlet-1: rhodesApp,resources/icon.png,
|
9
|
-
RIM-MIDlet-Flags-1: 1
|
@@ -1,48 +0,0 @@
|
|
1
|
-
class <%=name.camelize%> < SourceAdapter
|
2
|
-
def initialize(source,credential)
|
3
|
-
super(source,credential)
|
4
|
-
end
|
5
|
-
|
6
|
-
def login
|
7
|
-
#TODO: Write some code here
|
8
|
-
# use the variable @source.login and @source.password
|
9
|
-
raise "Please provide some code to perform an authenticated login to the backend application"
|
10
|
-
end
|
11
|
-
|
12
|
-
def query
|
13
|
-
# TODO: write some code here, Query your backend for objects. Put into some variable that is used in sync method below
|
14
|
-
raise "Please provide some code to read records from the backend application"
|
15
|
-
end
|
16
|
-
|
17
|
-
def sync
|
18
|
-
# TODO: write code here that converts the data you got back from query into an @result object
|
19
|
-
# where @result is a hash of hashes, each array item representing an object
|
20
|
-
# for example: @result={"1"=>{"name"=>"Acme","industry"=>"Electronics"},"2"=>{"name"=>"Best","industry"=>"Software"}}
|
21
|
-
# if you have such a hash of hashes, then you can just call "super" as shown below
|
22
|
-
super # this creates object value triples from an @result variable that contains a hash of hashes
|
23
|
-
end
|
24
|
-
|
25
|
-
def create(name_value_list,blob=nil)
|
26
|
-
#TODO: write some code here
|
27
|
-
# the backend application will provide the object hash key and corresponding value
|
28
|
-
raise "Please provide some code to create a single object in the backend application using the hash values in name_value_list"
|
29
|
-
end
|
30
|
-
|
31
|
-
def update(name_value_list)
|
32
|
-
#TODO: write some code here
|
33
|
-
# be sure to have a hash key and value for "object"
|
34
|
-
raise "Please provide some code to update a single object in the backend application using the hash values in name_value_list"
|
35
|
-
end
|
36
|
-
|
37
|
-
def delete(name_value_list)
|
38
|
-
#TODO: write some code here if applicable
|
39
|
-
# be sure to have a hash key and value for "object"
|
40
|
-
# for now, we'll say that its OK to not have a delete operation
|
41
|
-
# raise "Please provide some code to delete a single object in the backend application using the hash values in name_value_list"
|
42
|
-
end
|
43
|
-
|
44
|
-
def logoff
|
45
|
-
#TODO: write some code here if applicable
|
46
|
-
# no need to do a raise here
|
47
|
-
end
|
48
|
-
end
|
data/rhobuild.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
---
|
2
|
-
env:
|
3
|
-
app: /Users/lars/Dev/code/rhomobile/rhodes-system-api-samples
|
4
|
-
paths:
|
5
|
-
android-ndk: /Users/lars/Dev/android-ndk-r3
|
6
|
-
java: /Library/Java/Home/bin
|
7
|
-
android: /Users/lars/Dev/android-sdk-mac_86
|
8
|
-
4.6:
|
9
|
-
jde:
|
10
|
-
sim: 9000
|
11
|
-
mds:
|
12
|
-
cabwiz:
|
13
|
-
4.2:
|
14
|
-
jde:
|
15
|
-
sim: 8100
|
16
|
-
mds:
|
17
|
-
excludedirs:
|
18
|
-
bb:
|
19
|
-
- public/js/iui
|
20
|
-
- public/js/jquery*
|
21
|
-
- public/js/prototype*
|
22
|
-
- public/css/iphone*
|
23
|
-
- public/iwebkit
|
24
|
-
- "**/*.db"
|
25
|
-
- "**/.*.swo"
|
26
|
-
- "**/.*.swn"
|
27
|
-
- "**/jquery*.js"
|
28
|
-
- "**/.DS_Store"
|
29
|
-
android:
|
30
|
-
build:
|
31
|
-
symbianpath: platform/symbian
|
32
|
-
bb:
|
33
|
-
bbsignpwd: somepasswordhere
|
34
|
-
bbpath: platform/bb
|
35
|
-
wmpath: platform/wm
|
36
|
-
androidpath: platform/android
|
37
|
-
iphonepath: platform/iphone
|