cedar 0.0.7.pre → 0.0.8.pre

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 769e6405014d915afb56b45d9791e681ad67c6ce
4
- data.tar.gz: 6f84c1bbff9fb5d86a603c649f3dcaac08f44660
3
+ metadata.gz: 7120b8c317768efd066e4936123b292c0767f237
4
+ data.tar.gz: 76e62898e4f78e2feda0dcc03abccf56e947582e
5
5
  SHA512:
6
- metadata.gz: 277347c4d700896fd00250fc34c7d934eac5486f2b614454151c7c93df07268ed22f22744b2fbb33dae58a5fbefa3af8c64ee479ae773cc17108ceaefa9186d1
7
- data.tar.gz: 3f97e5e31d8b0ad0a7f2b58c082721bbd396fd7091f9bd5f708e5a53fe2d922bf95aeb564db99e8c08e646a4ecea703beaca5c12ce30fec59c6816514053ce6d
6
+ metadata.gz: f602ad77f0e724480c710123050de0c3dd64ef9704340940f38da45648d2e905c0e17796a0feefcea40eb228f590dc7ec05f2ff43501d77303228325ddbd383f
7
+ data.tar.gz: fe4e579f06a4d01497e0d0ddaa53de382b18e116f5ca049d3d939329e12e311d7dc869d8bf2e91b8460103a0d77150bdfba9dd2c5d51a523a6c0ce3bdf607ab7
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Cedar
2
2
 
3
- TODO: Write a gem description
3
+ Installs javascript assets for Cedar integration
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,7 +20,6 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
24
23
 
25
24
  ## Contributing
26
25
 
@@ -29,3 +28,30 @@ TODO: Write usage instructions here
29
28
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
29
  4. Push to the branch (`git push origin my-new-feature`)
31
30
  5. Create a new Pull Request
31
+
32
+
33
+ ##
34
+
35
+ dev notes:
36
+ increment version.rb and Gemspec in target
37
+ rake build
38
+ gem push pkg/cedar-x.x.x.gem
39
+
40
+
41
+ misc:
42
+
43
+ https://rubygems.org/gems/cedar
44
+
45
+ curl -u your_rubygems_username https://rubygems.org/api/v1/api_key.yaml >
46
+ ~/.gem/credentials; chmod 0600 ~/.gem/credentials
47
+
48
+ gem build cedar.gemspec
49
+
50
+ gem push cedar-0.0.x.pre.gem
51
+
52
+ gem list -r --pre cedar
53
+
54
+ gem install --pre cedar
55
+
56
+ add owner:
57
+ gem owner cedar -a foo@example.com
@@ -173,7 +173,7 @@ Cedar.ContentEntry.prototype.setContent = function(json) {
173
173
  }
174
174
 
175
175
  // takes into account edit mode styling
176
- Cedar.ContentEntry.prototype.getContent = function(options){
176
+ Cedar.ContentEntry.prototype.getContent = function(){
177
177
  if (Cedar.auth.isEditMode()) {
178
178
  return this.getEditOpen(this.cedarId) + this.content + this.getEditClose();
179
179
  }
@@ -182,6 +182,12 @@ Cedar.ContentEntry.prototype.getContent = function(options){
182
182
  }
183
183
  }
184
184
 
185
+ Cedar.ContentEntry.prototype.toJSON = function(){
186
+ return {
187
+ content: this.getContent()
188
+ }
189
+ };
190
+
185
191
  // element is optional parameter
186
192
  Cedar.ContentEntry.prototype.fill = function(element) {
187
193
  if (typeof element !== 'undefined') {
@@ -194,9 +200,9 @@ Cedar.ContentEntry.prototype.fill = function(element) {
194
200
 
195
201
  // check store for content
196
202
  Cedar.ContentEntry.prototype.retrieve = function() {
197
- return Cedar.store.find(this.cedarId, this.apiGet ).done( function(json) {
198
- this.setContent(json);
199
- this.json = json;
203
+ return Cedar.store.find(this.cedarId, this.apiGet ).then(function(response) {
204
+ this.setContent(response);
205
+ return this;
200
206
  }.bind(this));
201
207
  }
202
208
 
@@ -1,3 +1,3 @@
1
1
  module Cedar
2
- VERSION = "0.0.7.pre"
2
+ VERSION = "0.0.8.pre"
3
3
  end
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cedar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.pre
4
+ version: 0.0.8.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Murdock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-09 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,7 +45,6 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".gitignore"
49
48
  - Gemfile
50
49
  - LICENSE.txt
51
50
  - README.md
@@ -58,6 +57,11 @@ files:
58
57
  - lib/assets/stylesheets/cedar.scss
59
58
  - lib/cedar.rb
60
59
  - lib/cedar/version.rb
60
+ - pkg/cedar-0.0.3.pre.gem
61
+ - pkg/cedar-0.0.4.pre.gem
62
+ - pkg/cedar-0.0.5.pre.gem
63
+ - pkg/cedar-0.0.6.pre.gem
64
+ - pkg/cedar-0.0.7.pre.gem
61
65
  homepage: http://plyinteractive.com
62
66
  licenses:
63
67
  - MIT
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log