purchase 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +56 -111
- metadata +42 -56
data/LICENSE
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
GNU GENERAL PUBLIC LICENSE
|
2
|
-
Version 3,
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 19 November 2007
|
3
3
|
|
4
4
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
5
|
Everyone is permitted to copy and distribute verbatim copies
|
@@ -7,17 +7,15 @@
|
|
7
7
|
|
8
8
|
Preamble
|
9
9
|
|
10
|
-
The GNU General Public License is a free, copyleft license for
|
11
|
-
software and other kinds of works
|
10
|
+
The GNU Affero General Public License is a free, copyleft license for
|
11
|
+
software and other kinds of works, specifically designed to ensure
|
12
|
+
cooperation with the community in the case of network server software.
|
12
13
|
|
13
14
|
The licenses for most software and other practical works are designed
|
14
15
|
to take away your freedom to share and change the works. By contrast,
|
15
|
-
|
16
|
+
our General Public Licenses are intended to guarantee your freedom to
|
16
17
|
share and change all versions of a program--to make sure it remains free
|
17
|
-
software for all its users.
|
18
|
-
GNU General Public License for most of our software; it applies also to
|
19
|
-
any other work released this way by its authors. You can apply it to
|
20
|
-
your programs, too.
|
18
|
+
software for all its users.
|
21
19
|
|
22
20
|
When we speak of free software, we are referring to freedom, not
|
23
21
|
price. Our General Public Licenses are designed to make sure that you
|
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
|
|
26
24
|
want it, that you can change the software or use pieces of it in new
|
27
25
|
free programs, and that you know you can do these things.
|
28
26
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
that
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
products. If such problems arise substantially in other domains, we
|
58
|
-
stand ready to extend this provision to those domains in future versions
|
59
|
-
of the GPL, as needed to protect the freedom of users.
|
60
|
-
|
61
|
-
Finally, every program is threatened constantly by software patents.
|
62
|
-
States should not allow patents to restrict development and use of
|
63
|
-
software on general-purpose computers, but in those that do, we wish to
|
64
|
-
avoid the special danger that patents applied to a free program could
|
65
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
66
|
-
patents cannot be used to render the program non-free.
|
27
|
+
Developers that use our General Public Licenses protect your rights
|
28
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
29
|
+
you this License which gives you legal permission to copy, distribute
|
30
|
+
and/or modify the software.
|
31
|
+
|
32
|
+
A secondary benefit of defending all users' freedom is that
|
33
|
+
improvements made in alternate versions of the program, if they
|
34
|
+
receive widespread use, become available for other developers to
|
35
|
+
incorporate. Many developers of free software are heartened and
|
36
|
+
encouraged by the resulting cooperation. However, in the case of
|
37
|
+
software used on network servers, this result may fail to come about.
|
38
|
+
The GNU General Public License permits making a modified version and
|
39
|
+
letting the public access it on a server without ever releasing its
|
40
|
+
source code to the public.
|
41
|
+
|
42
|
+
The GNU Affero General Public License is designed specifically to
|
43
|
+
ensure that, in such cases, the modified source code becomes available
|
44
|
+
to the community. It requires the operator of a network server to
|
45
|
+
provide the source code of the modified version running there to the
|
46
|
+
users of that server. Therefore, public use of a modified version, on
|
47
|
+
a publicly accessible server, gives the public access to the source
|
48
|
+
code of the modified version.
|
49
|
+
|
50
|
+
An older license, called the Affero General Public License and
|
51
|
+
published by Affero, was designed to accomplish similar goals. This is
|
52
|
+
a different license, not a version of the Affero GPL, but Affero has
|
53
|
+
released a new version of the Affero GPL which permits relicensing under
|
54
|
+
this license.
|
67
55
|
|
68
56
|
The precise terms and conditions for copying, distribution and
|
69
57
|
modification follow.
|
@@ -72,7 +60,7 @@ modification follow.
|
|
72
60
|
|
73
61
|
0. Definitions.
|
74
62
|
|
75
|
-
"This License" refers to version 3 of the GNU General Public License.
|
63
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
76
64
|
|
77
65
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
78
66
|
works, such as semiconductor masks.
|
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
|
|
549
537
|
the Program, the only way you could satisfy both those terms and this
|
550
538
|
License would be to refrain entirely from conveying the Program.
|
551
539
|
|
552
|
-
13. Use with the GNU
|
540
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
541
|
+
|
542
|
+
Notwithstanding any other provision of this License, if you modify the
|
543
|
+
Program, your modified version must prominently offer all users
|
544
|
+
interacting with it remotely through a computer network (if your version
|
545
|
+
supports such interaction) an opportunity to receive the Corresponding
|
546
|
+
Source of your version by providing access to the Corresponding Source
|
547
|
+
from a network server at no charge, through some standard or customary
|
548
|
+
means of facilitating copying of software. This Corresponding Source
|
549
|
+
shall include the Corresponding Source for any work covered by version 3
|
550
|
+
of the GNU General Public License that is incorporated pursuant to the
|
551
|
+
following paragraph.
|
553
552
|
|
554
553
|
Notwithstanding any other provision of this License, you have
|
555
554
|
permission to link or combine any covered work with a work licensed
|
556
|
-
under version 3 of the GNU
|
555
|
+
under version 3 of the GNU General Public License into a single
|
557
556
|
combined work, and to convey the resulting work. The terms of this
|
558
557
|
License will continue to apply to the part which is the covered work,
|
559
|
-
but the
|
560
|
-
|
561
|
-
combination as such.
|
558
|
+
but the work with which it is combined will remain governed by version
|
559
|
+
3 of the GNU General Public License.
|
562
560
|
|
563
561
|
14. Revised Versions of this License.
|
564
562
|
|
565
563
|
The Free Software Foundation may publish revised and/or new versions of
|
566
|
-
the GNU General Public License from time to time. Such new versions
|
567
|
-
be similar in spirit to the present version, but may differ in detail to
|
564
|
+
the GNU Affero General Public License from time to time. Such new versions
|
565
|
+
will be similar in spirit to the present version, but may differ in detail to
|
568
566
|
address new problems or concerns.
|
569
567
|
|
570
568
|
Each version is given a distinguishing version number. If the
|
571
|
-
Program specifies that a certain numbered version of the GNU General
|
569
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
572
570
|
Public License "or any later version" applies to it, you have the
|
573
571
|
option of following the terms and conditions either of that numbered
|
574
572
|
version or of any later version published by the Free Software
|
575
573
|
Foundation. If the Program does not specify a version number of the
|
576
|
-
GNU General Public License, you may choose any version ever published
|
574
|
+
GNU Affero General Public License, you may choose any version ever published
|
577
575
|
by the Free Software Foundation.
|
578
576
|
|
579
577
|
If the Program specifies that a proxy can decide which future
|
580
|
-
versions of the GNU General Public License can be used, that proxy's
|
578
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
581
579
|
public statement of acceptance of a version permanently authorizes you
|
582
580
|
to choose that version for the Program.
|
583
581
|
|
@@ -619,56 +617,3 @@ Program, unless a warranty or assumption of liability accompanies a
|
|
619
617
|
copy of the Program in return for a fee.
|
620
618
|
|
621
619
|
END OF TERMS AND CONDITIONS
|
622
|
-
|
623
|
-
How to Apply These Terms to Your New Programs
|
624
|
-
|
625
|
-
If you develop a new program, and you want it to be of the greatest
|
626
|
-
possible use to the public, the best way to achieve this is to make it
|
627
|
-
free software which everyone can redistribute and change under these terms.
|
628
|
-
|
629
|
-
To do so, attach the following notices to the program. It is safest
|
630
|
-
to attach them to the start of each source file to most effectively
|
631
|
-
state the exclusion of warranty; and each file should have at least
|
632
|
-
the "copyright" line and a pointer to where the full notice is found.
|
633
|
-
|
634
|
-
<one line to give the program's name and a brief idea of what it does.>
|
635
|
-
Copyright (C) <year> <name of author>
|
636
|
-
|
637
|
-
This program is free software: you can redistribute it and/or modify
|
638
|
-
it under the terms of the GNU General Public License as published by
|
639
|
-
the Free Software Foundation, either version 3 of the License, or
|
640
|
-
(at your option) any later version.
|
641
|
-
|
642
|
-
This program is distributed in the hope that it will be useful,
|
643
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
644
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
645
|
-
GNU General Public License for more details.
|
646
|
-
|
647
|
-
You should have received a copy of the GNU General Public License
|
648
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
649
|
-
|
650
|
-
Also add information on how to contact you by electronic and paper mail.
|
651
|
-
|
652
|
-
If the program does terminal interaction, make it output a short
|
653
|
-
notice like this when it starts in an interactive mode:
|
654
|
-
|
655
|
-
<program> Copyright (C) <year> <name of author>
|
656
|
-
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
657
|
-
This is free software, and you are welcome to redistribute it
|
658
|
-
under certain conditions; type `show c' for details.
|
659
|
-
|
660
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
661
|
-
parts of the General Public License. Of course, your program's commands
|
662
|
-
might be different; for a GUI interface, you would use an "about box".
|
663
|
-
|
664
|
-
You should also get your employer (if you work as a programmer) or school,
|
665
|
-
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
666
|
-
For more information on this, and how to apply and follow the GNU GPL, see
|
667
|
-
<http://www.gnu.org/licenses/>.
|
668
|
-
|
669
|
-
The GNU General Public License does not permit incorporating your program
|
670
|
-
into proprietary programs. If your program is a subroutine library, you
|
671
|
-
may consider it more useful to permit linking proprietary applications with
|
672
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
673
|
-
Public License instead of this License. But first, please read
|
674
|
-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purchase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 25
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 1
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
8
|
+
- 8
|
9
|
+
version: 1.0.8
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Andy Rossmeissl
|
@@ -19,109 +18,100 @@ autorequire:
|
|
19
18
|
bindir: bin
|
20
19
|
cert_chain: []
|
21
20
|
|
22
|
-
date: 2010-10-
|
21
|
+
date: 2010-10-19 00:00:00 -04:00
|
23
22
|
default_executable:
|
24
23
|
dependencies:
|
25
24
|
- !ruby/object:Gem::Dependency
|
26
|
-
type: :development
|
27
|
-
prerelease: false
|
28
25
|
name: activerecord
|
29
|
-
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
30
27
|
none: false
|
31
28
|
requirements:
|
32
29
|
- - ~>
|
33
30
|
- !ruby/object:Gem::Version
|
34
|
-
hash: 7
|
35
31
|
segments:
|
36
32
|
- 3
|
37
33
|
- 0
|
38
34
|
- 0
|
39
35
|
version: 3.0.0
|
40
|
-
requirement: *id001
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
36
|
type: :development
|
43
37
|
prerelease: false
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
44
40
|
name: bundler
|
45
|
-
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
46
42
|
none: false
|
47
43
|
requirements:
|
48
44
|
- - ~>
|
49
45
|
- !ruby/object:Gem::Version
|
50
|
-
hash: 23
|
51
46
|
segments:
|
52
47
|
- 1
|
53
48
|
- 0
|
54
49
|
- 0
|
55
50
|
version: 1.0.0
|
56
|
-
requirement: *id002
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
51
|
type: :development
|
59
52
|
prerelease: false
|
53
|
+
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
60
55
|
name: cucumber
|
61
|
-
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
62
57
|
none: false
|
63
58
|
requirements:
|
64
59
|
- - ">="
|
65
60
|
- !ruby/object:Gem::Version
|
66
|
-
hash: 3
|
67
61
|
segments:
|
68
62
|
- 0
|
69
63
|
version: "0"
|
70
|
-
requirement: *id003
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
74
68
|
name: jeweler
|
75
|
-
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
76
70
|
none: false
|
77
71
|
requirements:
|
78
72
|
- - ~>
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
hash: 7
|
81
74
|
segments:
|
82
75
|
- 1
|
83
76
|
- 4
|
84
77
|
- 0
|
85
78
|
version: 1.4.0
|
86
|
-
requirement: *id004
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
79
|
type: :development
|
89
80
|
prerelease: false
|
81
|
+
version_requirements: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
90
83
|
name: rake
|
91
|
-
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
92
85
|
none: false
|
93
86
|
requirements:
|
94
87
|
- - ">="
|
95
88
|
- !ruby/object:Gem::Version
|
96
|
-
hash: 3
|
97
89
|
segments:
|
98
90
|
- 0
|
99
91
|
version: "0"
|
100
|
-
requirement: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
92
|
type: :development
|
103
93
|
prerelease: false
|
94
|
+
version_requirements: *id005
|
95
|
+
- !ruby/object:Gem::Dependency
|
104
96
|
name: rdoc
|
105
|
-
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
106
98
|
none: false
|
107
99
|
requirements:
|
108
100
|
- - ">="
|
109
101
|
- !ruby/object:Gem::Version
|
110
|
-
hash: 3
|
111
102
|
segments:
|
112
103
|
- 0
|
113
104
|
version: "0"
|
114
|
-
requirement: *id006
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
105
|
type: :development
|
117
106
|
prerelease: false
|
107
|
+
version_requirements: *id006
|
108
|
+
- !ruby/object:Gem::Dependency
|
118
109
|
name: rspec
|
119
|
-
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
120
111
|
none: false
|
121
112
|
requirements:
|
122
113
|
- - ~>
|
123
114
|
- !ruby/object:Gem::Version
|
124
|
-
hash: 62196417
|
125
115
|
segments:
|
126
116
|
- 2
|
127
117
|
- 0
|
@@ -129,87 +119,84 @@ dependencies:
|
|
129
119
|
- beta
|
130
120
|
- 17
|
131
121
|
version: 2.0.0.beta.17
|
132
|
-
requirement: *id007
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
122
|
type: :development
|
135
123
|
prerelease: false
|
124
|
+
version_requirements: *id007
|
125
|
+
- !ruby/object:Gem::Dependency
|
136
126
|
name: sniff
|
137
|
-
|
127
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
138
128
|
none: false
|
139
129
|
requirements:
|
140
130
|
- - ~>
|
141
131
|
- !ruby/object:Gem::Version
|
142
|
-
hash: 59
|
143
132
|
segments:
|
144
133
|
- 0
|
145
134
|
- 1
|
146
135
|
- 16
|
147
136
|
version: 0.1.16
|
148
|
-
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
type: :runtime
|
137
|
+
type: :development
|
151
138
|
prerelease: false
|
139
|
+
version_requirements: *id008
|
140
|
+
- !ruby/object:Gem::Dependency
|
152
141
|
name: earth
|
153
|
-
|
142
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
154
143
|
none: false
|
155
144
|
requirements:
|
156
145
|
- - ~>
|
157
146
|
- !ruby/object:Gem::Version
|
158
|
-
hash: 31
|
159
147
|
segments:
|
160
148
|
- 0
|
161
149
|
- 2
|
162
150
|
- 4
|
163
151
|
version: 0.2.4
|
164
|
-
requirement: *id009
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
152
|
type: :runtime
|
167
153
|
prerelease: false
|
154
|
+
version_requirements: *id009
|
155
|
+
- !ruby/object:Gem::Dependency
|
168
156
|
name: emitter
|
169
|
-
|
157
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
170
158
|
none: false
|
171
159
|
requirements:
|
172
160
|
- - ~>
|
173
161
|
- !ruby/object:Gem::Version
|
174
|
-
hash: 19
|
175
162
|
segments:
|
176
163
|
- 0
|
177
164
|
- 1
|
178
165
|
- 4
|
179
166
|
version: 0.1.4
|
180
|
-
requirement: *id010
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
167
|
type: :runtime
|
183
168
|
prerelease: false
|
169
|
+
version_requirements: *id010
|
170
|
+
- !ruby/object:Gem::Dependency
|
184
171
|
name: fastercsv
|
185
|
-
|
172
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
186
173
|
none: false
|
187
174
|
requirements:
|
188
175
|
- - ~>
|
189
176
|
- !ruby/object:Gem::Version
|
190
|
-
hash: 5
|
191
177
|
segments:
|
192
178
|
- 1
|
193
179
|
- 5
|
194
180
|
- 3
|
195
181
|
version: 1.5.3
|
196
|
-
requirement: *id011
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
182
|
type: :runtime
|
199
183
|
prerelease: false
|
184
|
+
version_requirements: *id011
|
185
|
+
- !ruby/object:Gem::Dependency
|
200
186
|
name: slither
|
201
|
-
|
187
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
202
188
|
none: false
|
203
189
|
requirements:
|
204
190
|
- - ~>
|
205
191
|
- !ruby/object:Gem::Version
|
206
|
-
hash: 405
|
207
192
|
segments:
|
208
193
|
- 0
|
209
194
|
- 99
|
210
195
|
- 3
|
211
196
|
version: 0.99.3
|
212
|
-
|
197
|
+
type: :runtime
|
198
|
+
prerelease: false
|
199
|
+
version_requirements: *id012
|
213
200
|
description: A software model in Ruby for the greenhouse gas emissions of a purchase
|
214
201
|
email: seamus@brighterplanet.com
|
215
202
|
executables: []
|
@@ -252,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
239
|
requirements:
|
253
240
|
- - ">="
|
254
241
|
- !ruby/object:Gem::Version
|
255
|
-
hash:
|
242
|
+
hash: 4259412542954819564
|
256
243
|
segments:
|
257
244
|
- 0
|
258
245
|
version: "0"
|
@@ -261,7 +248,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
248
|
requirements:
|
262
249
|
- - ">="
|
263
250
|
- !ruby/object:Gem::Version
|
264
|
-
hash: 3
|
265
251
|
segments:
|
266
252
|
- 0
|
267
253
|
version: "0"
|