angular-spree 0.0.2 → 0.0.3

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: 5381006d2397858b4bb65ec0c847748d713f88d5
4
- data.tar.gz: b47e84f40131a2d62baebe60700aff151aa96c28
3
+ metadata.gz: d598a6954d35f82f38aa70e4b5064895713534ed
4
+ data.tar.gz: 4b079fdb9e7a1531546e5e2bde6be458b389817c
5
5
  SHA512:
6
- metadata.gz: 49fd85d575aacd2a846e95f2f220e5562515aa008250c4cb4ffa0fb90f07e27b57a95d4ffb2bbace9ca58e6bfd2fcf6c8a7675a55769d1475ff0ba9978daba94
7
- data.tar.gz: 6e54177c0a13cf481bcf4e99ff187e1b0eaab73d48f73e4a2808dabd7b68329cb95dc7151ad1d6815e007a9fda5cc25301b52dd041ac8415c469e762a9301436
6
+ metadata.gz: 8db741a5cbcf222025200e622fa9501ca3594fd3470bdaea476153263e4ac4a7e1d954b4b39f4590eeee32d9bf841e695d2c4873af7771f47bc85137f2ba1ec8
7
+ data.tar.gz: 24539b235ce32a818324855532b50deae39c6ff6691363a531df594cc6fbc9f4af0db4c3d11dfc227c905dff57eed4d3186cdfc7ebc91301ec1d571476bbfa49
@@ -0,0 +1,112 @@
1
+ this.=(4)
2
+ this =(4)
3
+ true
4
+ true.is_a? Boolean
5
+ Spree::LineItem.all.first
6
+ li = _
7
+ li.preferences
8
+ Spree::Order.all
9
+ Spree::Order.all.last
10
+ order = _
11
+ Spree::OrderContents.all
12
+ order.item_total
13
+ order.item_total.to_f
14
+ order
15
+ order.line_items
16
+ order.line_items.option_values
17
+ order.line_items.option_type
18
+ order.line_items.option_types
19
+ order.option_types
20
+ order.option_values
21
+ Spree::Variant.find 28
22
+ variant = _
23
+ variant
24
+ variant.option_types
25
+ variant.option_values
26
+ Spree::LineItem.all
27
+ Spree::LineItem.all.last
28
+ Spree::LineItem.all.last.preferences
29
+ key_indexes
30
+ csv
31
+ load './bin/exoplanets.rb'
32
+ @exoplanets
33
+ @exoplanets_array
34
+ $exoplanets_array
35
+ $exoplanets_array.class
36
+ $exoplanets_array[0]
37
+ File
38
+ File.exist? './bin/exoplanets.json'
39
+ File.open './bin/exoplanets.json'
40
+ file = _
41
+ file.mtime
42
+ DateTime
43
+ DateTime.now
44
+ DateTime.now.yesterday
45
+ DateTime.now - 1
46
+ Time.now -1
47
+ Time.now - 1
48
+ Time.now - 2
49
+ Time.now - 40
50
+ Time.now - 86400
51
+ $data
52
+ $data.is_a? String
53
+ data = JSON.parse $data
54
+ data.is_a? Array
55
+ $rows
56
+ $rows.first
57
+ $rows.first.count
58
+ hash[$rows.first] = $rows.first
59
+ hash = {}
60
+ row_index = 0
61
+ first_row = {}
62
+ first_rwo[$columns.first] = "this"
63
+ first_row[$columns.first] = "this"
64
+ first_row
65
+ row = $rows.first
66
+ $columns
67
+ row_hash = {}
68
+ row.each { |data| data }
69
+ row.map { |data| data }
70
+ row.map_with_index { |data, index| [data, index] }
71
+ row.each_with_index { |data, index| puts [data, index] }
72
+ row.each_with_index { |data, index| [data, index] }
73
+ row
74
+ columns
75
+ $columns_indexes
76
+ $column_indexes
77
+ row.each_with_index { |data, index| hash[$column_indexes[index]] = data }
78
+ hash
79
+ exps = _
80
+ exps.to_json
81
+ Exoplanets.exoplanets
82
+ Exoplanets.table :cumulative
83
+ Exoplanets.table :q1_q16_koi
84
+ Exoplanets.all
85
+ Exoplanets.table :exoplanets
86
+ redis = Redis.new
87
+ redis.set "this", "that"
88
+ hash = { this: "that" }
89
+ hash.first
90
+ Exoplanets.all storage: :redis
91
+ Time.now
92
+ Time.now.method
93
+ Time.now.methods
94
+ Time.now.gmtime
95
+ start_time = Time.now
96
+ end_time = Time.now
97
+ end_time - start_time
98
+ exit
99
+ load './lib/exoplanets.rb'
100
+ Exoplanets.table :exoplanets, storage: :redis
101
+ File.read './../../bower.json'
102
+ file = _
103
+ file
104
+ fiel
105
+ file
106
+ file
107
+ require 'json'
108
+ JSON.parse(File.read './../../bower.json')
109
+ JSON.parse(File.read './../../bower.json')
110
+ bower = _
111
+ bower['version']
112
+ exit
@@ -1,5 +1,5 @@
1
1
  require 'json'
2
2
 
3
3
  module AngularSpree
4
- VERSION = ::JSON.parse(File.read 'bower.json')['version']
4
+ VERSION = ::JSON.parse(File.read "#{File.expand_path File.dirname(__FILE__)}/../../bower.json")['version']
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-spree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben A. Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -119,6 +119,7 @@ files:
119
119
  - README.md
120
120
  - lib/angular-spree.rb
121
121
  - lib/angular-spree/engine.rb
122
+ - lib/angular-spree/irb.log
122
123
  - lib/angular-spree/sprockets.rb
123
124
  - lib/angular-spree/version.rb
124
125
  - vendor/assets/javascripts/angular-spree.js