dm-parse 0.3.4 → 0.3.5

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.md CHANGED
@@ -76,7 +76,7 @@ By this, you can use `User.authenticate(username, password)` to sign in, and use
76
76
  * ParseKey: the property for objectId, `is :parse` will define it for you.
77
77
  * ParsePointer: the pointer, you just need to give it objectId value.
78
78
  * ParseDate: the date, use it like you use DateTime.
79
- * ParseFile: the file, give it a hash contain "name" and "url", or a IO object from web form, it will be uploaded.
79
+ * ParseFile: the file, give it an IO object from web form, it will be uploaded, and it will be loaded as a URI object.
80
80
 
81
81
  ## Limits
82
82
  * Does not support many-to-many relationships.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
data/dm-parse.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dm-parse"
8
- s.version = "0.3.4"
8
+ s.version = "0.3.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Zhi-Qiang Lei"]
@@ -39,6 +39,7 @@ Gem::Specification.new do |s|
39
39
  "lib/property/parse_geo_point.rb",
40
40
  "lib/property/parse_key.rb",
41
41
  "lib/property/parse_pointer.rb",
42
+ "lib/property/text.rb",
42
43
  "spec/integration_spec.rb",
43
44
  "spec/parse_adapter_spec.rb",
44
45
  "spec/parse_date_spec.rb",
data/lib/dm-parse.rb CHANGED
@@ -4,6 +4,7 @@ require "dm-validations"
4
4
  require "active_support/all"
5
5
  require "collection"
6
6
  require "parse-ruby-client"
7
+ require "property/text"
7
8
  require "property/parse_key"
8
9
  require "property/parse_pointer"
9
10
  require "property/parse_date"
@@ -0,0 +1,9 @@
1
+ module DataMapper
2
+ class Property
3
+
4
+ class Text
5
+ lazy false
6
+ end
7
+
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-parse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -217,6 +217,7 @@ files:
217
217
  - lib/property/parse_geo_point.rb
218
218
  - lib/property/parse_key.rb
219
219
  - lib/property/parse_pointer.rb
220
+ - lib/property/text.rb
220
221
  - spec/integration_spec.rb
221
222
  - spec/parse_adapter_spec.rb
222
223
  - spec/parse_date_spec.rb
@@ -241,7 +242,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
241
242
  version: '0'
242
243
  segments:
243
244
  - 0
244
- hash: -4078631318047556530
245
+ hash: -383439337753840824
245
246
  required_rubygems_version: !ruby/object:Gem::Requirement
246
247
  none: false
247
248
  requirements: